Jun
09
2005

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

Written by jixor in: General |

18 Comments

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

    Pingback | Sun 12th 2005f June 2005
  • 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)

    Comment | Mon 27th 2005f June 2005
  • [...]

    Installed my breadcrumb navigation today

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

    Pingback | Mon 27th 2005f June 2005
  • Fixed the attachment for 1.1b

    Comment | Wed 29th 2005f June 2005
  • marc

    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.

    Comment | Mon 8th 2005f August 2005
  • Lee

    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

    Comment | Sat 20th 2005f August 2005
  • 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

    Comment | Tue 6th 2005f September 2005
  • TedFox, I sent you an email. Some issues raised there I’ll discuss on this site some time.

    Comment | Sun 25th 2005f September 2005
  • This is a great plugin, plug and play, very nice thank you !

    Comment | Wed 12th 2005f October 2005
  • NigelM

    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

    Comment | Mon 17th 2005f October 2005
  • [...] Breadcrumbs-Plugin Ich (flo) habe eben noch das Breadcrumb-Plugin installiert, aktiviert und in dem aktuellen Theme (WP-Standard auf deutsch) eing [...]

    Pingback | Tue 18th 2005f October 2005
  • 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.

    Comment | Sat 19th 2005f November 2005
  • 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.

    Comment | Sat 19th 2005f November 2005
  • [...] 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 [...]

    Pingback | Tue 22nd 2005f November 2005
  • [...] Bread Crumb Trail. Dar vienas Å¡ios grupÄ—s pluginas. KÄ… manote apie Å¡iuos pl [...]

    Pingback | Wed 20th 2007f June 2007
  • Great work, thanks….

    Top work…

    Trackback | Tue 21st 2008f October 2008
  • [...] 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 [...]

    Pingback | Mon 27th 2008f October 2008
  • yo…

    wonderful…

    Trackback | Wed 29th 2008f October 2008

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Powered by WordPress | Aeros Theme