I pushed through a small, but important, update to Contextual Related Posts Taxonomy Tools, which is an addon to Contextual Related Posts. I’ve also developed this as an example for other developers to create addons to Contextual Related Posts.
CRP Taxonomy Tools allows you to restrict the related posts generated by Contextual Related Posts to the same category and tag. At least, it used to until now.
Support for Custom Taxonomies
v1.1.0 now adds support to custom taxonomies as well. This is especially useful to custom post types where the quality of the related post may not be the most ideal set. e.g. if you’re running a movie review blog and you have two different taxonomies for actors and genres, you can now restrict the related posts on your custom post types to just these taxonomies.
Disable Contextual Matching
Another feature that I have added to the plugin is the ability to disable contextual matching. This will turn of the core feature that Contextual Related Posts is built on and so is available only as part of this addon. If you do choose to disable contextual matching, make sure that you turn on the restricting by same categories, tags or custom taxonomies. Otherwise, all your posts will return the same related posts.
You’ll also find a new option that let’s you restrict the non-contextual matching only to attachments / media and custom post types only.
If you activate this option, then posts and pages will continue to show truly related posts. Attachments and custom post types will no longer show contextual matched posts, but would remain restricted to posts from the same category, tags or custom taxonomy.
Closing words
CRP Taxonomy Tools is a very useful addon that enables that extra level of relatedness that you might want to add to your site. If you’re using this plugin and might be looking to get some questions answered, then please make a new post in the Support Forum. Comments below asking for support are likely to be ignored.
If you like this addon, then do consider a 5-star review as well. It’s always encouraging when I read something nice about the work that I do 🙂
And, lastly, CRP Taxonomy Tools is also available on Github. If you’ve got a feature that you’ve already implemented, then consider forking the plugin and send me a pull request. Alternatively, create a new issue with a feature request.