Show all category & tags as breadcrumb in Genesis
Updated On May 23, 2015 August 19, 2012 -Written ByGenesis framework is great but it does lack support for showing advanced type of breadcrumbs that includes categories and tags. However, there are few workarounds to overcome this limitation.
1. If you do not like playing around with codes, then you can use Breadcrumb NavXT plugin for more control on type of stuff to be displayed in breadcrumbs. This free plugin has seamless integration with Genesis frameworks and child themes.
2. Manual method involve using Post Meta (that show tags and categories) and make it look like breadcrumb trail. First you need to disable default breadcrumb for “posts” in Genesis settings. Then use following code in functions.php file.
[cc lang=”php”]
/* Show Tags & Categories as breadcrumbs – www.basicwp.com */
add_filter( ‘genesis_post_meta’, ‘dmp_post_meta_filter’ );
function dmp_post_meta_filter($post_meta) {
if (!is_page()) {
$post_meta = ‘[post_categories sep=” /” before=”Homepage / “] [post_tags sep=” /” before=”/ “]’;
return $post_meta;
} }
[/cc]
Above make sure you replace homepage basicwp.com url with your own website or blog url.
This will show all categories and tags associated with specific post followed by home link. As seen in screenshot: “Business” is category while “Company”, “Corporate”, “Light” are tags. [Screenshot Courtesy: ThemeSauce]
Hey i think this is not a breadcrumb, rather, just a post info with some customization