Breadcrumb NavXT 5.7.0

Holy Schema.org BreadcrumbList compliant JSON-LD breadcrumb trails Batman! Breadcrumb NavXT 5.7.0 introduces a new bcn_display_json_ld() function. Additionally, three bugs were fixed in this release.

The new bcn_display_json_ld() function outputs JSON-LD data that is Schema.org BreadcrumbList compliant. This helps facilitate the display of breadcrumbs in WordPress backed JavaScript applications. Additionally, the selected BreadcrumbList format is supported by Google.

On the bug fix front, the cause of PHP Errors when running the uninstaller from within WP CLI was fixed. Additionally, the cause of a PHP Warning in bcn_breadcrumb_trail::find_type() was resolved. Lastly, a typo in the settings page was fixed.

Looking Forward to 6.0.0

The next release of Breadcrumb NavXT will be 6.0.0. It is scheduled for mid-summer in celebration of 10 years of maintaining Breadcrumb NavXT (originally released as Breadcrumb Navigation XT). Be aware that 6.0.0 will drop the Max Title Length setting (already deprecated in favor of using CSS), along with the associated %ftitle% and %fhtitle% breadcrumb template tags.

Translations

As explained in the Breadcrumb NavXT Translations Moving to Language Packs article, Breadcrumb NavXT has moved away from shipping translations with the plugin. This is the first release to ship without any included translations, all translations are available via language packs, or from the Breadcrumb NavXT Translation Project.

If you would like to contribute to translating Breadcrumb NavXT, please visit the Breadcrumb NavXT Translation Project. A big thanks to all of the translators that have contributed to the translations in the past and continue to contribute.

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]

6 thoughts on “Breadcrumb NavXT 5.7.0

  1. Hi Guys,

    Do you know why, when checking “Link Current Page” in the settings – that suddenly there is a ton of errors in the Schema tester https://search.google.com/structured-data/testing-tool

    Unchecking it passes just fine – but as soon as I link the current page, it spits back about 16 errors such as “The property ________________ is not recognised by Google for an object of type WebPage.”

    • Adrian,

      All of those items appear to be outside the markup generated by the breadcrumb trail. When only the breadcrumb trail markup is included it validates. So, it looks to be a bug in Googles tool. In general, I would not recommend having the current item linked in the breadcrumb trail.

      -John Havlik

    • On typical sites, this only occurs when you are on the front page. Otherwise, the front page/home should be the second entry in the trail (I do not recommend disabling the display of the home or blog breadcrumb unless you know what you are doing).

      That being said, it’s possible. You if you are just dealing with the page post type, you can wrap the call to Breadcrumb NavXT with an if statement that checks if the page has a parent (if it doesn’t, avoid showing the breadcrumb trail). I remember being asked this in the past, and do not remember if I had a better solution or not.

      -John Havlik

  2. hi,
    In my case the “Allow the referring page to influence the taxonomy selected for the hierarchy” feature does not seem to work as in the case of a woocommerce product belonging to multiple categories, the breadcrumbs on the product page still display the first parent category based on alphabetical order (just like the default breadcrumbs of my theme). Example : a product belonging both to the “industry” and “residential” categories will always have “industry” as a parent in the breadcrumbs even if we found it through “residential”.
    Is there any way I can make it work ? my website is quaglia-diffusion.com
    thanks

    • Hi Fabrice,

      I think you are misunderstanding the behavior of the “Allow the referring page to influence the taxonomy selected for the hierarchy” setting. The key here is it influences the taxonomy selected when a post (of any post type) is a member of multiple taxonomies. It does not influence the taxonomy term selection when a post is a member of multiple terms in the same taxonomy. Breadcrumb NavXT Paths adds support for taxonomy term selection based on visitor path for posts that are members of multiple terms of the same taxonomy.

      -John Havlik

Leave a Reply

Your email address will not be published. Required fields are marked *