Display your Wordpress breadcrumb with Bootstrap 3
1.0
Bootstrap breadcrumb Wordpress plugin allow to :
- Automatic arborescence indexation (Home > sub-page > sub-sub-page)
- Custom post support
- Use icon to the home link
- Bootstrap 3
- Wordpress 3 or higher
This section describes how to install the plugin and get it working.
- Upload
bootstrap-breadcrumb.php
to the/wp-content/plugins/bootstrap-breadcrumb/
directory - Activate the plugin through the Plugins menu in WordPress
- Place the next code in your page template :
<?php
if( function_exists('bootstrap_breadcrumb') )
bootstrap_breadcrumb();
?>
<?php
if( function_exists('bootstrap_breadcrumb') )
bootstrap_breadcrumb('<i class="fa fa-home fa-lg"></i>');
?>
<?php
if( function_exists('bootstrap_breadcrumb') )
bootstrap_breadcrumb( array( "custom_post_name_1", "custom_post_name_2" ) );
?>
<?php if( function_exists('bootstrap_breadcrumb') ): ?>
<section class="section-breadcrumb">
<div class="container">
<?php bootstrap_breadcrumb('<i class="fa fa-home fa-lg"></i>'); ?>
</div>
</section>
<?php endif; ?>