Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Breadcrumbs in Genesis Nav Extras (really, really Q&D Hack)
//* Do NOT include the opening php tag
// Discussion on LinkedIn:
//* 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;

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

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