Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change name of "home" link


  • Gustav820
    Member

    @gustav820

    Hi!

    Where can I change the name of the “home” link in the upperleft?

    Right now its:

    Home > Forum >

    I would like to rename “home” to something else.

    Thanks alot!

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

  • jczerwonka
    Member

    @jczerwonka

    @Gustav820

    If you have a page set up as your front page in WordPress Settings->Reading, bbPress will use the title of that page.

    If no front page is specified, then bbPress will use the default of ‘Home’, but you change this by modifying your translation. You can do this by including the following code in your functions.php:

    add_filter( 'gettext', 'my_translations', 10, 3 );

    function my_translations( $translation, $text, $domain ) {
    if( 'Home' == $text )
    $translation = $translations->translate( 'My Homepage' );
    }

    I hope this helps.

    John


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    You can also do it within a custom theme. The breadcrumb accepts custom parameters for both the home URL and text.

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

You must be logged in to reply to this topic.