>
Download This Plugin | |
Download Elegant Themes | |
Name | Full Breadcrumb |
Version | 1.2 |
Author | Pedro Elsner |
Rating | 80 |
Last updated | 2012-11-19 05:01:00 |
Downloads |
7067
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Full Breadcrumb plugin added 4 bytes of resources to the Home page and 7 bytes of resources to the sample Post page.
Full Breadcrumb plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Full Breadcrumb plugin ads no tables to your Wordpress blog database.Show breadcrumb in pages, posts, custom posts, categories, taxonomies, tags, authors, attachments and archives.
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' )
<?php
show_full_breadcrumb(
array(
'separator' => array(
'content' => '»'
), // set FALSE to hide
'home' => array(
'showLink' => false
)
)
);
?>
<?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
)
)
);
?>
<?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
)
)
);
?>