Trimming Breadcrumb Title Lengths With CSS

While Breadcrumb NavXT has a setting for specifying the maximum length of a breadcrumb title, this feature has shortcomings. Namely, it does not handle HTML elements gracefully. This has been looked into in the past and is not an easy thing to fix. Additionally, from a semantical point of view, the breadcrumb trail markup should never be truncated. Thus, it is recommended that you do not use the “Max Title Length” setting. In fact, this setting will be deprecated in Breadcrumb NavXT 5.2, and removed in 5.3.

CSS offers a better solution, which will not leave you with garbled and/or truncated HTML tags, should they exist in your tile. This guide will show a way of keeping your breadcrumbs to a reasonable length without using the “Max Title Length” setting.

Continue reading

Breadcrumb NavXT Premium Extensions Are Now Available

Foretold in a previous post, almost a year ago, premium extensions for Breadcrumb NavXT are in development. Today, the first three premium extensions are now available for purchase. These are: Breadcrumb NavXT Menu Magic, Breadcrumb NavXT Title Trixx, and Breadcrumb NavXT WPML Extensions. Visit the Breadcrumb NavXT Extensions Store to see all of the officially supported Breadcrumb NavXT extension plugins.

Breadcrumb NavXT Menu Magic

Breadcrumb NavXT Menu Magic
Breadcrumb NavXT Menu Magic allows the site administrator to select a WordPress Menu for Breadcrumb NavXT to follow for both titles and hierarchy for resources (posts, taxonomy terms, archives, etc). If the current item is not found in the menu, Breadcrumb NavXT will fall back to its default behavior.

Features

  • Define breadcrumb trail hierarchy using a WordPress menu.
  • Set alternate titles for breadcrumbs using a WordPress menu.
  • Insert custom breadcrumbs into the breadcrumb trail using link elements within a WordPress menu.

Breadcrumb NavXT Title Trixx

Breadcrumb NavXT Title Trixx
Breadcrumb NavXT Title Trixx allows a custom title to be set for any post’s (as in any post type) breadcrumb. It features integration with All in One SEO Pack and WordPress SEO by Yoast. If none of the supported SEO plugins are activated on the current WordPress install, an “Alternate Title” meta box will be available on all post edit screens.

Features

  • Supports replacing the breadcrumb title with All in One SEO Pack’s “SEO Title”
  • Supports replacing the breadcrumb title WordPress SEO by Yoast’s “Breadcrumbs Title”
  • Includes “Alternate Title” meta box for replacing the title if none of the supported SEO plugins are active

Breadcrumb NavXT WPML Extensions

Breadcrumb NavXT WPML Extensions
Breadcrumb NavXT WMPL Extensions improves Breadcrumb NavXT’s support for WPML Multilingual CMS. While Breadcrumb NavXT mostly works with WMPL Multilingual CMS, there are some deficiencies; see Breadcrumb NavXT and WPML Compatibility. With Breadcrumb NavXT WPML Extensions, string based settings within Breadcrumb NavXT and Custom Post Type root pages are translatable within WPML Multilingual CMS.

Features

  • Automatically links to the correct Custom Post Type “root page” for the current language
  • Makes Breadcrumb NavXT settings that are strings available for translation via WPML String Translation
  • Improves Breadcrumb NavXT widget’s WPML compatibility

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT Multidimension Extensions 1.8.0

It’s been a long time coming, but Breadcrumb NavXT Multidimension Extensions is now available on the WordPress.org plugins repository. As part of this ‘move’, a new release is available, version 1.8.0. For version 1.8.0, the plugin was heavily re-factored, and support for Breadcrumb NavXT 5.1 was added (while maintaining support for Breadcrumb NavXT 5.0).

You can grab Breadcrumb NavXT Multidimension Extensions from the WordPress.org plugin repository.

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT and WPML Compatibility

In the past two days, I took the time to investigate possible compatibility issues between Breadcrumb NavXT and WPML. Within Breadcrumb NavXT, every attempt is made to use the WordPress API, when possible, to maximize the compatibility with other plugins such as WPML. Occasionally, this is not enough and the findings of this investigation are presented in this article.

Continue reading

How to Implement RDFa Breadcrumbs with Breadcrumb NavXT

While the Google microformats for Breadcrumbs are verbose, ugly, and deprecated, to date, Google still doesn’t support Schema.org breadcrumbs. Thus, we’re going to have to live with the ugly RDFa format for the time being. While there is no ‘one click’ configuration for RDFa breadcrumbs within Breadcrumb NavXT, support for them is not too difficult to configure.

Calling Code Modifications

To begin, the wrapping div for the calling code needs to have xmlns:v="http://rdf.data-vocabulary.org/#" added to it. Below is an example calling code block for users of the regular bcn_display(); function.

<div class="breadcrumbs" xmlns:v="http://rdf.data-vocabulary.org/#">
    <?php if(function_exists('bcn_display'))
    {
        bcn_display();
    }?>
</div>

Settings Modifications

In general, you need a

<span typeof="v:Breadcrumb">

wrapping around every breadcrumb, and an inner element containing property="v.title" and rel="v:url" if the breadcrumb contains a link. For the most part this will result in two replacements need to be made to all of the breadcrumb templates. For the linked breadcrumb templates, replace:

<a title="Go to %title%." href="%link%">%htitle%</a>

with:

<span typeof="v:Breadcrumb"><a rel="v:url" property="v:title" title="Go to %title%." href="%link%" class="%type%">%htitle%</a></span>

Note the extra span containing the typeof declaration. This is necessary for Google to pick up on the breadcrumb objects (even though the tag is redundant as the property should work on the anchor).

For the unlinked breadcrumb templates, replace:

%htitle%

with:

<span typeof="v:Breadcrumb"><span property="v:title">%htitle%</span></span>

To jumpstart this replacement process, you can import the following Breadcrumb NavXT settings XML file. Breadcrumb NavXT RDFa Breadcrumbs settings file (Right click and select “Save As”).

One Last Thing

Depending on the version of Breadcrumb NavXT, the typeof attribute may not be accepted in the settings (it will get automatically stripped out). To fix this follow the process outlined in How to Add li and Other Tags to Breadcrumb Templates to add the typeof attribute to the span HTML tag. Otherwise, wait for Breadcrumb NavXT 5.1 (or 5.0.2) to be released.

-John Havlik

[end of transmission, stay tuned]