Currently, though, it seems that the use of custom post type in Breadcrumb NavXT requires one to create a dedicated page for the basis of the post type archive.
One other alternative is Breadcrumb Trail (http://wordpress.org/extend/plugins/breadcrumb-trail/). It seems to support custom post type... but for WP 3.1!! (That's what I assume from the codes, anyway, since it uses functions available only for WP 3.1+).
So I had modified the code a bit. But due to my needs at the time, I had integrated it with a couple of plug-ins... Meaning, it needs to have those plug-ins and with specific settings.
You can get the modified Breadcrumb Trail plugin from this link: http://www.zumodrive.com/share/8addOGQ3OW.
Then you will need to download and use the Custom Post Permalinks plugin as well (http://wordpress.org/extend/plugins/custom-post-permalinks/).
You can find explanation of the modifications and instructions in how to set it up in the modified plugin folder (called *modification_log.rtf*).
Basically, what you need to do after both plugins are activated is to first set up the 'Permalink Settings' as follows:
- 'Common settings' to 'Month and name'
- 'Extra Permalink Settings' to
'/%post_type%/%your_custom_taxonomy%/%news_post%/'
This will setup the permalinks to something like:
www.yoursite.com/your_custom_post_type/your_custom_taxonomy_term/the_post
Then put the code below where you want your breadcrumbs to be:
<?php
// Plugin: Breadcrumb Trail (Modified) //
if(function_exists('breadcrumb_trail')) {
$breadcrumb = array(
'separator' => '>',
'before' => 'You are here: ',
'after' => false,
'front_page' => true,
'show_home' => __('Home'),
'singular_{your_custom_post_type}_taxonomy' => 'your_custom_taxonomy',
'echo' => true,
);
breadcrumb_trail($breadcrumb);
}
?>
This will allow breadcrumbs that look like this:
You are here: Home > Your Custom Post
Type > Your Custom Taxonomy Term > The
Post
Of course, you may be able to adjust it to your needs, but this is what I came up with for the project that I am doing.
I might have missed some necessary settings for the above to work, though... so just notify me if it didn't work.
Anyway, just wanted to share another solution... Hope this can come in handy for somebody.
By the way, the modified plugin also integrates with qTranslate plugin to allow multi-language...
Cheers!