このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Menu Breadcrumb

説明

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.

View on GitHub!

インストール

  1. Download menu-breadcrumb.zip and extract
  2. Upload the menu-breadcrumb folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Place <?php if ( function_exists( 'menu_breadcrumb') ) { menu_breadcrumb( 'my-menu-id' ); } ?> in your templates where you want the breadcrumb to appear

FAQ

How do I output a breadcrumb trail?

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
            ' &raquo; ',                        // separator between each breadcrumb
            '<p class="menu-breadcrumb">',      // output before the breadcrumb
            '</p>'                              // output after the breadcrumb
        );
    }
?>

More documentation?

Of course! https://github.com/jchristopher/menu-breadcrumb

Can I contribute?

Of course! https://github.com/jchristopher/menu-breadcrumb

評価

2016年9月3日
As I see, it works with WP 4.2.2. The Theme is being developed, so i could not find any bugs so far.
2件のレビューをすべて表示

貢献者と開発者

Menu Breadcrumb はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Menu Breadcrumb” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

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