A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
general-topic
Removing/Changing 'Home' Breadcrumb
Avatar
Stan Dahl

75 Posts
(Offline)
1
May 10, 2014 - 12:00 pm
Print

Is it possible to remove the ‘Home’ breadcrumb or change the link?

Our site has a ‘Coming Soon’ message on the main URL and there’s no link to the forum on that home page.

I’d rather not have that Home button or link it to the Forum home page.

Can that be done?

Thanks.

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
2
May 10, 2014 - 12:02 pm
Print

see:  http://codex.simple-press.com/…..eadcrumbs/

third example shows how to remove home link…

Avatar
Stan Dahl

75 Posts
(Offline)
3
May 10, 2014 - 12:23 pm
Print

Thanks.

Would I add that code to the file located: simple-press/forum/content/sp-common-view-functions.php ?

I’m not a code guy and it’s not real clear.

 

Thanks

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
4
May 10, 2014 - 12:55 pm
Print

No you have to make the changes in your sp theme you are using…  as always, we recommend you make your theme vice editing one of ours to keep from losing changes (this will get easier in 5.5. with child themes)… see:  http://codex.simple-press.com/…..g-a-theme/

then you edit the spHead.php template file in your theme… find the use of template function sp_BreadCrumbs() and change the arguments to match the example in the codex.. ie:

sp_BreadCrumbs(‘tagClass=spLeft spBreadCrumbs&tree=1’);

sp_Check
This post answers the topic
Avatar
Stan Dahl

75 Posts
(Offline)
5
May 11, 2014 - 8:13 am
Print

That did the trick.

Thanks for the help!

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
6
May 11, 2014 - 9:24 am
Print

your are welcome.  glad to help.

Avatar
Christopher Paris
47 Posts
(Offline)
7
Jul 10, 2015 - 4:29 pm
Print

Link originally provided to the solution is dead now… can someone post an updated link?

Thanks.

Avatar
Ike
Sawtry, UK
2086 Posts
(Offline)
8
Jul 10, 2015 - 4:50 pm
Print

Hey Christopher,

Here is the link to Creating a Child Theme

As for the ‘solution’, are you looking to also remove the home link?

If so, take a look at the arguments for sp_BreadCrumbs

Further down the page you will have examples of how to change the breadcrumb behaviour including removing / changing the home link.

FYI, the Codex used to be it’s own entity but has been merged within this site. You can still access it from the menu in the right sidebar “Codex Pages” and also the search directly underneath that.

The following users say thank you to Ike for this useful post:

Christopher Paris
Avatar
Christopher Paris
47 Posts
(Offline)
9
Jul 10, 2015 - 6:43 pm
Print

That’s what I needed, thanks. 

Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
10
Jul 10, 2015 - 8:38 pm
Print

glad we could help!

Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
James Smith
Martin Brothers
Arti Singh
Abdulaziz alghthbar
Tim Castillo
Kaspalita Thompson
Martin Kolář
Forum Stats:
Groups: 7
Forums: 17
Topics: 10059
Posts: 79348

 

Member Stats:
Guest Posters: 607
Members: 16900
Moderators: 0
Admins: 3

Most Users Ever Online
499
Currently Online
Guest(s)
23
Currently Browsing this Page

1 Guest(s)