Title: Menu Breadcrumb
Author: Jon Christopher
Published: <strong>2014 年 11 月 18 日</strong>
Last modified: 2025 年 12 月 30 日

---

搜索插件

![](https://ps.w.org/menu-breadcrumb/assets/banner-772x250.png?rev=3429704)

![](https://ps.w.org/menu-breadcrumb/assets/icon-256x256.png?rev=3429704)

# Menu Breadcrumb

 作者：[Jon Christopher](https://profiles.wordpress.org/jchristopher/)

[下载](https://downloads.wordpress.org/plugin/menu-breadcrumb.1.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/menu-breadcrumb/#description)
 * [评价](https://cn.wordpress.org/plugins/menu-breadcrumb/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/menu-breadcrumb/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/menu-breadcrumb/#developers)

 [支持](https://wordpress.org/support/plugin/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!](https://github.com/jchristopher/menu-breadcrumb)

## 安装

 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

## 常见问题

### 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](https://github.com/jchristopher/menu-breadcrumb)

### Can I contribute?

Of course! [https://github.com/jchristopher/menu-breadcrumb](https://github.com/jchristopher/menu-breadcrumb)

## 评价

![](https://secure.gravatar.com/avatar/9caf51a4b31e16f13f8dbe78b68383b9154665adcaecc7b5399f3d0f88d96423?
s=60&d=retro&r=g)

### 󠀁[it works](https://wordpress.org/support/topic/it-works-935/)󠁿

 [W2014](https://profiles.wordpress.org/w2014/) 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条评价 ](https://wordpress.org/support/plugin/menu-breadcrumb/reviews/)

## 贡献者及开发者

「Menu Breadcrumb」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jon Christopher ](https://profiles.wordpress.org/jchristopher/)

[帮助将「Menu Breadcrumb」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/menu-breadcrumb)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/menu-breadcrumb/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/menu-breadcrumb/)，或通过[RSS](https://plugins.trac.wordpress.org/log/menu-breadcrumb/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/menu-breadcrumb/)。

## 更新日志

#### 1.0.3

 * Add filter to allow custom breadcrumbs. Props [benjaminpick](https://github.com/jchristopher/menu-breadcrumb/pull/2)
 * If empty breadcrumbs he shouldn’t show $before and $after. Props [benjaminpick](https://github.com/jchristopher/menu-breadcrumb/pull/3)
 * Tested up to WordPress 6.9

#### 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

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**5 月前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/menu-breadcrumb/)
 * 标签
 * [breadcrumb](https://cn.wordpress.org/plugins/tags/breadcrumb/)[breadcrumbs](https://cn.wordpress.org/plugins/tags/breadcrumbs/)
   [menu](https://cn.wordpress.org/plugins/tags/menu/)[nav](https://cn.wordpress.org/plugins/tags/nav/)
   [navigation](https://cn.wordpress.org/plugins/tags/navigation/)
 *  [高级视图](https://cn.wordpress.org/plugins/menu-breadcrumb/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/menu-breadcrumb/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/menu-breadcrumb/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/menu-breadcrumb/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/menu-breadcrumb/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/menu-breadcrumb/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/menu-breadcrumb/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/menu-breadcrumb/reviews/)

## 贡献者

 *   [ Jon Christopher ](https://profiles.wordpress.org/jchristopher/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/menu-breadcrumb/)