Howdy!
How can I change the “Home” link under the search bar to point to the link of my choosing?
Screenshot ==>
http://videohero.com/members/wp-content/uploads/2013/03/Screen-Shot-2013-03-06-at-4.48.18-PM.png
Thanks!
Howdy!
How can I change the “Home” link under the search bar to point to the link of my choosing?
Screenshot ==>
http://videohero.com/members/wp-content/uploads/2013/03/Screen-Shot-2013-03-06-at-4.48.18-PM.png
Thanks!
You need to edit the theme template. In this case the spHead.php template in the .templates folder of the SP theme you are using. You can change this with a new argument to the display function and you can edit it via the template editor.
Find the function in the template called sp_BreadCrumbs() – nearer the bottom than the top. By default it will probably look something like:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1', __sp('Home'));
You need to add a new argument ‘homeLink’ that that function call so it will look like:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1&homeLink=http://yoursite-url', __sp('Home'));
Note carefully the capitalisation, the ampersand etc. Note also that the label ‘Home’ can be changed to whatevr you want. For a full list of available arguments you can visit the Codex here: http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/common-view/
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/)