Title: Jinx-Breadcrumbs
Author: Lukas Rydygel
Published: <strong>2020 年 11 月 30 日</strong>
Last modified: 2021 年 6 月 4 日

---

搜尋外掛

![](https://ps.w.org/jinx-breadcrumbs/assets/banner-772x250.jpg?rev=2428656)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/jinx-breadcrumbs/assets/icon-256x256.png?rev=2428656)

# Jinx-Breadcrumbs

 由 [Lukas Rydygel](https://profiles.wordpress.org/lugat/) 開發

[下載](https://downloads.wordpress.org/plugin/jinx-breadcrumbs.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/jinx-breadcrumbs/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/jinx-breadcrumbs/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/jinx-breadcrumbs/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/jinx-breadcrumbs/#developers)

 [技術支援](https://wordpress.org/support/plugin/jinx-breadcrumbs/)

## 外掛說明

The plugin allows you to render breadcrumbs and configurate them with filters.

### Usage

Use the function ‘jinx_breadcrumbs’ to render the breadcrumbs where you want them
to be. You may overwrite the default arguments by passing an array to the function.

    ```
    <?php

      if (function_exists('jinx_breadcrumbs')) :

        jinx_breadcrumbs([
          // default args
          'home' => __('Home', 'jinx-breadcrumbs'),
          'search' => __('Search: "%s"', 'jinx-breadcrumbs'),
          '404' => __('Error 404', 'jinx-breadcrumbs'),
          'author' => __('Author: %s', 'jinx-breadcrumbs'),
          'year' => 'Y',
          'month' => 'F',
          'day' => 'd',
          'before' => '<nav aria-label="breadcrumb"><ol>',
          'after' => '</ol></nav>',
          'before_item' => '<li%s>',
          'after_item' => '</li>',
        ]);

      endif;

    ?>
    ```

You may also use the filter ‘jinx_jinx_breadcrumbs’ to overwrite them.

    ```
    <?php

      add_filter('jinx_breadcrumbs', function($args) {

        return array_merge($args, [
          'home' => __('Start', 'cca'),
          'search' => __('Your searched for "%s"', 'cca'),
        ]);

      });

    ?>
    ```

The plugin will automatically try to find the correct archive pages by using the
rewrite slug of custom taxonomies and post types.

If you may want to change this behavior, you may use some filters to manipulate 
the archive page.

If you return NULL, the archive page will be removed.

    ```
    <?php

      // filters the archive page, passing the PID, type ('taxonomy' or 'post_type') and name (eg. 'video')
      add_filter('jinx_breadcrumbs_archive', function($pid, $type, $name) {

        return $pid;

      }, 10, 3);

      // filters the archive page, passing the PID and name (eg. 'video')
      // the type is part of the filter (eg. 'jinx_breadcrumbs_archive_taxonomy')
      add_filter('jinx_breadcrumbs_archive_{type}', function($pid, $name) {

        return $pid;

      }, 10, 2);

      // filters the archive page, passing the PID
      // the type and name are part of the filter (eg. 'jinx_breadcrumbs_archive_post_type_video')
      add_filter('jinx_breadcrumbs_archive_{type}_{name}', function($pid) {

        return $pid;

      }, 10, 1);

    ?>
    ```

## 安裝方式

 1. Unzip the downloaded package
 2. Upload `jinx-block-renderer` to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Jinx-Breadcrumbs〉的開發相關工作。

參與者

 *   [ Lukas Rydygel ](https://profiles.wordpress.org/lugat/)

[將〈Jinx-Breadcrumbs〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/jinx-breadcrumbs)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/jinx-breadcrumbs/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/jinx-breadcrumbs/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/jinx-breadcrumbs/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/jinx-breadcrumbs/)。

## 中繼資料

 *  版本 **0.2.11**
 *  最後更新 **5 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.5.22**
 *  PHP 版本需求 ** 7.1 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/jinx-breadcrumbs/)
 * 標籤:
 * [breadcrumbs](https://tw.wordpress.org/plugins/tags/breadcrumbs/)[seo](https://tw.wordpress.org/plugins/tags/seo/)
 *  [進階檢視](https://tw.wordpress.org/plugins/jinx-breadcrumbs/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/jinx-breadcrumbs/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/jinx-breadcrumbs/reviews/)

## 參與者

 *   [ Lukas Rydygel ](https://profiles.wordpress.org/lugat/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/jinx-breadcrumbs/)