Breadcrumb NavXT 5.5.1

This is the first, and hopefully only, bug fix release of the 5.5 branch of Breadcrumb NavXT. One bug was fixed in this release. Breadcrumb NavXT 5.5.0 introduced a bug on sites that use static front pages.

On sub-pages (of the page post type), a breadcrumb representing the page for posts would be erroneously included in the breadcrumb trail. This was due to a bug in bcn_breadcrumb_trail::find_type() that identified pages as posts. Previously, this did not cause a problem due to redundant code in bcn_breadcrumb_trail::do_root(). That code was removed in a cleanup of bcn_breadcrumb_trail::do_root() in 5.5.0. As part of an ongoing effort to add automated testing for Breadcrumb NavXT, unit tests were added to capture this bug (should further changes to do_root() cause it to reappear.

As always, you can grab the latest version of Breadcrumb NavXT from the Breadcrumb NavXT page. If you experience any issues with this version of Breadcrumb NavXT, please leave a comment on this post detailing the issue.

-John Havlik

[end of transmission, stay tuned]

10 thoughts on “Breadcrumb NavXT 5.5.1

  1. John:
    Regarding the settings for my Breadcrumbs NavXT plugin:
    Quick question about my being in POST TYPES tab. I have this line of code in “Post Template” box (and other forms), and should I edit it to something else? I think I should, since it seems to be a long line of default code. Here is what I mean:

    <a title=”Go to %title%.” href=”%link%” rel=”nofollow”>%htitle%</a>

    Is it better to add something else? I ask, because I initially wanted to add the breadcrumb trail across 64 or so category pages like this one for example: and any advice will be appreciated. Keep up your good work.


    • Hi Dan,

      The default values for the different breadcrumb templates are suitable for most installs. Changes can be made for the cases that require them.

      Please note that you will want to be careful with any changes you make in it given the default value is compliant with the BreadcrumbList data format. However, if you want to add a rel="nofollow" to the anchors, that should be fine.

      -John Havlik

      • John: In my POST TYPES tab in the Breadcrumb NavXT Settings page, the Post Template box where underneath it reads: “The template for post breadcrums” is this code:


        and what I am trying to verify, is whether or not this code can essentially be edited down? I ask, because see just a sampling of a few of the 64 separate category pages I have the breadcrumbs appearing:

        and as it stands now, what editing can I do to make that work better for my SEO? Your insights would be greatly appreciated….THANK YOU


        PS: For instance, can that main text be deleted of my index page? See: (or is it better to be there?)

        • well, I am trying to show some code and links for examples but see this isn’t going to work…’s editing things and also classifying my response as spam….how about emailing me directly, I would appreciate this. Contact me at my form on DansCartoons site (type into Google). This form has too many limitations

          • Hi Dan,

            To place code in your comments, without it getting mangled, use the HTML tag (see the code button above the comment entry box). Otherwise it can become a mess, as you’re experiencing.

            -John Havlik

        • Hi Dan,

          Dan Rosandich: what I am trying to verify, is whether or not this code can essentially be edited down?

          What are you trying to achieve by editing down the breadcrumb templates? There is only so much you can remove from them before they are no longer BreadcrumbList compliant (Google and other search engines understand the BreadcrumbList microformat).

          Dan Rosandich: For instance, can that main text be deleted of my index page?

          Yes, wrap the whole call to bcn_display() with an if statement that checks !is_front_page(). See for an example of this.

          -John Havlik

  2. Great to know that your plugin is compliant with the BreadcrumbList data format. Given your caution about making changes, how is this handled when itself updates?

    Also, what recommendations do you have for breadcrumb navigation when a product page can be reach via multiple routes?

    Examples: and

    Thank you in advance for your helpful responses.

    • Hi Jeannie,

      While the standard may change over time, to adopt to usage needs, I honestly do not see a need for it to change drastically in the immediate future. That said, if a change does happen, I will update the default templates that ship with Breadcrumb NavXT. Additionally, a migration routine will run on all breadcrumb templates that remain at the previous version’s default value. End users will have to manually migrate templates that they have modified (in some cases automated migration may be possible, depending on what changed).

      Ideally, every resource has one true location (route to it), and all others are secondary/tertiary routes. In that case, you would want the true location to be displayed on the resource, regardless of how the user arrived at that location. This is the philosophy Breadcrumb NavXT subscribes to. 5.5.0 introduced a new feature that allows a visitor’s route to a resource influence the breadcrumb trail displayed. However, this is primarily targeted at the use of multiple taxonomy types to reach a post (of any type) rather than multiple term hierarchies within a single taxonomy.

      -John Havlik

  3. Hi John~
    Thanks for all the hard work, love the plug-in! Question…I want to place the blog breadcrumb at the start of the trail. In order to do this I have to set the posts page in Settings -> Reading -> “blog page.” However, the theme I am using does not support a static posts page. The home breadcrumb works, but I do not want the home page in the trail. How can I hard code the URL of the main blog page so it appears at the start of the trail?

Comments are closed.