Help need with breadcrumbs

January 2013 WordPress Theme
GK User
Tue Mar 26, 2013 7:08 am
Hi,

The first link in breadcrumb appear as the name of the site, I want to change it to "HOME". How can it be done?

Also, in categories which are top category, when the breadcrumbs do not appear properly. For eg: There is a Top category A, which has under it two categories B and C. And when one opens Category A one sees two aticles from B and C respectively. Now breadcrumbs appear as - SiteName - Category B or C [whichever article is appearing first] Ideally it should be - Category A in breadcrumb, and not the other two.

Thanks in advance.
User avatar
Senior Boarder

GK User
Tue Mar 26, 2013 10:33 am
Hi,

If you want to change the name of the site, you should open file helpers.layout.php and change lines:

Code: Select all
// return the Home link
echo '<a href="' . home_url() . '" class="gk-home">' . get_bloginfo('name') . "</a>";


and:

Code: Select all
// output the home link only
echo '<a href="' . home_url() . '" class="gk-home">' . get_bloginfo('name') . "</a>";


of course you have to replace the fragment with get_bloginfo('name') to your own value ;)

Regarding your second question - could you provide me some live examples?
User avatar
Administrator

GK User
Tue Mar 26, 2013 12:18 pm
I don't want to provide screenshots of my website here. If you have any support email id then I can mail it at that, alternatively I can send you a mail to. I don't have any of the email ids, so please share them with me. Either you can share here, or send me a test mail on the email id with which I am registered.
User avatar
Senior Boarder

GK User
Tue Mar 26, 2013 2:32 pm
For the non-public data you can use the PM messages on this forum.
User avatar
Administrator


cron