Skip to:
Content
Pages
Categories
Search
Top
Bottom

Edit Link Title

  • Avatar of Jon
    Jon
    Participant

    @jonniem

    I would like to edit the link title that shows in the browser. I would appreciate help to which file to edit. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @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”

    Avatar of Geet Jacobs
    Geet Jacobs
    Participant

    @geetjacobs

    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.

    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/tutorial-how-to-edit-or-translate-words-in-buddypress/

    Avatar of brentcee234
    brentcee234
    Participant

    @brentcee234

    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!

    Avatar of brentcee234
    brentcee234
    Participant

    @brentcee234

    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

    :)

    Nice work. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.