WordPress Plugin: Simple Breadcrumb Navigation

Freebies, WordPress Plugins Nov 05, 2008 16 Comments

Since I am using WordPress mainly as a CMS and wasn’t very satisified with the availaible plugins (too bloated, too many options to my mind) I decided to code my very own lightweight version.

If you do create websites with WordPress, that go beyond the scope of normal blog pages, you should consider to include a breadcrumb navigation for advanced usability. If you want a very lightweight breadcrumb navigation that supports nested categories and pages, doesn’t need many database queries, and if you don’t need any crazy options this might be your breadcrumb plugin of choice.

Usage

Just upload the simple_breadcrumb.php file to your plugins folder and activate it in your WordPress backend.

To display the navigation add this line of code to the template file of your choice:

<?php if (class_exists('simple_breadcrumb')) { $bc = new simple_breadcrumb; } ?>

Example

You can find a working example at my newest WordPress Theme Javazine
(I excluded the Breadcrumb Navigation from the front page, just open a post/page or a categorie to display it)

Download

Download
Last Update: November 05th 2008, Version: 1.0

16 Responses to “WordPress Plugin: Simple Breadcrumb Navigation”

  1. Reply Josep Viciana says:

    Simply great, thanks, : )

  2. Reply Josep Viciana says:

    One question, if a post is in several categories?

  3. Reply Kriesi says:

    only one of these categories will be displayed

  4. Reply Brooke says:

    when i add the php to my template, it gives me this error

    Parse error: syntax error, unexpected ‘{‘ in

  5. Reply Annie says:

    Hi ;0)
    I don’t where I am messing up as I am in the process to figure out this WORDPRESS thing but When I activate the plugin, I keep getting syntax error on line 12 ;0(
    Please help!

  6. Reply Jamie Fehr says:

    not to complain, but…
    (one) the code snippet you provide is missing a closing parentheses on the if statement
    (two) it really wouldn’t be hard to internationalize it for people who want to use this on non-english sites
    (three) I really need something that displays nested categories.

    So I guess I’ll go code my own version.

  7. Reply Kriesi says:

    (one) fixed
    (two) no time here, i leave this up to you ;D
    (three) the plugin supports nested categories

  8. Reply Thomas Thompson says:

    OIrpQP Great work …. Thanks for your ideas.,

  9. Reply David Anderson says:

    great tips. I enjoyed reading this,

  10. Reply Clark Cook says:

    beautiful site..)),

  11. Reply elaina taggart says:

    thank you dear friend,

  12. Reply metzo says:

    Very good ah! As early as I would like to use, and your blog Hehe oh well

  13. Reply Ustaani says:

    I installed it in my plugins and upon applying the code to the functions.php template file, my website is refusing to load. Period. What gives?
    Please help.

  14. Reply Brett says:

    The link is broken. Could you repair it?

Leave a Reply