300+
December 30, 2025
November 18, 2014
Breadcrumbs are often generated from Page structure, but in a world of Custom Post Types that doesn’t always work. Menu Breadcrumb uses your WordPress Menu to generate a breadcrumb trail based on the current page.
menu-breadcrumb.zip and extractmenu-breadcrumb folder to the /wp-content/plugins/ directory<?php if ( function_exists( 'menu_breadcrumb') ) { menu_breadcrumb( 'my-menu-id' ); } ?> in your templates where you want the breadcrumb to appearAdd the following to your theme template where you would like to output the breadcrumb:
<?php
if ( function_exists( 'menu_breadcrumb') ) {
menu_breadcrumb(
'main', // Menu Location to use for breadcrumb
' » ', // separator between each breadcrumb
'<p class="menu-breadcrumb">', // output before the breadcrumb
'</p>' // output after the breadcrumb
);
}
?>
Of course! https://github.com/jchristopher/menu-breadcrumb
menu_breadcrumb_level property to each breadcrumb object