Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Breadcrumbs in Genesis Nav Extras (really, really Q&D Hack)
<?php
//* Do NOT include the opening php tag
// Discussion on LinkedIn: http://j.mp/1y5Mrgi
//* Modify breadcrumb arguments.
add_filter( 'genesis_breadcrumb_args', 'jsc_breadcrumb_args' );
function jsc_breadcrumb_args( $args ) {
$args['sep'] = ' / ';
$args['prefix'] = '</ul><div class="breadcrumb">'; // the </ul> closes the navigation list
$args['suffix'] = '</div>';
return $args;
}
@schilke

This comment has been minimized.

Copy link
Owner Author

@schilke schilke commented Dec 1, 2014

Has been discussed here: "Any idea on how to add breadcrumbs to the Genesis Navigation without using a plugin?" / Wordpress Experts / LinkedIn http://j.mp/1y5Mrgi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment