Title: Trailblaze
Author: Erik Ford
Published: <strong>2013 年 6 月 23 日</strong>
Last modified: 2016 年 5 月 2 日

---

搜索插件

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

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/trailblaze_738c8a.svg)

# Trailblaze

 作者：[Erik Ford](https://profiles.wordpress.org/wearepixel8/)

[下载](https://downloads.wordpress.org/plugin/trailblaze.zip)

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

 [支持](https://wordpress.org/support/plugin/trailblaze/)

## 描述

With Trailblaze, you can add breadcrumb navigational links to your WordPress theme
by using the template tag, `wap8_trailblaze()`. This template tag can be added to
the following templates:

 * Archive Templates (categories, tags, post formats, custom post types, custom 
   taxonomies, date based archives)
 * Singular Templates (post, page, custom post type)
 * Search Template
 * 404 Template

For more information, please see this [blog post](http://erikford.me/plugins/trailblaze-breadcrumbs-plugin/).

## 屏幕截图

 * [[
 * Trailblaze Settings screen
 * [[
 * Trailblaze output on date based archive
 * [[
 * Trailblaze output on single post entry

## 安装

You can install Trailblaze either via the WordPress Dashboard or by uploading the
extracted `trailblaze` folder to your `/wp-content/plugins/` directory. Once the
plugin has been successfully installed, simply activate the plugin through the Plugins
menu in your WordPress Dashboard.

Once the plugin has been activated, visit the Settings page to customize the Home
link label and the breadcrumbs separator.

To add the template tag to your theme, insert the following code, preferably outside
of the loop, where you would like the breadcrumb trail to appear.

    ```
    <?php if ( function_exists( 'wap8_trailblaze' ) ) {
         wap8_trailblaze();
    } ?>
    ```

The markup contains structured data for search engine optimization and contain class
names for easy styling:

 * The wrapping element is `<nav class="breadcrumbs" itemprop="breadcrumbs">`.
 * The breadcrumb separator will be wrapped with `<span class="crumb-separator">`.
 * The current, non anchored breadcrumb will be wrapped with `<span class="current-
   crumb">`.

## 常见问题

  Why was this plugin developed?

We found that we were reproducing this functionality for many of our clients and
premium themes and thought it would be better suited as a freely available plugin
instead of a theme template.

  How do I add the template tag to my theme?

To add the template tag to your theme, insert the following code, preferably outside
of the loop, where you would like the breadcrumb trail to appear.

    ```
    <?php if ( function_exists( 'wap8_trailblaze' ) ) {
         wap8_trailblaze();
    } ?>
    ```

  Are there any known limitations?

Yes. Though we have added custom taxonomy archives to the breadcrumbs, the breadcrumbs
will not return a hierarchical list when browsing a custom taxonomy archive that
is hierarchical.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Erik Ford ](https://profiles.wordpress.org/wearepixel8/)
 *   [ Heavy Heavy ](https://profiles.wordpress.org/heavyheavy/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial release

#### 1.0.1

 * Fixed an issue with the paginated breadcrumb display

#### 1.0.2

 * Once pagination begins, the page number becomes the current crumb

#### 1.0.3

 * Fixed an issue where breadcrumbs were not displaying on paginated pages and single
   posts

#### 1.0.4

 * Fixed an issue where the page order was being echoed in the breadcrumb

#### 1.0.5

 * Fixed an issue where the custom post type name was singular

#### 1.0.6

 * The custom post type name should universally be plural
 * Added custom taxonomy archives condition to the breadcrumbs

#### 1.0.7

 * Added a condition for when Reading Settings for blog posts has a Posts page set

#### 1.0.8

 * Properly escaping HTML in the output
 * Updated the base language file

#### 1.0.9

 * Changed text domain name space and updated language files

#### 1.1.0

 * Added structured data to the markup
 * Added support for post format archives
 * Fixed an issue where the post categories were not hierarchical

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/trailblaze/)
 * 标签
 * [breadcrumb](https://cn.wordpress.org/plugins/tags/breadcrumb/)[breadcrumbs](https://cn.wordpress.org/plugins/tags/breadcrumbs/)
   [menu](https://cn.wordpress.org/plugins/tags/menu/)[navigation](https://cn.wordpress.org/plugins/tags/navigation/)
 *  [高级视图](https://cn.wordpress.org/plugins/trailblaze/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Erik Ford ](https://profiles.wordpress.org/wearepixel8/)
 *   [ Heavy Heavy ](https://profiles.wordpress.org/heavyheavy/)

## 支持

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

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