Releases: WebberZone/contextual-related-posts
Version 3.2.1 Beta 1
Changelog
-
Enhancements/modifications:
- If thumbnail is set as
text only
, then the style is also set astext only
at runtime
- If thumbnail is set as
-
Bug fix:
- PHP error thrown when using
get_crp_posts_id()
- PHP error thrown when using
-
Deprecated:
get_crp_posts_id()
. Useget_crp_posts()
instead
Full Changelog: v3.2.0...v3.2.1-beta1
Installation
- Download the contextual-related-posts.zip file from this release post
- Visit Plugins in your Admin Area
- Hit the Add New button next to the Plugins heading
- Hit the Upload button next to the Add Plugins heading
- Select the contextual-related-posts.zip that you downloaded and hit Install Now
- In the next screen choose Replace current with uploaded
This should replace the plugin with the latest version. You can verify this by going back to the Plugins page and checking the version number.
Version 3.2.0
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
- 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
-
Enhancements/modifications:
- No widget is displayed if
get_crp()
is empty i.e. no related posts are found post_title
andpost_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 includescrp_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)"
- No widget is displayed if
-
Bug fixes:
- Current post was incorrectly being excluded in the translation functions
Full Changelog: v3.1.1...v3.2.0
Version 3.2.0 Beta 1
-
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
- 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
-
Enhancements/modifications:
post_title
andpost_content
fields are only used if Use content option is set- Gutenberg block updated to the latest Blocks API
- No widget is displayed if
get_crp()
is empty i.e. no related posts are found - The widget's "Only from categories" autocomplete replaced by ID list
- Wrapper
div
now always includescrp_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.2-beta1...v3.2.0-beta1
Version 3.1.2 Beta 1
Reverts change made in v3.1.0 where comparison forced checking of post_content
Version 3.1.1
Release post: https://webberzone.com/blog/contextual-related-posts-v3-1-0/
-
Enhancements:
- Don't clear cache when saving settings. The cache can be cleared in the Tools page
- Default thumbnail is now prioritized over the site icon
-
Bug fixes:
- Limiting of characters didn't work properly
- Fixed link to Tools menu under Settings. Tools button link is better displayed
- Fixed activation when new blog is created on multisite
Version 3.1.0
Release post: https://webberzone.com/blog/contextual-related-posts-v3-1-0/
-
Features:
- REST API support - you can now fetch the related posts via the REST API. Fetch posts at
/contextual-related-posts/v1/posts/<id>
- New setting in the metabox to exclude specific terms
- REST API support - you can now fetch the related posts via the REST API. Fetch posts at
-
Enhancements/modifications:
- Thumbnail function uses the size instead of exact array of sizes to better select the appropriate thumbnail image size
- Use site icon if no other thumbnail is found
- Use both
post_title
andpost_content
fields for matching even when match content setting is off - Passing
post_type
andposts_per_page
arguments will be respected instead of being overridden
-
Bug fixes:
- Don't enqueue wp-editor on widgets.php
- WP_Query stopwords are stripped from content that is matched
- Manual posts are added after the automatic posts are shuffled
Version 3.1.0 Beta 2
-
Features:
- REST API support - you can now fetch the related posts via the REST API. Fetch posts at
/contextual-related-posts/v1/posts/<id>
- New setting in the metabox to exclude specific terms
- REST API support - you can now fetch the related posts via the REST API. Fetch posts at
-
Enhancements/modifications:
- Thumbnail function uses the size instead of exact array of sizes to better select the appropriate thumbnail image size
- Use site icon if no other thumbnail is found
- Use both
post_title
andpost_content
fields for matching even when match content setting is off - Passing
post_type
andposts_per_page
arguments will be respected instead of being overridden
-
Bug fixes:
- Don't enqueue wp-editor on widgets.php
- WP_Query stopwords are stripped from content that is matched
- Manual posts are added after the automatic posts are shuffled
Version 3.1.0 Beta 1
-
Enhancements/modifications:
- Thumbnail function uses the size instead of exact array of sizes to better select the appropriate thumbnail image size
- Use site icon if no other thumbnail is found
- Use both
post_title
andpost_content
fields for matching even when match content setting is off
-
Bug fixes:
- Don't enqueue wp-editor on widgets.php
- WP_Query stopwords are stripped from content that is matched
- Manual posts are added after the automatic posts are shuffled
Version 3.0.7
= 3.0.7 =
Release post: https://webberzone.com/blog/contextual-related-posts-v3-0-0/
- Bug fix:
- Replicate old style of exclusion checking of option set in meta. Using the shortcode, manual or block will ignore the meta option to "Disable Related Posts display"
Version 3.0.6
Release post: https://webberzone.com/blog/contextual-related-posts-v3-0-0/
-
Enhancement:
- Defining
CRP_CACHE_TIME
tofalse
will disable expiry - Introduced wpml-config.xml file. Title and Custom text for blank output can now be translated with Polylang (and potentially WPML)
- Defining
-
Bug fix:
- Exclude on categories did not work
- Posts would trigger a "SHOW FULL COLUMNS FROM" error if they had ' from' in the title
- Manual posts did not work properly - all post types and all posts are properly fetched now