-
Author
-
January 2, 2015 at 21:27 #40904lovewpParticipant
How can I rename the default Buddypress labels? Example: “Forums” to “Discussions”
Thank you.
January 5, 2015 at 12:56 #41011AbeKeymasterHi, that is related to BuddyPress so you need to change those labels from the plugin. Try to search related resources, for example: http://blog.maximusbusiness.com/2013/04/bp-profile-nav-positions-names/#change-subnav-tab
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.March 21, 2015 at 08:08 #510245high-photohubParticipantHi Abe,
That’s a great article that you shared the above link for, but i see that his code is a bit different to some recent code i was recommended for these sorts of edits in Buddypress.
In the code i used to reorganise my profile tabs i have:
COPY CODEdefine('BP_DEFAULT_COMPONENT', 'profile' ); function bbg_change_profile_tab_order() { global $bp; $bp->bp_nav['profile']['position'] = 10; $bp->bp_nav['groups']['position'] = 30; $bp->bp_nav['activity']['position'] = 40; $bp->bp_nav['messages']['position'] = 50; $bp->bp_nav['notifications']['position'] = 60; } add_action( 'bp_setup_nav', 'bbg_change_profile_tab_order', 999 );
whereas his code is this:
COPY CODEfunction mb_profile_menu_tabs(){ global $bp; $bp->bp_nav['activity']['position'] = 15; $bp->bp_nav['messages']['position'] = 10; $bp->bp_nav['messages']['name'] = 'Mail'; $bp->bp_nav['friends']['name'] = 'Contacts'; $bp->bp_nav['profile']['name'] = 'Account'; } add_action('bp_setup_nav', 'mb_profile_menu_tabs', 201);
I suspect that some of this is now out of date due to the recent update to BuddyPress.
Could you confirm what the correct code is for:
1. reordering the BP profile tabs?
2. renaming the BP profile tabs?
3. renaming the BP sub-menu profile tabs?Hope you can help, as it just seems an endless cycle of searching for this info with very little concrete answers available out there! if not, i understand – just if it’s at your fingertips, that would be great!
many thanks.
March 23, 2015 at 16:41 #51182AbeKeymasterYep those code should work from the link I posted. They take care of renaming and position. for renaming you can also try translating Buddypress, even though you are using English you are translating the strings into English 🙂 tricky
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.March 24, 2015 at 02:10 #512985high-photohubParticipantHi Abe,
Thanks – I took the plunge and have gone down the route of editing the buddypress.po files. I’ve posted the whole process in this other thread for anyone else who’s looking for this: https://archived.seventhqueen.com/forums/topic/edit-text-in-profile-photo-upload-area#post-51297 . hope it helps?
Cheers,
jMarch 26, 2015 at 15:59 #51632AbeKeymasterCool. thanks
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.