After the major release of Contextual Related Posts v2.2.0, I’ve spent quite a bit of time over the past few weeks working on v2.1.0 which brings together several bug fixes, some optimisation and many new features. If you’re using this plugin and looking for support, please do not post a comment below, but instead create a new thread in the WordPress.org support forum or create a new issue in Github.
If you’re just upgraded the plugin, remember to clear the cache and even better, reset the plugin settings. Remember to save any custom CSS code that you might be using.
No more Timthumb
I blogged about removing timthumb from my plugins several months ago after Ben stopped supporting the plugin. With Google announcing the shut down of Google Code, I believe this is the final nail in the coffin of an arguably amazing script.
Contextual Related Posts v2.1.0 completely does away with timthumb. The settings have been removed and the script is no longer bundled.
If you’re looking for a replacement to timthumb, do check out OTF Regenerate Thumbnails. It’s designed to regenerate images on the fly!
Inbuilt WordPress Thumbnails
v2.0.0 came with preliminary support for WordPress’ inbuilt image sizes. However, the implementation wasn’t perfect. I first implemented this GUI in Top 10 v2.0 and have now replicated this within Contextual Related Posts v2.1.1.
You can now select an inbuilt image size or just select a custom size. The default setting is 150×150 and cropped, which is what the default style uses.
Complete list of changes:
New: Separate cache for related posts added to feeds. Prevents conflict with the cache for normal related posts
New: Timthumb has been deprecated
New: Setting “Related posts should be newer than:” to 0 to disable limiting posts by age
New: Filters crp_posts_match, crp_posts_now_date, crp_posts_from_date to modify the WHERE clause
Modified: thumb_timthumb, thumb_timthumb_q and filter attributes for the functioncrp_get_the_post_thumbnail have been deprecated. If you’re using this function, an entry will be created for the deprecated log
Modified: Reset default thumbnail URL location to plugin default if the field is blank or only contains /default.png
Modified: Meta-box will no longer be displayed on non-public post types
Modified: For first image, the plugin will attempt to seek the correct thumbnail size if available
Fixed: Author link was incorrectly displayed multiple times in the list when Show Author was enabled
Fixed: WP Notice Errors when using the Widget via the Customizer menu in WordPress
Fixed: Incorrect thumbnail was pulled on attachment pages
If you’re a developer interested in writing a new feature or have identified a bug that you would like to get fixed, head over to Github, fork the plugin and send me a pull request.
If you’ve been using Contextual Related Posts, do consider writing a good review of the plugin on the WordPress.org forum. Additionally, do consider a donation. Currently, that’s the only income that this plugin generates.
I still have a lot more features that I plan to add into the base plugin. Some of the features in the timeline in no particular order include:
I’ll also be focusing on developing a detailed knowledge base for this and my other plugins. I’ve been spending a while researching the best option to go and it might likely be a separate WordPress blog running a custom knowledge base theme.