Version 3.2.0 Beta 1
Pre-release
Pre-release
·
202 commits
to master
since this release
-
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