vBulletin Style Breadcrumbs for WordPress

vBulletin is a somewhat popular forum software package that has a unique breadcrumb design. Rather than the normal, single lined breadcrumb trail, it drops the current item’s breadcrumb to a second line. It also happen to have two folder icons for flair, but those are trivial to add in with CSS3. Even without CSS3 adding the icons is fairly easy (set as a non-repeating background image).

Continue reading

Breadcrumb NavXT 4.3.0

Holy incremental improvements Batman! Rather than one big new thing, this release has several tweaks that improve the overall plugin. Two new breadcrumb template tags were added, %ftitle% and %fhtitle%. These two tags are not affected by bcn_breadcrumb::trim() and are thus suitable for the title attribute in links when a max breadcrumb length is set. Support for the Theme Hook Alliance’s proposed tha_breadcrumb_navigation filter was added.

The Home and Main site titles were removed as they were redundant. While doing this, now the %title% and %htitle% tags return the “Site Title” for the home breadcrumb and “Network Name” for the mainsite breadcrumb. This should make multisite installs a little more manageable until the network admin is available.

As a security precaution, all settings that accept HTML now are passed through wp_kses. A reasonable set of accepted HTML tags were added, if you run into an issue where a tag or attribute you were using is being stripped, please report it in the comments section below.

Finally, several bugs were fixed. Loading of translated default settings now works again. And, some tweaks to the tabs in the settings page were made to improve the look and feel in WordPress 3.5.

The Translation Team:

[glot-translators=breadcrumb-navxt]

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]

A New Settings Page

The most noticeable change in the next version of Breadcrumb NavXT (4.2.0) will be the reorganized settings page (preview screen shot above). Since the introduction and subsequent inclusion of tabular (the code that gives the settings page its tabs), each custom taxonomy and post type has had it’s own tab. This will no longer be the case where there are just 4 tabs, “General”, “Post Types”, “Taxonomies”, and “Miscellaneous”.

This reorganization, while causing the content per a tab to be greater, keeps the tab list from growing with every new custom post type and taxonomy added to a site. Additionally, it allows greater distinction between settings for custom taxonomies and custom post types. Previously, there were instances where CPTs and custom taxonomies had the same name in their tabs and it was not clear which was which without entering that tab.

Keep tabs on Breadcrumb NavXT 4.2.0 development over at GitHub.

-John Havlik

[end of transmission, stay tuned]

Setting a Parent for a Post

Normally, flat post types such as the Post post type do not have parents. However, some people like to use pages for their hierarchy and want posts to be children of these pages. Typically, these pages have a description and then a post list based off of a category.

While I personally do not recommend this type of site structure, Breadcrumb NavXT has supported Pages as the parent of Posts for quite some time. The caveat has always been that setting the parent of the post was an exercise left to the user. I’ve just written a fairly basic plugin that removes that makes things easier. All it does is add a Parent metabox with a pages drop down to the edit screen for posts.

Installation is quite easy:

  1. Download the Master branch zip archive from GitHub
  2. In your WordPress Dashboard navigate to the plugin uploader (Plugins > Add New > Upload)
  3. Upload the zip archive
  4. Activate and enjoy!

You can keep up with day to day development via the Post Parents’ GitHub Repository.

-John Havlik

[end of transmission, stay tuned]

Breadcrumb NavXT 4.1.0

Holy improved custom post type support Batman! This release added a few new features and fixed several bugs custom post types work better in general (covering more usage scenarios). Several bug fixes revolved around archives, including restricting a mixed archive to a specific post type, empty term archive pages, and author archive pages when showing the page number (e.g. on page 2 of the author archives). The included widget was improved with a pretext option. Finally, the behavior of posts that are using a flat taxonomy in their breadcrumb trail but do not have a term assigned was modified to match the same case for hierarchical taxonomies.

On the localization side of the house, the textdomain was changed to facilitate better integration with GlotPress, which we now use for managing translation sets. Also, a big thanks to the translation team. This is the first release that we used GlotPress to coordinate translation sets. Another first is the high of 9 translations that are 90% complete or better (and are shipped with this release). You can check out the Breadcrumb NavXT translation project to see the status of the translation for your language. An improved sign up process for translating through this GlotPress install will be opening soon.

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]