-
Author
-
September 27, 2013 at 05:41 #3415D3NEParticipant
Hi, before everything, this is not working for me:
https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image
Did anything changed on the new update?, how do I do to translate, add, and modify the tabs that are shown on the profile of the users?…
Thanks.
September 27, 2013 at 10:14 #3421SQadminKeymasterHi,
Regarding that section, nothing has changed in the last update.
If you add the code just like in the example it should work. You need to change the name to match your fields group name from ‘name’ => __(‘Social’, ‘kleo_framework’) to ‘name’ => __(‘My group name’, ‘kleo_framework’)Paste your added code if you can’t figure it out.
Also you need to have the sweetdate-child theme activated.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 30, 2013 at 03:18 #3553SQadminKeymasterHi, You should have followed the topic and add the code just like there:
COPY CODEadd_action('after_setup_theme','kleo_my_actions'); function kleo_my_actions() { global $bp_tabs; $bp_tabs['looking-for'] = array( 'type' => 'cite', 'name' => apply_filters('kleo_extra_tab1', __('Looking for', 'kleo_framework')), 'group' => apply_filters('kleo_extra_tab1', 'Looking for'), 'class' => 'citetab' ); $bp_tabs['base'] = array( 'type' => 'regular', 'name' => apply_filters('kleo_extra_tab2',__('About me', 'kleo_framework')), 'group' => 'Base', 'class' => 'regulartab' ); /* Bp-Album tab - only if plugin installed */ $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); }
You should edit the name attribute (ex: ‘name’ => __(‘My photos’, ‘kleo_framework’),) to match yours
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 1, 2013 at 07:27 #3638D3NEParticipantSorry I think I’m just not getting it… I keep receiving the error that I pointed before.
October 1, 2013 at 18:53 #3657D3NEParticipantDo I need to install bp-album or rtmedia?, the photos are showing ok to me… should I do that?
October 1, 2013 at 23:26 #3674SQadminKeymasterbp-album is included with the theme. you can install rtMedia if you want.
Please paste here the code you added to your functions.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.