Skip to content

Version 3.2.0

Compare
Choose a tag to compare
@ajaydsouza ajaydsouza released this 21 Apr 14:19
· 195 commits to master since this release

Release post: https://webberzone.com/blog/contextual-related-posts-v3-2-0/

  • New feature:

    • New option to limit posts to the primary category/term. The plugin checks if either Yoast, Rank Math, The SEO Framework or SEOPress are active. If none of these are active, the plugin will pick the first category provided by get_the_terms()
    • New option to show the primary category/term
    • New option in metabox to enter a comma-separated list of post IDs to exclude from the related posts
    • New filter crp_fill_random_posts (default:false) which can be used to fill random posts if the number of related posts is less than the limit set
  • Enhancements/modifications:

    • No widget is displayed if get_crp() is empty i.e. no related posts are found
    • post_title and post_content fields are only used if Use content option is set
    • Gutenberg block updated to the latest Blocks API
    • The widget's "Only from categories" autocomplete replaced by ID list
    • Wrapper div now always includes crp_related class name. Stylesheets have been updated to have more specific styles e.g. .crp_related.crp-rounded-thumbs
    • Exclude categories and Exclude on categories renamed to Exclude terms and Exclude on terms as they now support all taxonomies and the accepted format has changed to "Term Name (taxonomy:term_taxonomy_id)"
  • Bug fixes:

    • Current post was incorrectly being excluded in the translation functions

Full Changelog: v3.1.1...v3.2.0