Beschrijving
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.
Installatie
- Download
menu-breadcrumb.zip
and extract - Upload the
menu-breadcrumb
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
<?php if ( function_exists( 'menu_breadcrumb') ) { menu_breadcrumb( 'my-menu-id' ); } ?>
in your templates where you want the breadcrumb to appear
FAQ
-
Add 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 ); } ?>
-
More documentation?
-
Can I contribute?
Beoordelingen
Bijdragers & ontwikkelaars
“Menu Breadcrumb” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Menu Breadcrumb” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.0.2
- Added a
menu_breadcrumb_level
property to each breadcrumb object
1.0.1
- Fixed an issue where the Menu wasn’t properly retrieved from the location
1.0.0
- Initial release