Yoast Breadcrumbs

Download breadcrumbs Please ask your questions and make your remarks in the WordPress support forums, I'll answer them there! Want to support me? Donate a small amount through PayPal!

Donate through PayPal!

Hi there,

Thanks for downloading one of my plugins. If you like my plugins, please support me by donating a small amount through PayPal.

If you donate even a small amount, that both keeps me enthusiastic and it allows me to keep working on improving my plugins!

Best,
Joost

P.S. did you know about my weekly WordPress newsletter? You should sign up right now!

This plugin allows you to add breadcrumbs to your theme. Why you should do this is outlined in my WordPress SEO article.

They could for instance look like this:
breadcrumbs

Installation

  1. Download the plugin
  2. Unzip the package and upload the file to your WordPress installation's plugins folder
  3. Enable the plugin
  4. Adjust any settings you want under Settings -> Breadcrumbs
  5. Add the following code to your theme's template(s):
    <?php if ( function_exists('yoast_breadcrumb') ) {
    	yoast_breadcrumb('<p id="breadcrumbs">','</p>');
    } ?>

Advanced use

If you want to do a bit more with the output of the plugin, use the following code:

<?php if ( function_exists('yoast_breadcrumb') ) {
	$breadcrumbs = yoast_breadcrumb("","",false);
} ?>

That will output the breadcrumb into a variable, for you to play with.

Variables

This plugin takes the following variables:

$prefix
The code that your breadcrumb should be prefixed with. Default to an empty string.

$suffix
The code that should be added on the back of your breadcrumb. Default to an empty string.

$display
If set to false, will return the breadcrumb path instead of echo-ing it. Defaults to true.