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

Full Breadcrumb

描述

  • Support Hierarquical Taxonomies

Show breadcrumb in pages, posts, custom posts, categories, taxonomies, tags, authors, attachments and archives.

Basic Usage

Put this code <?php if (function_exists('show_full_breadcrumb')) show_full_breadcrumb(); ?> in your theme and enjoy!

Or, for to get the breadcrumb: <?php if (function_exists('get_full_breadcrumb')) $var = get_full_breadcrumb(); ?>

In get_full_breadcrumb you can use the additional parameter 'type' => 'array' to return an array with the links. eg. array( 'type' => 'array' )

Basic Customization

<?php
show_full_breadcrumb(
    array(
        'separator' => array(
            'content' => '&raquo;'
        ), // set FALSE to hide
        'home' => array(
            'showLink' => false
        )
    )
);
?>

Advanced Customization

<?php
if (function_exists('show_full_breadcrumb')) show_full_breadcrumb(
    array(
        'labels' => array(
            'local'  => __('You are here:'), // set FALSE to hide
            'home'   => __('Home'),
            'page'   => __('Page'),
            'tag'    => __('Tag'),
            'search' => __('Searching for'),
            'author' => __('Published by'),
            '404'    => __('Error 404 &rsaquo; Page not found')
        ),
        'separator' => array(
            'element' => 'span',
            'class'   => 'separator',
            'content' => '&rsaquo;'
        ), // set FALSE to hide
        'local' => array(
            'element' => 'span',
            'class'   => 'local'
        ),
        'home' => array(
            'showLink'       => false,
            'showBreadcrumb' => true
        ),
        'actual' => array(
            'element' => 'span',
            'class'   => 'actual'
        ), // set FALSE to hide
        'quote' => array(
            'tag'    => true,
            'search' => true
        ),
        'page_ancestors' => array(
            'showLink' => false
        )
    )
);
?>

Settings for Portuguese-BR

<?php
if (function_exists('show_full_breadcrumb')) show_full_breadcrumb(
    array(
        'labels' => array(
            'local'  => __('Você está aqui:'), // set FALSE to hide
            'home'   => __('Início'),
            'page'   => __('Página'),
            'tag'    => __('Etiqueta'),
            'search' => __('Buscando'),
            'author' => __('Publicado por'),
            '404'    => __('Error 404 &rsaquo; Página não encontrada')
        ),
        'separator' => array(
            'element' => 'span',
            'class'   => 'separator',
            'content' => '&rsaquo;'
        ), // set FALSE to hide
        'home' => array(
            'showLink' => true
        )
    )
);
?>

螢幕截圖

  • The Full Breadcrumb in my (Pedro Elsner) website =)

安裝

  1. Go to your admin area and select Plugins -> Add new from the menu.
  2. Search for “Full Breadcrumb”.
  3. Click install.
  4. Click activate.
  5. Put this code <?php if (function_exists('show_full_breadcrumb')) show_full_breadcrumb(); ?> in your theme and enjoy!

See the description tab to know how customize. the breadcrumb,

評價

There are no reviews for this plugin.

貢獻者及開發者

“Full Breadcrumb” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Full Breadcrumb 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2

  • Added a option to enable links to page’s acestors.
  • Added a option to disable the element in actual.
  • Bug correction. Returns a empty register in array.

1.1

  • Bug correction. Breaks on author without published posts.
  • Include all category hierarchy of the post.
  • Added a option to return as array.
  • Added a option to disable the quotes in search and tags.
  • Added a option to hide the separator.

1.0

  • First revision.