Yoast: Reading about google's bug bounty program; I'm curious whether a patch bounty program for my #WordPress plugins would work... ReTweet Reply

Improved WordPress Breadcrumbs

I love how open source works. I released an early version of my breadcrumbs plugin, and I got some great feedback from all of you here on the blog and in the blogosphere!

For instance, Damon Gudaitis of Life With Beer asked if I could build in support for category parents. I didn't think about that since I don't nest categories on this blog, but it's actually a must have I think. So I built it in.

Then I came across this post on Hack WordPress, which urged theme designers to include the breadcrumbs in to their themes. Now I'm good friends with the very good premium theme designers at Woothemes, and they'd probably love to include it, but they'd either have to pay me, or I'd have to release the plugin under another license, so they can easily ship it. So, this new version is released under a BSD license instead of a GPL one.

Another issue for theme designers was that though you could include the breadcrumb conditionally, doing this:

<?php if ( function_exists('yoast_breadcrumb') ) {
	yoast_breadcrumb();
} ?>

You'd still have to put something around it like <p id="breadcrumbs"> breadcrumb </p>, so you cannot add the code and leave it up to the user to activate the plugin or not. So I've modified it, and you can now do this:

<?php if ( function_exists('yoast_breadcrumb') ) {
	yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} ?>

That way, you can easily include it in your themes, and leave it up to the user to enable the plugin or not. I've updated the documentation on the plugin page to reflect that.

So, if you're using it, download the latest version and upgrade: Yoast WordPress Breadcrumbs!

Tags:
Category: WordPress
You can skip to the end and leave a response.

13 Responses to “Improved WordPress Breadcrumbs

you haven't fixed the separator input issue(e.g.: → instead of »), have you?

Just updated the breadcrumbs plugin...looks great.

Thanks for listening.

Damon

Als ik binnenkort een breadcrumb ga installeren, wordt het zeker deze! Ziet er goed uit. Nu heeft onze blog nog geen breamcrumb, maar zeker voor in de toekomst. Bedankt!

A nice plugin, thanks. It's would be great to be able to easily format the output. To be able to display a "vertical breadcrumb" in the sidebar for instance, with tags instead of separator (or at least ).

Finally, a breadcrumbs plugin that actually works on my theme! Thanks for a great plugin Joost!

Pingback: Recent Links Tagged With "gpl" - JabberTags

Another great plugin Joost, and I've finally got it working in Thesis 1.3.2, but for one thing - as my blog is installed on a subdirectory of my site, the breadcrumb "home" link points to the subdirectory, rather than the actual homepage, and I don't want to 301 the subdirectory to the homepage, as it may become a page at some point in the future. Any ideas?!

Hello,
Buddy just wanted to know does this plug in support tags and search pages.

This was by far the easiest breadcrumb plug-in to install and it actually worked. :-)

Is there any way to customize the css for this plugin?

This is a great solution to breadcrumbs for WordPress. It only takes a few minutes to setup and is easily CSS customizable.

Thanks for powering breadcrumbs on my WordPress driven web empire!

Hi,
Just installed the plugin. My guess is that I'm the first using it with hebrew...
Anyway, th encoding does not work well, for some reason.
Will send a patch if/when have one...

Pingback: Plugins, themes and the IA « Museum In A Day

Comments closed, if you feel you have something to say:
drop me a line.