Skip to content

Releases: WebberZone/contextual-related-posts

Version 2.6.0

02 Apr 17:29
Compare
Choose a tag to compare

Release post: https://webberzone.com/blog/contextual-related-posts-v2-6-0/

  • Features:

    • Implemented the Settings API for handling plugin settings
    • New Tools page: Recreate the indices, delete the cache and delete old settings
  • Enhancements:

    • widget_title filter includes $instance and id_base variables
  • Bug fixes:

    • Checked for non-zero thumbnail width and height in the widget
    • More checks for PHP errors and notices

Version 2.5.1

26 Jan 11:07
Compare
Choose a tag to compare
  • Features:

    • New option to disable creation of thumbnails
  • Enhancements:

    • Do not delete index on activation
    • crp_thumbnail image size will set the default crop option to true if not already set
  • Bug fixes:

    • Missing/Unknown PHP errors/warnings in the widget
  • Minor CSS fixes

Version 2.5.0

18 Nov 14:06
Compare
Choose a tag to compare
  • Features:

    • New option to disable related posts on mobile devices
    • New option to disable related posts on AMP pages
  • Enhancements:

    • New filters crp_thumb_alt and crp_thumb_title to edit the post thumbnail alt and title tags. Use this to remove/replace the tags
    • New function and filter crp_permalink
    • Saving a post will delete its cache
  • Bug fixes:

    • Fixed CSS validation errors
    • Removed conversion of table schema from/to InnoDB. If you are using a version of mySQL above v5.6, you can alter the table engine to use InnoDB with a FULLTEXT index
    • Prevent errors from non-existent post id (virtual post). Contributed by @jnorell

Version 2.4.1

12 Jun 21:06
Compare
Choose a tag to compare

= 2.4.1 =

  • Bug fixes:
    • Reverted the "Automatically add related posts to" setting introduced in 2.4.0
    • Metaboxes will now save when editting attachments

= 2.4.0 =

  • Features:

    • New option to randomize the related posts
    • New option to limit related posts to the same post type
    • "Automatically add related posts to" option applies to widgets
  • Enhancements:

    • post_types argument now takes a comma-separated list of post types. Default format when resaving options is also comma-separated
  • Bug fixes:

    • Trimming titles should now work with multibyte / non-English characters
  • Deprecated:

    • crp_max_formatted_content has been deprecated. Use crp_trim_char instead

Version 2.3.1

17 Dec 18:30
Compare
Choose a tag to compare
  • Bug fixes:
    • Replaced .crp_title wrapper from div to span. Empty the cache via the settings page and also your browser cache

Version 2.3.0

01 Oct 17:12
Compare
Choose a tag to compare
  • Features:
    • Shortcode and the widget now have an added parameter for 'offset'. This is useful if you would like to display different widgets/shortcodes but not always start from the first post
    • New option in metabox: "Exclude this post from the related posts list"
    • New option: Insert after nth paragraph
  • Enhancements:
    • The generated HTML code uses a single a href tag rather than two separate ones per item which is usually better for SEO. If you're not using the Rounded Thumbnail style and using your own custom style, then you might need to reconfigure this
    • New constant CRP_MAX_WORDS (default 500) limits the post content to be compared. Add this to your wp-config.php file to overwrite
  • Bug fixes:
    • Language files initialisation had the wrong text domain
    • Stop updating the thumb settings if the existing value isn't found. Caused incorrect changes in certain installations
    • Force link text to white when using Rounded Thumb style
    • The plugin will no longer generate any notices if post author is missing
  • Deprecated:
    • Removed wick for exclude categories auto-suggest. Plugin now uses jQuery Suggest that is included in WordPress. When you re-save plugin options, the field will convert the slugs to the category name
    • Deprecated $crp_url. Use the new constants CRP_PLUGIN_DIR, CRP_PLUGIN_URL and CRP_PLUGIN_FILE

Version 2.3.0 Beta 1

27 Sep 15:39
Compare
Choose a tag to compare
Version 2.3.0 Beta 1 Pre-release
Pre-release
  • Features:
    • Shortcode and the widget now have an added parameter for 'offset'. This is useful if you would like to display different widgets/shortcodes but not always start from the first post
    • New option in metabox: "Exclude this post from the related posts list"
    • New option: Insert after nth paragraph
  • Enhancements:
    • The generated HTML code uses a single a href tag rather than two separate ones per item which is usually better for SEO. If you're not using the Rounded Thumbnail style and using your own custom style, then you might need to reconfigure this
  • Bug fixes:
    • Language files initialisation had the wrong text domain
    • Stop updating the thumb settings if the existing value isn't found. Caused incorrect changes in certain installations
    • Force link text to white when using Rounded Thumb style
    • The plugin will no longer generate any notices if post author is missing
  • Deprecated:
    • Removed wick for exclude categories auto-suggest. Plugin now uses jQuery Suggest that is included in WordPress. When you re-save plugin options, the field will convert the slugs to the category name

Version 2.2.3

27 Sep 12:49
Compare
Choose a tag to compare
  • Enhancements:
    • Changed text domain to contextual-related-posts in advance of translate.wordpress.org translation system
    • Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language add this code to your theme's functions.php file
    • Removed id tag from related posts HTML output to make it W3C compliant. If you're using the id with your custom styles, please change this to classes i.e. change #crp_related to .crp_related and it should work
  • Bug fixes:
    • All cache entries were not deleted on uninstall

Version 2.2.2

19 Sep 14:17
Compare
Choose a tag to compare
  • Features:
    • Preliminary support for WPML
  • Enhancements:
    • Recreate Index and Activation will not try to alter the table engine if not needed
  • Bug fixes:
    • All thumbnail classes were not properly applied + new thumbnail class filter
    • Shortcode with "exclude_categories" argument works again

Version 2.2.1

05 Sep 10:25
Compare
Choose a tag to compare
  • Bugfixes:
    • "No styles" would not get selected if "Rounded thumbnails' was enabled
    • "Recreate Index" caused a fatal error: Call to undefined function crp_single_activate()
    • Excerpt shortening was not working correctly
    • Exclude categories wasn't working in some cases
    • Additional check to see if default styles are off, then force No style