Skip to:
Content
Pages
Categories
Search
Top
Bottom

Renaming bp nav menus


  • drdave17
    Member

    @drdave17

    I’ve heard that I can rename my bp nav menus i.e. BLOGS to SITES but when I try in wp-config or bp-custom.php nothing happends

    For wp-config I use just above the stop editing line
    define( ‘BP_BLOGS_SLUG’, ‘SITES’ );

    And in bp-custom I tried (with brackets of course).

    ?php

    define( ‘BP_AVATAR_DEFAULT’, ‘http://mysite.com/wp-content/uploads/2010/10/user-150.jpg’ );
    define( ‘BP_BLOGS_SLUG’, ‘SITES’ );

    ?

    Neither one changed anything.

    Any help appreciated.

    Thanks
    Dave

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

  • Boone Gorges
    Keymaster

    @boonebgorges

    Defining BP_BLOGS_SLUG will only change the slug used to create URLs. If you want to change the actual text on the page (like in the nav menus) you’ll have to create a custom language file: https://codex.buddypress.org/buddypress-site-administration/customizing-labels-messages-and-urls/


    drdave17
    Member

    @drdave17

    Great! Thanks for quick reply. Hopefully changing the text won’t affect the original slug url correct?


    Boone Gorges
    Keymaster

    @boonebgorges

    Right. Slugs and URLs are handled in a totally separate manner from the text that’s rendered as HTML.


    drdave17
    Member

    @drdave17

    Great thanks again


    drdave17
    Member

    @drdave17

    I’ve already exhausted all my changes using poedit for the text blog to sites but the main nav BLOG still remains.

    All the necessary .po and .pot files are in place and they are working fine for all my text changes.

    This must be hard-wired and maybe a hack solution is my guess.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Renaming bp nav menus’ is closed to new replies.
Skip to toolbar