Show breadcrumb for taxonomies, custom posts and all another pages.
Author: | Pedro Elsner (profile at wordpress.org) |
WordPress version required: | 2.8 |
WordPress version tested: | 3.4.2 |
Plugin version: | 1.2 |
Added to WordPress repository: | 19-08-2012 |
Last updated: | 19-11-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 80 |
Rated by: | 2 |
Plugin URI: | https://github.com/pedroelsner/full-breadcrum... |
Total downloads: | 9 160 |
Active installs: | 200+ |
Click to start download |
- 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' => '»'
), // 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 › Page not found')
),
'separator' => array(
'element' => 'span',
'class' => 'separator',
'content' => '›'
), // 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 › Página não encontrada')
),
'separator' => array(
'element' => 'span',
'class' => 'separator',
'content' => '›'
), // set FALSE to hide
'home' => array(
'showLink' => true
)
)
);
?>
Screenshots
ChangeLog