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.

11 Comments

  1. Posted June 27, 2005 at 4:52 am | Permalink

    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)

  2. Posted June 29, 2005 at 1:36 pm | Permalink

    Fixed the attachment for 1.1b

  3. marc
    Posted August 8, 2005 at 6:13 am | Permalink

    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.

  4. Lee
    Posted August 20, 2005 at 12:58 am | Permalink

    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

  5. Posted September 6, 2005 at 3:56 pm | Permalink

    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

  6. Posted September 25, 2005 at 1:17 pm | Permalink

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

  7. Posted October 12, 2005 at 9:26 pm | Permalink

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

  8. NigelM
    Posted October 17, 2005 at 11:36 pm | Permalink

    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

  9. Posted November 19, 2005 at 2:35 pm | Permalink

    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.

  10. Posted November 19, 2005 at 2:57 pm | Permalink

    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.

  11. Posted August 28, 2009 at 5:31 am | Permalink

    Rock out. Great plugin, easy to use, and easy to adjust.

10 Trackbacks

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

  2. [...]

    Installed my breadcrumb navigation today

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

  3. By DM Blog » Blog Archive » Breadcrumbs-Plugin on October 18, 2005 at 7:06 am

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

  4. By expertinnen-web.de » Brotkrümel für Wordpress on November 22, 2005 at 10:25 pm

    [...] 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 [...]

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

  6. By Great work, thanks. on October 21, 2008 at 4:01 am

    Great work, thanks….

    Top work…

  7. [...] 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 [...]

  8. By forestman on October 29, 2008 at 12:36 am

    yo…

    wonderful…

  9. By Connections Reloaded 2.0 Roadmap | Techtites on February 28, 2009 at 3:55 pm

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

  10. By tool set for wordpress — fredklumpp.com on May 9, 2009 at 4:40 am

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

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>