Support Forum

Changing forum HOME button link?

KB Kelly Brady
Kelly Brady
Member

Hello – I would like to change the HOME button in the forum breadcrumbs to point to the forum top page, not the site home page (i.e. would like HOME to link to website.com/forum instead of website.com). I can’t find anywhere that can be set, so I’m guessing it will require an edit to the code, or perhaps the theme?

I am using the Reboot theme.

Thanks!

Kelly

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

You can achieve the same thing by not displaying the actual ‘home’ part of the breadcrumbs. To do that you need to edit the ‘spHead’ template – note there is both a desktop and a mobile version.

The default call for this is:

sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=0&icon=&homeIcon=sp_CrumbsHome.png&truncate=35', __sp('Home'));

If you remove that ‘Home’ label at the end it will be enough tio remove the Home portion. As in:

sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=0&icon=&homeIcon=sp_CrumbsHome.png&truncate=35', __sp(''));

Of course, you really need to use a child theme to save losing your changes in an update. You can download, free from our store, the Reboot child theme framework; rename it and copy the required two templates into that for where you make the changes.

See https://simple-press.com/documentation/codex/themes/theme-basics/creating-a-child-theme/ for full details on making and using a child theme

KB Kelly Brady
Kelly Brady
Member

Belated thanks!  I am already using a child theme so this will be easy.  Thanks again!

Kelly