Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I change the “link” name Album, to “Pictures” ?

  • Is there a way to change the links name from Album to Pictures? I’m not talking about the slug but that actual navigational link.

    Also, is there a way to make it appear next to the profile link, instead of all the way to the right?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of foxly
    foxly
    Participant

    @foxly

    @truelux

    Just change the “slug” from “Album” to “Pictures” on the BP-Album+ admin screen.

    ^C^

    I did change as indicated… the slug changes but the link from the profile tab stays at “Album”… is there another place it needs to be changed?

    Jeff

    I did change as indicated… the slug changes but the link from the profile tab stays at “Album”… is there another place it needs to be changed?

    Jeff

    Avatar of foxly
    foxly
    Participant

    @foxly

    @agent314

    There are two ways to do this, depending on your level of skill.

    1) Create a custom translation file for BP-Album. You can learn more about doing that here. You’ll want to use “bp-album” as your translation text domain.

    2) Add a filter to the bp_album_nav_item_name hook function to change “Album” to “Whatever”. You do this by editing your theme’s functions.php file and adding the following code:

    `
    add_filter( ‘bp_album_nav_item_name ‘, ‘Whatever Name You Want’ );
    `

    Thanks!

    ^F^

    Hi @foxly I added:

    add_filter( ‘bp_album_nav_item_name ‘, ‘My photos’ );

    to function.php of the default bp theme but it still displays “Album”

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

You must be logged in to reply to this topic.