Breadcrumbs Display: Customize?

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Tue May 20, 2014 7:46 am
How can we get Breadcrumbs to display just the Category and Postname and omit the site name?

Right now the setting is: "!is_home()" which displays:

Sitename > Category > Postname

I would like to output the following:

Category > Postname

Suggestions?
User avatar
Junior Boarder

GK User
Tue May 20, 2014 7:38 pm
Hi,

It's possible, but you'll have to edit some php code, please open Creativity/gavern/helpers/helpers.layout.php file, find gk_breadcrumbs_output function and comment out or remove this line:

Code: Select all
$output .= '<a href="' . home_url() . '" class="gk-home">' . apply_filters('gavern_breadcrumb_home', get_bloginfo('name')) . "</a>";
User avatar
Moderator

GK User
Mon Jun 02, 2014 4:29 pm
Solved!

Thank you!

Worked Perfect.

Commented out the entire line:

// $output .= '<a href="' . home_url() . '" class="gk-home">' . apply_filters('gavern_breadcrumb_home', get_bloginfo('name')) . "</a>";


Note the "//" before "$output ...."
User avatar
Junior Boarder


cron