Releases: WebberZone/contextual-related-posts
Releases · WebberZone/contextual-related-posts
Version 3.5.5
Changelog:
- Updated Freemius SDK to 2.9.0.
- Added: Filter
crp_query_posts_groupby
to allow filtering of the GROUP BY clause in the SQL query. - Renamed:
crp_query_pre_get_match_sql
fromcrp_pre_get_match_sql
.
Full Changelog: 3.5.4...3.5.5
Version 3.5.4
Changes:
- Fixes:
include_post_ids
andmanual_related
were not being passed correctly to the query
Full Changelog: 3.5.3...3.5.4
3.5.4-beta1
Changelog
- Fixes:
include_post_ids
andmanual_related
were not being passed correctly to the query
Full Changelog: 3.5.3...3.5.4-beta1
Version 3.5.3
-
Modifications:
- Updated Freemius SDK to 2.7.3
- Updated Contextual Related Posts block apiVersion to 3
- Increase background opacity for the Rounded Thumbs style's post title for better readability
-
Fixes:
- Allow
manual_related
attribute in shortcode - Correctly handle manual_related and include_post_ids arguments when set to 0. Ensure manual_related is set to an empty array when 0 is passed.
- Correctly check if
relation
attribute is set for meta_query and tax_query - Fixed links to settings and tools page in the admin area
- Pass
post_status
when usingget_posts()
- Remove
the_posts
filter in CRP_Query - [Pro] Fixed bug in the Query Loop where custom post types didn't appear in the dropdown
- Allow
Full Changelog: v3.5.2...3.5.3
v3.5.3-beta1
Full Changelog: v3.5.2...v3.5.3-beta1
- Fixes meta_query check for
relation
field.
v3.5.2
Changelog:
-
Modifications:
- [Pro] If "Only from" same category/tag/taxonomy is enabled, the plugin will sort results by the number of matched taxonomies first, therby optimising the related posts further. The free version will continue to sort by date
- [Pro] If any of the weights are 0, then the algorithm will not consider that field for matching
-
Bug fix:
- Custom styles did not get enqueued on the front end
- Fixed PHP error on Network admin page
- Fixed bug where post types and taxonomies settings retained the previous values if no option was selected
Full Changelog: v3.5.1...v3.5.2
v3.5.1
- Bug fix:
- Fixed memory issue when using the crp shortcode
Full Changelog: v3.5.0...v3.5.1
Version 3.5.0
Complete code rewrite using OOP, namespacing and autoloading. This will make it easier to maintain and extend the plugin in the future.
-
Features:
- Enter a negative number in the "Insert after paragraph number" setting to insert the related posts from the bottom of the post
- [Pro] New Related Posts Query Block that allows you to query related posts using a block in the block or site editor
- [Pro] New feature to set the weight of the title, content and excerpt in the related posts algorithm
- [Pro] New parameter
display_only_on_tax_ids
to display related posts only on specific taxonomy terms - [Pro] New option added to the Edit Post meta box mapped to
include_cat_ids
to include related posts from specific categories only - [Pro] New Clear cache button in the settings page to clear the cache
-
Enhancements:
- The plugin supports
WP_Query
directly ifcrp_query
is set in the query arguments - Optimized media handler to reduce the number of queries
- Cache posts only setting is changed to be true by default
- Cache HTML output will now cache the HTML output of the related posts list superseding the Cache posts only setting
- The plugin supports
-
Bug fix:
trim_char
function returned a blank string instead of the original string if length was 0- Insert after paragraph used to insert after an extra paragraph than what was specified
Full Changelog: v3.4.2...v3.5.0
3.5.0-RC1
Full Changelog: v3.5.0-beta2...3.5.0-RC1
Complete code rewrite using OOP, namespacing and autoloading. This will make it easier to maintain and extend the plugin in the future.
-
Features:
- Enter a negative number in the "Insert after paragraph number" setting to insert the related posts from the bottom of the post
- [Pro] New Related Posts Query Block that allows you to query related posts using a block in the block or site editor
- [Pro] New feature to set the weight of the title, content and excerpt in the related posts algorithm
- [Pro] New parameter
display_only_on_tax_ids
to display related posts only on specific taxonomy terms - [Pro] New option added to the Edit Post meta box mapped to
include_cat_ids
to include related posts from specific categories only - [Pro] New Clear cache button in the settings page to clear the cache
-
Enhancements:
- The plugin supports
WP_Query
directly ifcrp_query
is set in the query arguments - Optimized media handler to reduce the number of queries
- Cache posts setting is changed to be true by default
- The plugin supports
-
Bug fix:
trim_char
function returned a blank string instead of the original string if length was 0- Insert after paragraph used to insert after an extra paragraph than what was specified
v3.5.0-beta2
What's Changed
- Modify plugin for OOP code by @ajaydsouza in #199
Full Changelog: v3.4.2...v3.5.0-beta2