6 years, 1 month ago
I want to change some of the titles in the navigation bar in Buddypress and I am not being successful.
I have checked the Buddypress Codex and used the method suggested there.
I created a bp-custom.php file in the wp-content/plugins folder for my site and added the following code
define ( ‘BP_ACTIVITY_SLUG’, ‘Activity’ );
define ( ‘BP_BLOGS_SLUG’, ‘News’ );
define ( ‘BP_MEMBERS_SLUG’, ‘Members’ );
define ( ‘BP_FRIENDS_SLUG’, ‘Friends’ );
define ( ‘BP_GROUPS_SLUG’, ‘Marketplace’ );
define ( ‘BP_MESSAGES_SLUG’, ‘notes’ );
define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );
define ( ‘BP_XPROFILE_SLUG’, ‘info’ );
…but the titles in the navigation bar did not change. ( n.b. I added PHP tags for the code in the bp-custom.php file)
I searched through the forums and placed the definitions in the wp-config.php file as this seemed to work for some.
Still no change with the titles in the navigation bar.
I have tried in Chrome and Firefox after flushing the cache just in case but no change.
Kind of stumped so if anyone has any thoughts these would be gratefully received.
Got the changes I needed via header.php so I am sorted. No idea why the codex method did not work, maybe just a matter of an update needed?
The define codes only change the URL not the title in the tabs.
Thank you for the correction Modernlooper. I am leanring
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service