Breadcrumb NavXT and bbPress Compatibility

Notice: This topic is being revisited in August/September 2020, with a new guide that is more applicable to how Breadcrumb NavXT and bbPress work as of that date. Below is the original article which remains for historical purposes.

While developing Breadcrumb NavXT 5.2, I spent some time investigating the compatibility issues between Breadcrumb NavXT and bbPress. Within Breadcrumb NavXT, every attempt is made to use the WordPress API, when possible, to maximize the compatibility with other plugins such as bbPress. However, this is not always enough, and the findings of this investigation are presented in this article.

Continue reading

WP Lynx 1.0.0

Presenting WP Lynx 1.0.0, the first major refactoring of WP Lynx. This version prominently features a new Lynx Print adding interface which mimics the new WordPress media manager. In addition to this new interface, the plugin’s internals were reorganized to match the plugin base layout style implemented in modern versions of Breadcrumb NavXT. Also new, WP Lynx now includes minimized script and style files. Lastly, the maximum number of redirects the page scraper will follow is user configurable.

On the bug fix front, this version has code that should prevent instances of Lynx Prints being added within existing Lynx Prints in a post (aka prevents Lynx Printception).

You can grab the latest WP Lynx on the WP Lynx plugin page.

-John Havlik

[end of transmission, stay tuned]

An Update on WP Lynx 1.0.0

This has taken much longer than originally expected, but a new version of WP Lynx is finally nearing completion. All of the issues for the 1.0.0 milestone have been closed, and the SVN trunk has been updated with a preview release. The release of WP Lynx 1.0.0 is slated for the end next week. Much of the plugin has been rewritten and reorganized for this release. The largest user facing change is a major update to the Lynx Print adding interface. See below for a screenshot of the new Lynx Print interface.

WP Lynx 1.0.0 Lynx Print Adding Screen

The new Lynx Pring Adding Screen

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT 5.1.1

This is the first bug fix release of the 5.1 branch of Breadcrumb NavXT. 5.1.0 introduced a bug in the behavior of attachments, where the attachment and parent would have the same link. This has been fixed in 5.1.1. Additionally, the check for WP_Post in bcn_breadcrumb_trail::do_post() has been reduced from a fatal PHP error to a _doing_it_wrong() call producing useful information for developers.

Additionally, two bugs that affect versions other than just 5.1.0 were fixed. Breadcrumb NavXT will no longer cause PHP to throw errors or warnings on author archive pages for authors with zero published posts. The author archive code was modernized and made much more robust than that in 5.1.0 and earlier. Lastly, the parameters for the included widget’s (pre) text filter were changed to match the default WordPress text widget’s text filter parameters.

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]

Breadcrumb NavXT 5.1.0

Holy squashed bugs Batman! Breadcrumb NavXT 5.1.0 features 13 bug fixes and one new feature. Several small tweaks were made to the settings page to improve the overall experience, including handling HTML5 form validation errors in a more intuitive manner. The settings importer should work once again in this release. Previously, there was a bug where it read the version string incorrectly, causing the settings to never be imported. ‘typeof’ was added to the list of valid HTML tag attributes for all accepted HTML tags in the breadcrumb templates.

Internally, fixes were made to the bcn_breadcrumb_trail::do_author() and bcn_breadcrumb_trail::do_root() functions. Additionally, the bcn_breadcrumb_template filter should be available again, it was left out as a regression in the 5.0 release. Lastly, two edge cases were fixed in the custom post type default settings generation code.

Changes to bcn_breadcrumb_trail::do_post()

If you are using the Breadcrumb NavXT Multidimension Extensions plugin, please update it to version 1.7.1 or later. If you have written an extension plugin to Breadcrumb NavXT please take note.  As of Breadcrumb NavXT 5.1, bcn_breadcrumb_trail::do_post() expects to have a valid WP_Post object passed into it. Any plugins extending this function will need to be compatible, otherwise PHP will throw warnings.

Changes to breadcrumb_navxt and mtekk_adminKit classes

breadcrumb_navxt now stores it’s version as a constant (makes it easier to read without instantiating the class). Likewise, mtekk_adminKit‘s internal version is now a const. Lastly, a new filter, bcn_opts_update_prebk was added. This filter is run by the bcn_admin::opts_update_prebk function, it filters the options array just before being backed up during a settings save.

RDFa Breadcrumbs

New in 5.1.0 is RDFa Breadcrumbs support. All new installs will, by default, have settings configured to support RDFa Breadcrumbs. Since this primarily affects the breadcrumb templates, those upgrading from older versions can either manually add in the RDFa markup to their breadcrumb templates. Or, you can do a settings reset (via the help menu on the Breadcrumb NavXT settings page) to get a fresh set of settings that are the same as if you installed Breadcrumb NavXT for the first time.

Widget Features and Fixes

There were two bug fixes and one new feature for the included widget in this release. The new feature is support for RDFa Breadcrumbs, which has replaced Beadcrumbs support (since none of the search providers actually use Breadcrumbs support was dropped for now). On the bug fix front, a case where the widget could throw PHP warnings on the frontend was fixed. Lastly, the widget title and the text shown before the breadcrumb trail are now passed through filters (widget_title and widget_text) to aid translation plugins such as WPML.

The Translation Team:


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]