mtekk's Crib

FAQ

These are a few Frequently Asked Questions, and/or frequent search queries and answers that hopefully help solve them. This by no means is an exhaustive list.
Q: How do I remove the current item from the breadcrumb trail. E.g. the breadcrumb trail is Home > Category A > Category B > Current Page, and I want to remove “Current Page”

A: True breadcrumb trails include all of the breadcrumbs, including the current page. Therefore there is no built in option for removing the current item. Typically, the motivation behind removing the current item is due to having the page title too close to the breadcrumb trail. Good design will have proper spatial and visual separation between the breadcrumb trail and the page title. This includes proper sizing of both items which alone can provide enough separation.

However, removing the current item isn’t impossible, but it is a task left to the reader. Note that this will be easier to do with 4.0.

Q: I receive the PHP error “Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /wp-content/plugins/breadcrumb-navxt/breadcrumb_navxt_admin.php on line 53″.

A: This is usually caused by PHP4, since Breadcrumb NavXT 3.0.0 PHP5 is required. You may also find this helpful. If you are running PHP5 and receive this error see this article: Breadcrumb NavXT Line 53 Error.

Q: I receive the PHP error “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /wp-content/breadcrumb-navxt/breadcrumb_navxt_admin.php on line 46″.

A: Beginning with version 3.0.0, Breadcrumb NavXT requires PHP5, please update to PHP5. If your host does not offer PHP5 hosting yet, bug them until they do. You may also find this helpful.

Q: I receive the PHP error “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /wp-content/plugins/breadcrumb-navxt/breadcrumb_navxt_class.php on line 25″.

A: Another error caused by PHP4 environments. Please inquire with your webhost on how to migrate to PHP5 immediately.

Q: How do I remove the breadcrumb trail from the home page?

A: Wrap the calling code with an if block that tests is_front_page(). E.g use:

<div class="breadcrumbs">
    <?php if(function_exists('bcn_display') && !is_front_page())
    {
        bcn_display();
    }?>
</div>

Q: My breadcrumb trail on all my posts is for the same post.

A: This is caused by a secondary loop in your theme which is not behaving “nicely”. The secondary loop should not modify the variable $post, and if it does, the variable $post should be returned to it’s original state afterward. The best way of accomplishing this is to call wp_reset_query() before your Breadcrumb NavXT calling code (most likely bcn_display()).

Q: I receive the PHP error “Fatal error: Cannot redeclare class bcn_breadcrumb in /wp-content/plugins/breadcrumb-navxt/breadcrumb_navxt_class.php on line 29″.

A: A few things may cause this, among them PHP4. Some themes include the Breadcrumb NavXT code in their functions.php file, in this case you should not install Breadcrumb NavXT and use the theme distributed code. Lastly, make sure you do not have an old version of Breadcrumb Navigation XT activated while trying to activate Breadcrumb NavXT, this will cause problems.

Q: I receive the PHP error “Fatal error: Call to undefined method bcn_breadcrumb::display()” or “Fatal error: Call to undefined method bcn_breadcrumb::assemble()”.

A: Beginning in Breadcrumb NavXT 3.0 the class structure has changed, the bcn_breadcrumb class’ member functions are now for the most part in bcn_breadcrumb_trail. Please see the documentation on the new advanced usage guidelines and update the code used to call the plugin. Usually this code will be in your theme’s header.php file.

Q: How do I remove the home/blog breadcrumb from the breadcrumb trail?

A: Prior to Breadcrumb NavXT 3.0, there was no easy way to remove the home breadcrumb from the breadcrumb trail. Simply emptying the contents of the “Home Title”/”Blog Title” options will not remove the home breadcrumb. In Breadcrumb NavXT 3.0 the proper way to not include the home breadcrumb is to use the “Home Breadcrumb” option and set it to “Leave the home breadcrumb out of the trail.”.

Q: Instead of a breadcrumb trail I recieve the message “Please use bcn_display instead of breadcrumb_nav_xt_display”.

A: The function breadcrumb_nav_xt_display has been deprecated and does not exist in versions after 3.0. Update the code used to call the plugin, usually this will be in your theme’s header.php file.

Modified by John Havlik on February 9, 2012 at 7:23 pm

Trackbacks/Pingbacks

  1. Mtekk’s Crib » Blind Updating

147 Responses to “FAQ”

  • Hi,

    is there a possibility to get this plugin to work with WordPress MU? I have seen on a wordpress site, that when version 2.1 was current MU support was still on the todo-list. When I tried to get it working it did not.

    It installed alright, but when calling it as stated in the documentation the normal plugin did not work at all, the admin interface plugin showed at least the name of the current site, but no trail and if I tried to do adjustments in the admin interface there was this error message:

    Warning: unserialize() expects parameter 1 to be string, array given in D:\WEBSERVER\www\v301\wp\wp-includes\wpmu-functions.php on line 303

    (this is my test installation on the newest versions of apache, mysql and php). Additionally all input fields on the admin page are filled with a capital “A”.

    Does that sound familiar to you? Or will it just never work with WordPress MU?

    Thanks for your reply and keep up the good work,

    George.

  • George,

    I do not have a WP MU testbed for Breadcrumb NavXT so I can not test things on it. That said, for 3.0 I did try to eliminate the WP MU incompatibilities with the administrative interface. The biggest problem that previous versions had with WP MU was that the administrative interface did not work. I used the available WP MU documentation to try to implement solution so that individual blog owners in a WP MU environment would have their own breadcrumb settings.

    The core plugin uses a different calling method (the “Advanced Usage”). It would be useful for me if you could test this on WP MU (using the Advanced Usage calling code). If it works that way, then we can go on to work out the problems with the administrative interface.

    -John Havlik

  • Hi John,

    thanks for your speedy reply!

    I did not see that the documentation is paginated, so I nearly gave up. But when I found the full documentation I gave the core plugin a shot again yesterday and that works actually pretty well with MU. So far I could do everything I want and since I am using MU only to look after several of my own pages from a single install it´s alright to work without the admin interface.

    Still, I think for other people using MU your plugin with the admin interface would be great, since it´s difficult to get breadcrumbs otherwise and I think they are important usability-wise. So, if you need more help in perfecting this I am glad to help.

    Thanks a lot for your work,

    George.

  • My host has PHP 5.2.5 and yet I still get

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/jkingary/public_html/ourenglishclass/wp-content/plugins/breadcrumb-navxt/breadcrumb_navxt_admin.php on line 37

  • G.Scott,

    Try running the function php_info(), see what PHP version it tells you that you are running. Even though your host has PHP5 available it may default to PHP4 in which something may need to be switched (a setting in Cpanel for hosts that have that or add AddType x-mapp-php5 .php to your root .htaccess file).

    -John Havlik

  • Hi John,
    Nice work on this plugin – really useful!

    I have a page template that is calling a specific category – in the breadcrumb trail instead of going back to the page it goes back to the category archive.

    So… http://www.domain.com/pageName/ –> http://www.domain.com/category/pageName/

    anyway of removing the category call in the URL?

    Cheers,
    Simon

    • Simon,

      The permalinks in the breadcrumbs are generated by WordPress functions and should be correct. I really need to know more about your setup to diagnose the problem. Are you using a static frontpage? So you are talking about a post that is a member of a category that has a page template for it, what part of the breadcrumb trail is linking to what?

      -John Havlik

  • Hi John,

    Wow quick reply! So basically I have a static front page.

    I have a page which calls only one category – the URL looks like this “http://www.domain.com/pageName/ ” when you click a “more link” on one of the posts you get “http://www.domain.com/articleName/”

    On the article page – the parent page breadcrumb URL looks like this “http://www.domain.com/category/pageName/” So basically it takes me to a archive for the category instead of back to my page ( “http://www.domain.com/pageName/” )

    Hope that makes more sense… oh and I am using the basic implementation.

    Cheers and thanks again John.
    Simon

    • Simon,

      So you are using a plugin, or page template so that the page displays a category archive. Ok, well this is a WordPress issue :) . The permalinks in Breadcrumb NavXT for categories are found using the get_category_link() function. That function is in the WordPress API and follows what ever rules WordPress forces for permalinks.

      At the moment the best (safest) thing to do to have a custom category archive is to create a separate template for it.

      -John Havlik

  • Thanks John – good suggestion – worked a treat.

    Simon

  • Is their anyway to adjust the CSS to this breadcrumb? I need to add a bit of spacing.

  • Ian

    Hi
    I am having a problem trying to get the home link in the breadcrumb trail to display different text in link other than Blog,
    tried changing the Home Title text in the config panel to home and also selecting the

    Leave the home breadcrumb out of the trail.
    option and saving the changes but nothing happens when i refresh the front end page

    • Ian,

      How are you calling the breadcrumb trail? If you are directly calling the bcn_breadcrumb_trail class then you can not use the settings in the administrative interface to change the home title. Using setting the “Home Breadcrumb” setting to “Leave the home breadcrumb out of the trail” will remove the home breadcrumb out of the trail on all trails called by the “basic usage” code, if nothing happens then most likely you are not calling the plugin properly for the way you are trying to set settings.

      -John Havlik

  • Ian

    Hi John

    Thanks for that, I thought that I used the basic call, but I used the advance call by mistake.

    Sorry for wasting your time, with a stupid question. I think I was distracted with my two year old at the time who wanted me to draw for her.

    A great plugin by the way

    Yours
    Ian

  • hi John -
    Thank you for creating this awesome plugin!

    It worked like a charm for me, pretty quickly. what a refreshing experience!

    I do have one question, is there any way to use an unordered list instead of just a containing div?

    The main reason I would like to do this, is I actually want the path to appear in reverse.
    The breadcrumbs are right aligned on my page, and I would like the trail to appear like this:
    Current page > Subsection > Section > Home

    Using an unordered list and floating it right works, but if you have any other suggestions about how to make this work with your plugin, I would be supremely appreciative.

    thanks!
    Andy

    • andy,

      You can use the breadcrumb prefix and suffix properties, to wrap each breadcrumb in <li> tags. Then the entire thing can be wrapped in a <ul> tag. Just make sure to set the breadcrumb separator to null, otherwise you won’t get valid html.

      -John Havlik

      • andy

        John –
        1 further question.

        I am using WordPress for a whole site, not just blog. So I have lots of pages. So my breadcrumb trail generally displays a list of pages:
        Current page > Subsection > Section > Home

        For the page prefix I used and suffix

        For current Item prefex I used and suffix

        However, this generates the following code:
        Current

        Any suggestion on how to set this up to avoid the nested li?

        I notice for the Home prefix, I and suffix and this does not generate nested tags.

        thanks!
        Andy

        • andy

          ahh shite I just realized the code didn’t display.

          let’s try this again…..
          For the page prefix/suffix I used
          <li> </li>

          For current Item prefex/suffix I used
          <li class="bc_current"> </li>

          However, this generates the following code:
          <li class="bc_current"><li>Current</li> </li>

          • andy

            and for home page prefix/suffix I used

            <li class="home"> </li>

          • andy,

            You may find the documentation slightly helpful for this. Basically, what is going on is that prefixes and suffixes are layered on, in an onion fashion. Current_Item_Prefix, for example, will always be applied to the current item’s breadcrumb, if the current item also happens to be a page then the Page_Prefix will be applied as well, and so on. I would not use <li> tags for the current item (other types should pick up the slack there), and if you want a special style for the current item, try wrapping it in a <span> tag.

            -John Havlik

  • andy

    thanks John! much appreciated!

  • mnr

    I’m getting the trail without any links to the breadcrumbs now that I have updated to the latest stable version which I just downloaded and installed.

    Any idea why this is happening? I want the links to the parent pages etc to appear…
    thanks in advance.

    • Mnr,

      Typically deactivating and reactivating the plugin will solve this problem automatically (it will check if the anchor templates are blank and fix them accordingly).

      -John Havlik

  • mnr

    ok solved it.. read documentation and found the right setting

    I set this setting in page and post anchor:
    <a href="%link%" title="Go to %title%.">

  • I had the same problem of making the links work, the documentation wasn’t very clear as to what to put where.

    I found the text here:
    http://mtekk.weblogs.us/code/breadcrumb-navxt/breadcrumb-navxt-doc/3/#code_examples

    Just copy and paste this code into ‘home anchor’, ‘post anchor’ and ‘page anchor’ fields :
    <a href="%link%" title="Go to %title%.">

    it works beautifully. Great plug-in indeed.

    Posted this for someone facing a similar issue :-)

    • Azmeer,

      So the defaults are not loading in a new install environment now? That’s not good, I’m going to have to look into that. Anything with your server setup (PHP version, WordPress version) that you’d care to share to help with testing.

      -John Havlik

  • newbie

    John,

    Thanks for the plugin, it is very useful.
    I got a question here, please have a look of the following :

    Home > Mystory > Feb > Rainy day

    can i disable the link for Feb which locate at third in the breadcrumb trail ?
    I got try took away this <a title="Go to %title%." href="%link%" rel="nofollow">in Page Anchor setting, it can disable the link but it also disable the links of Mystory. Is there any solution on this that i just wan to disable the Feb link but not others?

    Please help me on this and i appreciate your help very much.

    newbie

    • When you place code of any type in a comment, please surround it by tags so that it outputs properly. Removing the anchor template will not actually remove the link, and it’ll actually cause invalid HTML to be produced. There is not “easy” way to just unlink “Feb”, it is possible, but you’ll have to directly call the bcn_breadcrumb_trail class and do a little manipulation. However, Feb really should be linked it if is in the breadcrumb trail, otherwise it should not be in the breadcrumb trail at all. You defeat any usability benefits of the breadcrumb trail if you decide to have any breadcrumb, other than the current page’s breadcrumb, in the trail unlinked.

      -John Havlik

  • Hi John,
    thanks for a great plugin and your support.
    I am using the Admin Interface, as I have very little php knowledge.
    Is there a way to stop the Home breadcrumb from appearing on the Homepage only.
    I want it to appear in the category pages and all other pages but not on the Homepage itself.

    many thanks
    Jacky

  • Is there any way to make my breadcrumb in drop down form? I was told you guys may have the code to get me this. Any help would be appreciated.

  • Jérôme

    Hi there, very nice plugin !
    Really useful. Should be integrated to WordPress core in my opinion (-;
    Only one thing doesn’t work as expected on my website : I’m using the Language Switcher Plugin from Poplar ProductivityWare (link) and the breadcrumb displays perfectly when in pages (example) but not when showing a single post in which the special multi language syntax is shown instead of the translated category name (example).
    What’s wrong here ? A problem with Language Switcher or with BreadcrumbNavXT ?

    • Jerome,

      The plugin by Popular ProductivityWare is known to have issues since it is outdated and does not uses any of the newer WordPress filters. At the moment I recommend using something like qTranslate instead. They are both based off of the much older ployglot plugin.

      -John Havlik

  • int19

    I plugin this script on my website. I follow all instructions but Featured News section not show image.

    Please advice
    int19

  • I’m having trouble with the breadcrumb trail when I categorize a post in 2 different top level categories.

    I have all my posts categorized under this structure:
    – Product Brand
    – Brand Subcategory

    On some posts, I also want them categorized like this:
    – Top Editor Picks
    – Bestsellers

    When I do this, the breadcrumb is reflecting the later example instead of the brand categories, which is not what I want. By default, my theme organizes categories alphabetically. It seems the breadcrumb will reflect a trail based on the category with the first letter closest to the beginning of the alphabet.

    Is there any way to set priority of which category will be used for the trail?

    • Logan,

      Since version 3.3.0, Breadcrumb NavXT picks the first category hierarchy it can find (e.g. the first category that it is a member of that has a parent category). Prior to that there was a bug that caused it to pick the last category hierarchy it could find.

      At the moment there is not a way to do this natively. See this comment.

      -John Havlik

  • DarioDN

    How can I set the “depth” of trail?
    Example:
    I’ve Category->Page->Sub-Page->Sub-sub-page (maybe).
    I would set the plugin when user’s in Sub-sub-page trail remove “head-trail” (=”Category”) becoming:

    Page->Sub-Page->Sub-sub-page …

    is possibile?
    tnx

  • DarioDN

    And how can I hide the “current title page” from trail?

  • Coolbert

    I don’t have PHP 5 so I tried uninstalling the NavXT plugin using the WordPress admin panel and it doesn’t let me uninstall.

    I get the following: Parse error: syntax error, unexpected T_CLASS in “…”plugins/breadcrumb-navxt/breadcrumb_navxt_uninstaller.php on line 18

    Is there another way to uninstall the NavXT plugin?

    Thanks

    • Coolbert,

      You’ll have to FTP in and delete the files. Breadcrumb NavXT absolutely requires PHP5 (as will WordPress in the near future), it is best to get PHP5 installed.

      -John Havlik

  • Stefan

    Hi John,

    I have actually 239 categories. So most post are posted in several categories. To build up nice looking permalinks, I use the plugin sCategory (http://kpumuk.info/projects/wordpress-plugins/scategory-permalink/) . Unfortunately the breadcrumb trail often uses another category than the permalink. It would be great, if the next version of your breadcrumb plugin could use the same categories as the permalink if that’s possible.

    Greetings
    Stefan

  • Martin

    Hi,
    I know this will be something really simple, so for that i apologize for wasting your time, but i have used the old version of breadcrumb navXT before and have not witnessed this behaviour before.

    basically child pages are not being displayed in the breadcrumb navigation, i am not recieving any error messages,

    please help

    thank you in advance
    Martin

    • Martin,

      Make sure you are using the proper calling function.

      <div class="breadcrumb">
      <?php
      if(function_exists('bcn_display'))
      {
      bcn_display();
      }
      ?>
      </div>

      Also, make sure the plugin is activated.

      -John Havlik

  • I was having an issue with the FAQ issue: “My breadcrumb trail on all my posts is for the same post.”

    All that was needed is to call this function before outputting the breadcrumb:

    wp_reset_query();

    • Ryan,

      Thanks for the tip. This problem surfaced before much of any documentation of wp_reset_query() existed. It basically does the restoring of the $post variable for you.

      -John Havlik

  • When I try to use the “Breadcrumb Max Title Length” setting I get the following error:

    PHP Fatal error: Call to undefined function mb_strlen() breadcrumb-navxt\breadcrumb_navxt_class.php on line 85

    I am using PHP Version 5.2.13

    • Jason,

      Make sure your host provides a PHP build with Multibyte String/UTF-8/Unicode support. All PHP5 installs should have this unless it was not compiled into that specific PHP5 install.

      -John Havlik

  • BTW, I am also using WP 3.0

  • gary

    Hello,

    I’m using Breadcrumb NavXT 3.6.0 for my website breadcrumb, i got one of trail repeated on all my breadcrumb, for example:

    the category structure was:

    Gallery > Profiled Clients > Cooley Auctions

    My breadcrumb show

    Blog > Cooley Auctions > Gallery > Profiled Clients > Archive by category ‘Cooley Auctions’

    Where “Cooley Auctions” is repeated, and the order was wrong;

    Here is the link to my site http://www.studiomardo.com.au/studiomardo/

    can anyone please help me with this?

    Best regard

    • Gary,

      It looks like the breadcrumb trail is correct on your site right now. The ING Insurance page does the following:

      Home | Gallery | Profiled Clients | ING Insurance

      And for the profiled clients page for Bresic Whitney I see the following breadcrumb trail:

      Home | Gallery | Profiled Clients | Bresic Whitney

      Did you figure this out on your own, or is it still broken for you?

      -John Havlik

  • Hi John,

    How do I get each items to be displayed as a list. item 1 . Currently it just displays > Blog

    George

  • Anika

    Hi there

    Lovely plugin, thank you. I’d like to remove the last item in the trail ie. the current page. Can you let me know where I can take this out?

    Thanks!

  • I would like to change the link, hover and visited colors. The visited links currently blend into the background. I cannot find out what css controls the breadcrumbs style formatting.

    Can you tell me how to make the change.

    • Bruce,

      Styling very much depends on your theme and where you have the calling code placed (mainly what is surrounding it). Due to these rather large number of possibilities, styling is left as a task of the end user which is outside the scope of this plugin.

      -John Havlik

  • Hi,
    I tried network activation on a multisite WP 3.0.1 (PHP 5.2.6, MySQL 5.0.51a) and it looks like the plugin doesn’t work properly.
    Everything works fine on the default blog (default option values showing, saving edits…), but on the others all option fields are blank, and as I try to save input data I get this (full server path hidden on purpose):

    Warning: Invalid argument supplied for foreach() in [SERVER_PATH]/breadcrumb_navxt_admin.php on line 323

    and obviously it doesn’t save. As a result, breadcrumbs don’t have separation characters and don’t behave as expected.

    When activating the plugin one blog at a time everything works fine.

    • Alberto,

      Breadcrumb NavXT does not support WordPress multisite installs at the moment. I’m not exactly sure what’s wrong here, but most likely the proper options entries are not getting created, a plugin deactivation/activation cycle should fix this, though it may be required for each site.

      -John Havlik

  • Marcos

    It would be great if you clearly post on your plugin explanation the issue of the breadcrumb repeating itself when the front page is a static one, so we would not waste our time discovering the truth in your FAQ page. It is a very simple and polite way to admit the limitation of the plugin.

    • I assume you are talking about this one:

      Q: In the breadcrumb trail output the current item’s breadcrumb shows up twice (once right after the home breadcrumb, and again at the end of the trail).

      A: Check your Front Page and Posts Page settings under Settings > Reading. Make sure the Posts Page setting is set. When you have a static front page you must also have a posts page defined, otherwise you will observe this behavior.

      I’m not sure this is still an issue, I don’t see it doing this on a production site of mine. I will check the development version against this to see if it is still an issue.

      -John Havlik

  • Hi !!! Very nice plugin, very usefull.
    Nevertheless, I accountered something strange (maybe it was done on purpose and I missed a point in the settings though)

    When I used the code (or the widget, same problem) on my website template, for posts in categories and clicked on the post it displayed something like :
    Home > Name of the post > Name of category > Name of the post.
    Same probleme on categories but even stranger :
    Home > Name of the last post in this category > Name of category

    I saw on the FAQ :

    Q: In the breadcrumb trail output the current item’s breadcrumb shows up twice (once right after the home breadcrumb, and again at the end of the trail).
    A: Check your Front Page and Posts Page settings under Settings > Reading. Make sure the Posts Page setting is set. When you have a static front page you must also have a posts page defined, otherwise you will observe this behavior.

    The problem is, that I don’t want to set up a static page for posts, because of the sidebar I’ve made. I use a custom template to display my posts on a page called “blog”, if I set this page as “static front page for posts”, I will not get my sidebar anymore. So I finally went playing with the settings, and desabelling “Place the blog breadcrumb in the trail. ” (enabled by default if I remember) seams tosolved my problem (for the moment?).

    I don’t really know if this is a bug, or a feature on purpose I missed, but maybe some point of documentation could be usefull here, like saying that if you don’t set a static page front page for the posts but only for a page, you should desable this option in order to make the plugin work ? (or maybe I have missed the documentation ? ^^ )

    • I just performed another test on this against what will be 3.7.0 (release pending translation updates, I’m missing 6 of them at the moment so I am holding the release until at least two more of them are brought up-to-date). Configurations where the posts page is not set should not cause odd behavior in the breadcrumb trail in 3.7.0. The code that was causing issues in the past has been significantly reworked in implementing some of the features in 3.7.0.

      If you are trying this on a development site, I suggest you try the SVN Trunk (aka development) version of Breadcrumb NavXT (internal version is something like 3.6.90). Let me know if it solves your issue or not.

      -John Havlik

      • Hi :)

        Thanx for the tip, the SVN Trunk fix solved my issue !!

        But something funny happened : it works on everypage except my blog page.
        The blog page is called “blog”, and the breadcrum displays home>home (instead of home>blog). Even funnier, the bug is only on the french version of the site (main language). When I go to German, I get the home>nachrichten and when I go to English, I get the home>news. Strange …
        I tried to rename my blog page “miaou” , and … home>miaou . I tried renaming it “blog” : home>blogs. So I think the bug is with the world “blog” itself. Kind of strange, did I miss something in the settings ?

        • Well, this could be one of two things. As you have a multi language site, you may be running into a change that will be introduced in 3.7.0 in regards to translations. Since some multi language plugins allow you to exploit the built in WordPress gettext translation engine, all titles for breadcrumbs are now passed through an appropriate WordPress translation API function. If you have ‘blog’ in your translation deck for a language, then it will get translated.

          The other thing that could be causing the issue is the location of the breadcrumb trail calling code. It could be after a custom loop or something that has been known to throw off Breadcrumb NavXT (not much I can do to prevent this unfortunately).

          Lastly, after rereading your first comment, I feel that I should let you know, for what you are doing, it should be possible to use the “page for posts” setting. What you need to do is makesure your index.php (or home.php, depends on your theme) in your theme is modified to have the sidebar you want (I assume it is a sidebar widget thing). I recommend this over having a page template that has it’s own loop in it as all that is doing is reinventing the wheel.

          -John Havlik

          • Hi and thank you for the answer. I’m using WPML for multilinguism, and after some search, I descovered that it had a built-in breadcrum trail. Not so great and with less features than yours, I think that I will use this one for the moment and wait for the 3.7.0 release of your plugin. For the moment it is nevertheless perfect for one language website ^^
            For the blog template, thank you for the advice, I tried this at the begining, but what I wanted to do was a little bit more complex, since I wanted to display the text in “blog” page + an excerpt of the 5 last articles in x and xx category. So I thought that instead of tweeking the index.php code, I could just create a template with all the code :)

  • Jeff

    I’m trying to use your breadcrumbs widget/plugin on our website. I finally got it to work with the theme, however, only the first four letters of each page title shows with 3 periods after them. How do you get it to look like the following?

    Home>About Us>page title

    • Jeff,

      What do you have set as your “Breadcrumb Max Title Length”? If you don’t want it to be restricted, set “Breadcrumb Max Title Length” to 0.

      -John Havlik

      • Jeff

        And where do I set the title length. I have done nothing but install the plugin and attempt to put it in the header and as a widget in the sidebar. In either case that is what I got. Also in looking at the widget there is no place to case anything to breadcrumb except for 4 or 5 check boxes.

        Furthermore I have no clue where I would go to change the code.

        No I don’t want to restrict the length of the breadcrumb, I want to show the entire breadcrumb.

  • BeN

    Hi John, nice pluggin

    I have multiple cats with multiple hierarchy is possible to choose or hard code which category will be use for the breadcrumb?

    And i have a problem with Blog, i have a blog page, and a blog-word custom post type… when i navigate to the Blog Page my breadcrumb only shows “Home” and when i navigate to a post of the custom post type (blog-word) my route is this: home>home>{blog-word-title}>{post-title} i mean, repeat the home word even the second home word is pointing ok to the blog page.

    Thanks in advance

  • BeN

    Hi, i found a solution for “choose” which category will use for a post with multiple cats… i did this, on the file breadcrumb_naxt_class.php on the function post_taxonomy

    line 402: if(is_array($bcn_object)){

    //i made to that array a sort:
    sort($bcn_object);

    sorting the array will choose the lowest numbered as the wp codex says. Now i only have to change my cats ids with a SQL script choosing which ones will be the lowest ids.

  • david

    Hi,
    I didn’t found out how to make it work the breadcrumb on constom taxonomy pages.
    For example I have a custom taxonomy Movies { Romantic, Horror, … }
    I made a page taxonomy-movies.php, where I put:

    but it display me just Home > Horror, not Home > Movie > Horror.
    Can anybody help me out with this?
    thx

    • David,

      Well, it really doesn’t work that way at the moment. There traditionally has not been a “root” page for a taxonomy (category or tag). With WP 3.1 some things are changing so I may be able to add this in the future. However, that will not make 3.8.0, and I can’t make any guarantees.

      Typically, what you’d do is have a custom post type of “movie”, that has a custom taxonomy “genre”, then you’d have a root page for the “movie” post type named “Movies”. That would generate the logical structure you are after.

      -John Havlik

  • david

    Thank you for the answer, the structure it will remain root > custom taxonomy tag until then :)

  • nic

    Hi there,

    We’ve been using breadcrumb navxt and its been working great. We just however noticed that in IE7 its not showing up at all. Do you have any ideas or suggestions?

    thanks
    nic

    • Nic,

      This would be a styling issue. If you view the page’s source you should see the Breadcrumb NavXT output. As to why IE is flaking out, well it’s anyone’s guess, but I’d advise removing styling until it reappears in IE, then you’ll know the offending code.

      -John Havlik

  • brs

    Hi,

    i just installed your plugin. uploaded the folder to my plugin folder and tried to activate it. but i got an fatale error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 84 bytes) in /var/www/vhosts/[blogname]/httpdocs/blog/wp-includes/pomo/mo.php on line 206

    i use wordpress 3.0.5
    genesis framework child theme parse

    any ideas what’s going wrong?

    thanks for helping!
    brs

  • brs

    i already realized that the problem is my fault or rather the problem of my the server.

    brs: Hi,i just installed your plugin. uploaded the folder to my plugin folder and tried to activate it. but i got an fatale error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 84 bytes) in /var/www/vhosts/[blogname]/httpdocs/blog/wp-includes/pomo/mo.php on line 206i use wordpress 3.0.5
    genesis framework child theme parseany ideas what’s going wrong?thanks for helping!
    brs

  • Excellent plugin mate – easy to configure. Thanks.

  • AndyiBM

    Hi John,

    I’ve used this plugin on several sites previously and it’s been excellent.

    However, I’m developing a new site now which has a structure I’ve not used with your plugin before, and I’m getting unexpected results…

    I have two pages set for ‘Front Page’ (“Home”) and ‘Post Page’ (“Blog”). I have two or three categories which are independent from the Blog (one called “Events”), but the breadcrumb displays “Home » Blog » Events” on this page, which is not what I require – I would expect to see “Home » Events”. Also, when clicking through to an Event post detail, the breadcrumb only displays “Home » Blog » Postname” – The “Events” part disappears altogether.

    I have tried adjusting the only part in the ‘Settings’ I can see to change… the “Blog Breadcrumb”, but this doesn’t help.

    Is there anything I can do here? Or is my site structure not compatible?

    Many thanks,

    Andy

    • Andy,

      The taxonomies built into WordPress are interpreted by the plugin as children of the “posts page” since they are part of the posts/blog “flow”. However, this is not exactly how it is implemented. What is actually done is the plugin looks at the post type of one of the returned posts for the taxonomy archive. Then it tries to find the root page for that type (posts are tied to the posts_page).

      To do what you are looking for, you should look into using a custom post type for events (depending on your setup this may be the best way to go anyways).

      You should see “Home > Blog > Event > Postname”. Check what you have set for “Post Taxonomy Display” and “Post Taxonomy Type” in the settings page.

      -John Havlik

  • stein

    Hello, great plugin!

    I have a issue with tags not showing up in the breadcrumb when used like this;
    http://www.webpage.nu/category?tag=bananas
    It doesn’t show current tag, only current category.

    Is there an easy way to fix this?

    Stein

    • stein,

      Breadcrumb NavXT does not support multi-query term archives yet. I’m not sure how much needs to be changed to support this. After a quick look at it, I know that I need to do more digging to actually find something to check to implement it (there is only one queued object and it is a category in this case). Don’t plan on seeing this fully supported until Breadcrumb NavXT 4.0 (next release, but that’s in late May time frame).

      -John Havlik

      • stein

        thank you for your prompt answer,
        looking forward to the 4.0 version then.
        In the meanwhile i did have partial success with this code;
        if (is_tag() && is_category()) { //tagstuff }
        Only problem now is that the “parent” category crumb links to the current URL – like this: ...category/?tag=bananas, not ...category/

        Any hints on this one?

        Stein

  • Gonzalo

    I’m using the Breadcrumb NavXT and it’s grate. But (as always) I have a problem with IE7 when using a image on the first link of the breadcrumb.
    The problem is caused by IE7 that thinks that the comment ” Breadcrumb NavXT 3.8.1 ” is the first element, so the never appears.
    Is there a way to remove the ” Breadcrumb NavXT 3.8.1 ” or at least move it somewhere else so it doesn’t affect my design?
    Thanks

    • Why don’t you set the home prefix and suffix (opening and closing span tags) and style that with the correct selectors instead of using the :first-child selector that IE7 doesn’t treat properly?

      -John Havlik

  • Daniel Villegas

    Hi, great plugin, thank you very much.

    Titles for category pages appear in quotes, probably for use in template title Archive for category ‘whatever’, but I would like to use just the category name, how can I remove those quotes?

    Thanks.

    • Daniel,

      Look at the Breadcrumb NavXT settings page, under the “Category” tab you will find some prefix and suffix options, make the changes you need in them.

      -John Havlik

Leave a Reply

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