Support Forum

Removing breadcrumbs

SB Steve Bellamy
Steve Bellamy
Member

I have a very simple forum on my website and would like to remove the breadcrumbs displayed at the top.

As I only have one forum in one group there is no need to display “Home”, or “Forum”. A simple link to return to the main forum page would suffice.

You can see my forum here:

www.drivingroute66.com

 

Can anyone help?

5 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

I would suggest removing them totally. To do this you need to make a small change to one of forum templates. In this case the template spHead.php which can be found in the /templates folder of the SP theme you are using. You can edit this with our theme editor admin panel.

Find the display function that displays the breadcrumbs. This is called sp_BreadCrumbs().

Simply remove the line for that function -= or comment it out (put a hash – # – at the start of the line of code.

Of course – as always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/). This only takes a few minutes…

SB Steve Bellamy
Steve Bellamy
Member

Thanks for that – it works a treat. The only problem now is that because I’ve removed it completely there’s no way of returning back to the forum from browsing a thread. Is there a work-around?

SB Steve Bellamy
Steve Bellamy
Member

Removing the “&tree” makes it look a little prettier at least but still no need to display a link to the home page or the forum page. 

*The same can be achieved by just changing a 0 to a 1*

BR Brandon
Brandon
Member

You may just want to get rid of the Group View.

Try going to Forum Admin > Options – General Display Settings and turn on Skip Group View on Single Forum Sites.

Then adjust you breadcrumbs accordingly.

MP Mr Papa
Mr Papa
Member

or if Brandon’s still doesnt get you happy, you can always just insert the link to the home page yourself…  where you deleted the breadcrumb template function, just manually output the link…  you can output anything just about anywhere you want in the theme template files…