Bread Crumb Trail

Ok, here it is, Bread Crumb Trail. Unlike Bread Crumb Trail Light this plugin is PHAT. Ok what I mean is this is feature packed and should work fine in any situation that I have thought of.

Instructions to come…

Q&A

What?
I’ll answer your questions here.
Permalinks
For viewing archives with BCT support you must use the uri rewriting permalinks function, this is actually a function of apache and not WP. WP just generates the htaccess file.
Not showing ‘home’ when on the homepage.
You need to set showhome to FALSE. Showhome is the second variable when calling the function, so you must also set root. the result should look something like; <?php jp_bct('/',FALSE); ?>. Of you may create a new file named ‘jp-bct.ini’ and locate it as such ‘wp-content/jp-bct/jp-bct.ini’. Then add the line showhome = FALSE.
Some of the links in your bct are broken.
Make sure your permalink structure works, you should be able to visit for example http://jp.jixor.com/archives/category/ and it should work, just displaying posts from all categories. This is the default behaviors, however this may be a relatively recent addition, if you have an old install you may need to update your permalinks rewrite rules, see the permalinks section, it generates the .htaccess file for you.

Current version is 1.1 For the most up to date version see http://dev.wp-plugins.org/file/jp-bread-crumb-trail/trunk/jp-bct.php

Note You currently require at least PHP version 4.3.0. I could resolve this dependancy but seriously you should upgrade to at least 4.3.0.

Next version I’ll add an admin interface for setting options, this will however be optional. If you don’t use it the code will be a little more efficient, but not by much. I may also look into ways of including your bct using hooks.

Commenting

Please leave only general comments on this page. If you want to comment on bugs and such comment on the article for the particular release you’re concerned with.

Share/Save/Bookmark

You can leave a response, or trackback from your own site.

20 Responses to “Bread Crumb Trail”

  1. Snow is cold » Blog Archive » Breadcrumb plugin Says:

    [...] ; Hybrid cont. Breadcrumb plugin I’ve modified a version of jixor’s bread crumb trail plugin to work with pretty links, [...]

  2. Robbert Hamburg Says:

    Installed the plugin today !

    I really do like it. Now i hope my visitors do like it aswell. You can see it in action at http://www.robberthamburg.nl

    Best regards,

    Robbert (from .NL)

  3. Relaxing @ serverbase » Blog Archive » Installed my breadcrumb navigation today Says:

    [...]

    Installed my breadcrumb navigation today

    Installed a breadcrumb plugin today ! It seems to work quite well, and makes navigation easier when browsing t [...]

  4. jixor Says:

    Fixed the attachment for 1.1b

  5. marc Says:

    hi jixoe,
    thanks for your great work. unfortunately, i can’t seem to get bct to work. i’ve added this and then i keep getting an error message:
    Fatal error: Call to undefined function: html_entity_decode() in /home/virtual/site56/fst/var/www/html/lab/wp-content/plugins/jp-bct.php on line 97

    i would freakn love to get this to work. any help would be greatly appreciated. i am using wp 1.5.1.3. thank you.

  6. Lee Says:

    Hi,

    What do you add to the template file? I’ve added and I’m getting the following error:

    Fatal error: Call to undefined function: jp_bctl() in /home/.sites/83/site204/web/wp/wp-content/themes/contexts/design.php on line 28

    Many thanks,

    Lee

  7. TedFox Says:

    You’re browsing: Home / Category 1/ Category 2 / Entry

    because of my blog layout, my permalinks are /%category%/%postname%/

    however, when you click on the link “Category 2″, the output url of your plugin is simple http://blog.com/Category-1/Category-2/

    however, this causes problems, as such a url is simply looking for an entry called Category-2

    A better solution would be for your plugin to out http://blog.com/category/Category-1/Category-2

    That should make the plugin more compliant with different situations

  8. jixor Says:

    TedFox, I sent you an email. Some issues raised there I’ll discuss on this site some time.

  9. Ingrid Says:

    This is a great plugin, plug and play, very nice thank you !

  10. NigelM Says:

    My Wordpress site is mainly “pages” of static content with much fewer “posts” in categories. In fact, the site has a hierarchy of pages to three levels. Would your plugin work for me?

    Thanks

  11. DM Blog » Blog Archive » Breadcrumbs-Plugin Says:

    [...] Breadcrumbs-Plugin Ich (flo) habe eben noch das Breadcrumb-Plugin installiert, aktiviert und in dem aktuellen Theme (WP-Standard auf deutsch) eing [...]

  12. Ajay Says:

    jixor, I notice one problem.

    When you have more than one page e.g. in archives, it is displayed as /page/1/ /page/2 by wordpress

    That is good but /page/ doesn’t work and leads to a 404.

    However, this is displayed in the path by your plugin causing searchbots and users on visiting that page.

    I’ve added few extra rewrite rules to ensure /page/ goes to /page/1/ but I’m stuck because for /archives/categories/category-name/page/ doesn’t work.

  13. Ajay Says:

    Further from the post above.

    I made the following change to your plugin file.

    I added this:

    $uri = preg_replace('/\/page/','',$uri);

    It removes the page before it is exploded :)

    Also, I note that the URI in your plugin file points to a 404 on your site.

  14. expertinnen-web.de » Brotkrümel für Wordpress Says:

    [...] gierhilfe vor allem in barrierefreien Projekten. Für Wordpress gibt es dafür ein Plugin. Voraussetzung für diese Funktion ist die Konfiguration von Permalinks (Verweis auf Su [...]

  15. Navigacija pagal puslapio hierarchinÄ™ pozicijÄ… - WordPress Gidas Says:

    [...] Bread Crumb Trail. Dar vienas šios grupės pluginas. Ką manote apie šiuos pl [...]

  16. Great work, thanks. Says:

    Great work, thanks….

    Top work…

  17. A list of SEO plugins for Wordpress | lonerunners.net Says:

    [...] Adsense. Bunny’s Technorati Tags - A simple and easy interface for tagging in each blog post. Bread Crumb Trail Generator - A little tricky to configure but very useful once you do. Especially nice when used on a static [...]

  18. forestman Says:

    yo…

    wonderful…

  19. Connections Reloaded 2.0 Roadmap | Techtites Says:

    [...] Bread Crumb Trail (in archives.php, archive.php, category.php, links.php, page.php, pages.php, single.php) [...]

  20. tool set for wordpress — fredklumpp.com Says:

    [...] Bread Crumb Trail Generator - A little tricky to configure but very useful once you do. Especially nice when used on a static website. [...]

Leave a Reply