This plugin adds the function to display breadcrumbs (topic path) navigation. You can use display styles, lots of parameters of styles and original plugin hooks of breadcrumbs navigation, and you can customize navigations flexibly.
Examples
Default
Template Tag
`
Output sample<br />
**String types**<br />
Template Tag<br />
Output Sample<br />
Home >
Seminar >
Tokyo >
WordBench Tokyo
**CSS Sample**
.bread_crumb { margin:0; border-bottom:1px solid #eee; padding:0.8em 0 0.5em; clear: both; height: 20px; background: #f8f8f8; } .bread_crumb li { font-size:12px; color:rgb(180,180,180); float:left; /
margin-right:1em;/ list-style: none outside none; } .bread_crumb li:after { content : '>'; padding-left:10px; margin-right:10px; } .bread_crumb li:last-child:after { content : ''; } .bread_crumb li a { color:rgb(120,120,120); } .bread_crumb li.current { }`
Special Thanks
English Translation:
Odyssey
- Upload Prime Strategy Bread Cumb plugin folder you downloaded to the plugin directory.
- Go to the plugin menu of Admin, and activate "Prime Strategy 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: none (no element)
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: none (no id)
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.