Description
This plugin adds the function to display breadcrumbs (topic path) navigation that supports HTML5 micorodata. You can use display styles, lots of parameters of styles and original plugin hooks of breadcrumbs navigation, and you can customize navigations flexibly.
Forked “Prime Strategy Bread Crumb“
Examples
Default
Template Tag
<?php if (function_exists('bread_crumb')) bread_crumb(); ?>
Output Sample
<div id="breadcrumb" class="bread_crumb">
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.example.com/" itemprop="url">
<span itemprop="title">Home</span>
</a> >
</div>
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.example.com/?cat=2" itemprop="url">
<span itemprop="title">Seminar</span>
</a> >
</div>
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.example.com/?cat=4" itemprop="url">
<span itemprop="title">Tokyo</span>
</a> >
</div>
</div>
List types
Template Tag
<?php if (function_exists('bread_crumb')) bread_crumb('type=list'); ?>
Output sample
<div id="breadcrumb" class="bread_crumb">
<ul>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="level-1 top">
<a href="http://www.example.com/" itemprop="url">
<span itemprop="title">トップページ</span>
</a> >
</li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="level-2 sub">
<a href="http://www.example.com/?cat=2" itemprop="url">
<span itemprop="title">Seminar</span>
</a> >
</li>
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="level-3 sub">
<a href="http://www.example.com/?cat=4" itemprop="url">
<span itemprop="title">Tokyo</span>
</a> >
</li>
</ul>
</div>
Special Thanks
Links
https://github.com/nobuhiko/seo-breadcrumb
Installation
- Upload SEO Bread Cumb plugin folder you downloaded to the plugin directory.
- Go to the plugin menu of Admin, and activate “SEO Bread Crumb” plugin.
- Add a template tag “bread_crumb” of page navigation to the place where you would like to display breadcrumbs navigation in your theme. See below about parametes you can specify by template tags.
Parameters
type If you specify “string”, output strings instead of list. Default: list
home_label Texts displayed on front page. Default: home
search_label Texts displayed on search results. Default: Search Results of “%s” (%s : search strings)
404_label Texts displayed on 404 page. Default: 404 Not Found
category_label Texts displayed on categories. Default: %s (%s is a category label.)
tag_label Texts displayed on tags. Default: %s (%s is a tag label)
taxonomy_label Texts displayed on taxonomies. Default: %s (%s is a taxonomy label)
author_label Texts displayed on authors’ page. Default: %s (%s is author’s name)
attachment_label Texts displayed on attachments. Default: %s (%s is an attachment’s name)
year_label Texts displayed on Yearly Archives. Default: %s (%s is a year)
month_label Texts displayed on Monthly Archives. Default: %s (%s is monthly-display-type specified on date format)
day_label Texts displayed on Daily Archives. Default: %s (%s is a day)
post_type_label Texts displayed on custom post type archives. Default: %s (%s is custom post type label)
joint_string If you specify “string” on type, strings between texts. Default: ” > ” ( > )
navi_element Name of wrapper elements. You can select div or nav. Default: div
elm_class Name of wrapper class. If no wrapper element and type is “list”, name of “ul” class will be displayed. Default: bread_crumb
elm_id Name of wrapper id. iF no wrapper element and type is “list”, name of “ul” id will be displayed. Default: breadcrumb
li_class Name of class added to li if type is “list”. Default: none (no class)
class_prefix prefix added to each class. Default: none (no prefix)
current_class Name of class added to breadcrumbs navigation on current page where you see. Default: current
indent Number of tab indent. Default: 0
echo Output or not. Default: true (output). If you specify 0 or false, return values as PHP.
disp_current current page Output or not. Default: false (not). If you specify 0 or false, return values as PHP.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“SEO BreadCrumb” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “SEO BreadCrumb” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.2
- Update japan language
- Update readme.txt
1.0.1
- Update japan language
1.0.0
- Opening to the public
