Info
- 3 posts
- 3 voices
- Started 9 months ago by Gustav820
- Latest reply from John James Jacoby
- This topic is not resolved
Change name of "home" link
-
- Posted 9 months ago #
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!
-
- Posted 9 months ago #
@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
-
- Posted 9 months ago #
You can also do it within a custom theme. The breadcrumb accepts custom parameters for both the home URL and text.
-
You must log in to post.