WP Lynx 2012 Roadmap

It has been over a year since WP Lynx has seen an update. Last December I meant to release 0.4.0, but fell behind on other projects. 0.4.0 is still going to be released, and the plan is sometime in April. There are several bug fixes and tweaks that improve the user experience within WordPress 3.3+. After 0.4.0 will come 0.5.0.

Slated for the 0.5.0 release is the introduction of support for the relevant portions of Facebook’s Open Graph format. Several behind the scenes changes are slated as WP Lynx will be the test platform for the development of the next version of mtekk_adminKit. Expect 0.5 to show up sometime this summer.

-John Havlik

[end of transmission, stay tuned]

Tagged:
Updated:

Using Schema.org’s Breadcrumb Microdata with Breadcrumb NavXT

Note, that Schema.org breadcrumb has been replaced by the newer BreadcrumbList. Please see the How to Implement Schema.org BreadcrumbList with Breadcrumb NavXT article for more information.

Unlike Google’s Breadcrumb micodata format, Schema.org’s microdata format for breadcrumbs is very easy to implement. There is no need for nested tags, or overly verbose and redundant tags. Instead, there is just two modifications from the standard Breadcrumb NavXT setup.

Breadcrumbs are a property of the Schema.org WebPage CreativeWork type. The first thing you must do to use the Schema.org microdata is declare the body of the (x)HTML page to be of type WebPage. You’ll need to modify your current WordPress theme so that the opening body tag is:

<body itemscope itemtype="http://schema.org/WebPage">

Once we’ve declared our body to be of type WebPage, all we have to do is include itemprop=”breadcrumb” in the div wrapping around the breadcrumb trail. For example, we’d use:

<div itemprop="breadcrumb" class="breadcrumbs">
    <?php if(function_exists('bcn_display')) { bcn_display(); }?>
</div>

That’s it! Note that this does not work with the included widget in 4.0.1, and is something that will be changed for the next release.

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT 4.0.1

This is the first bug fix release of the 4.0 branch of Breadcrumb NavXT. There were two issues fixed in this release. The first was the line 591 and line 646 errors in multisite installs. The second bug involves attachments of custom post types, they will now obey the root page setting for that post type. Additionally, this is the first version of Breadcrumb NavXT to include a Norwegian translation, props to Jan Rosvoldsve.

You can grab the latest version of Breadcrumb NavXT from the Breadcrumb NavXT page.

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT 4.0

Holy revamped settings Batman! Breadcrumb NavXT 4.0 introduces a new settings scheme. First off, the old anchor templates have been replaced with more powerful breadcrumb templates. These templates accept HTML, and have the following dynamic tags:

  • %title% The title for the breadcrumb, typically the page title/name, tags are stripped and it is run through esc_attr().
  • %htitle% The title for the breadcrumb, typically the page title/name, tags are left intact.
  • %link% The URL to the resource (page) that the breadcrumb represents.
  • %type% The breadcrumb type. This is output as a comma delimited list, useful for setting as a group of classes for styling.

Some of your old settings will be migrated, others that do not have a direct equivalent in 4.0 will not be migrated and the default value will be selected until you change it. Double check your settings after migration. Internally, every setting has changed. If you directly access the bcn_breadcrumb_trail class please take note, your old calling code will probably not work.

On the new features front, the URL generated for current items is now a true URL, resolving issues several users have reported in the past. Fall back functions for the PHP multibyte string functions are included for users without multibyte support (falls back to the equivalent non-multibyte string functions). Finally, for Custom Post Types, the CPT archive breadcrumb can be turned off if not wanted.

The help tab has been revamped to take advantage of WordPress 3.3’s new help tab functions. Additional information has been provided within the help tab. Finally, the form previously in the Import/Export/Reset tab has been moved under the help tab.

Bug fix wise, several regressions between 3.8.0 and 3.9.0 were fixed, along with some long standing bugs. Two such bugs are related to CPTs. The first is breadcrumb trails for CPTs respect the root page setting once again. The second is CPTs without WordPress CPT archives enabled will no longer cause a double root page breadcrumb to be generated. Minor tweaks to the styling of the settings page were made that allow all modern browsers to have a common experience. Finally, another cause of the “Settings not saved” error message has been fixed.

Translation wise, due to the major changes in settings structure, many strings have changed translation wise. Only the Spanish translation has been updated. The Norwegian translation is forthcoming. None of the other translators have responded to the update notice. Going forward, a GlotPress install has been setup for Breadcrumb NavXT and will be used for all future releases. You can check out the Breadcrumb NavXT translation project to see the status of the translation for your language. Sign ups for translating through this GlotPress install will be open soon.

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 4.0 Beta 1

Yes, you read that correctly, there is a beta release. Yes, this is a tagged release. Yes, the last time there was a beta was four years ago. Breadcrumb NavXT 4.0 is feature complete, after an extended development cycle. Several items that were goals for 4.0 have been pushed back to 4.1 and 4.2. These include contextually aware taxonomy selection and a multisite “global admin” interface.

Regardless, several objectives were achieved. Custom post type support has been improved. Several issues regarding custom post type archives and root pages for custom post types have been fixed. The way current items are handled has changed as well. Proper links for current items, if set to be linked, are now generated. The settings page has received a minor update, taking advantage of new features found in WordPress 3.3. Finally, the biggest change in 4.0 is the change in the settings structure. Prefixes, suffixes, and anchor templates were replaced with a linked and unlinked breadcrumb template.

Note, Breadcrumb NavXT 4.0 has been developed against WordPress 3.3. This beta and the final release will require WordPress 3.3. Please keep this in mind while testing.

Grab Breadcrumb NavXT 4.0.0-Beta1 and report any bugs in the comments section of this post.

-John Havlik

[end of transmission, stay tuned]