Breadcrumb NavXT 6.3.0

Holy Gutenberg breadcrumb trail block Batman! Originally scheduled for inclusion in Breadcrumb NavXT 6.2, the Breadcrumb Trail Gutenberg Block finally makes an appearance in 6.3. Additionally, changes were made to improve accessibility standards support (both in the settings page and in the breadcrumb trail). Lastly, a bug that caused a PHP error in bcn_breadcrumb_trail::fill() has been fixed.

bcn_display_attribute_array Filter

Back in 6.0, the bcn_display_attributes filter was added to replace the old bcn_li_attributes filter. This was little more than a name change for the filter. Unfortunately, neither filter is easy to use—both require string processing. As an alternative, easier to use filter, bcn_display_attribute_array was added to Breadcrumb NavXT 6.3. This filter works against a key-value pair array of the attributes.

bcn-aria-current Template Tag

To facilitate WAI-ARIA Breadcrumb support, a new template tag was added in 6.3. Unlike the other template tags that start and end with %, this template tag is simply bcn-aria-current. This tag is replaced with aria-current="page" when the breadcrumb represents the current page, otherwise it is replaced with an empty string.

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.