Contextual Related Posts v2.1.0

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 still looking to use timthumb on your site, you might want to consider self-hosting it. You can find the latest working version in the Github repository I created and the corresponding filter to hook it into Contextual Related Posts.

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

CRP Thumbnail Options
CRP Thumbnail Options

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

Developers and translators

If you’re interested in translating Contextual Related Posts into your own language, do consider joining the WP Translations team and translate Contextual Related Posts on Transifex.

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.

Users

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.

What’s coming?

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:

  • Custom related posts on a post level basis
  • Exclude posts on a post level basis
  • Random posts
  • Stop words / word filters
  • Switching off the meta-box

If you’d like to suggest a feature you can quickly do so by creating a new issue in Github.

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.

So go ahead and upgrade this plugin if you’re already using it. If you’re not, why aren’t you? It’s the fastest related posts plugin in the WordPress universe and it’s completely free to use!

(Visited 335 times, 1 visits today)

Add a Comment

Your email address will not be published. Required fields are marked *

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.