@MrMaz
First of all, let me say that I really like your plugin! Great job!
I would like to do what @Jon mentioned as well. I searched everywhere but couldn’t find it. How do you change the title in the Buddypress navigation section? I would like to change the title from “Links” to “Links Directory”
Here is how you change the slug (in the browser address bar)
Add this to your functions or bp-custom.php file.
if ( !defined( ‘BP_LINKS_SLUG’ ) )
define( ‘BP_LINKS_SLUG’, ‘links’ );
//Changes links to what ever you like.
You can use the language files to change any word/phrase in the plugin.
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/tutorial-how-to-edit-or-translate-words-in-buddypress/
my bp-custom.php contains what is shown above
if ( !defined( ‘BP_LINKS_SLUG’ ) )
define( ‘BP_LINKS_SLUG’, ‘Lists’ );
I am still having troubles though as “Links” still shows up in the nav bar, Any ideas?
Thanks!
found my answer….ended up not doing the above….in the file buddypress-links/bp-links-dtheme.php
Find:
$selected = ( bp_is_page( BP_LINKS_SLUG ) ) ? ‘ class=”selected”‘ : ”;
$title = __( ‘Links’, ‘buddypress-links’ )
Change ‘Links’ to desired
