Releases: WebberZone/contextual-related-posts
Releases · WebberZone/contextual-related-posts
3.6.0
Changelog
Release post: https://webberzone.com/announcements/contextual-related-posts-v3-6-0/
-
Features:
- [Pro] New block: Contextual Related Posts Featured Image is an advanced featured image block that falls back to the first image, meta key, or a default image if no featured image is set.
- [Pro] Related Posts block now includes:
- Buttons to save and clear default block settings.
- Auto-insertion of default and global settings attributes, with an option to disable this in the List tuning tab.
-
Modifications:
- The "Manual related posts" field in the meta box can now be customized to perform searches without relevance. To disable relevance in searches, use the filter
crp_meta_box_manual_related_relevance
with the following code:add_filter('crp_meta_box_manual_related_relevance', '__return_false');
. - Contextual Related Posts Block's Other attributes moved to Advanced panel.
- Show admin notices when the Style is set to "Rounded Thumbnails", "Rounded Thumbnails with Grid", or "Text Only" in the Settings page. A notice will appear below the affected settings, indicating that these options cannot be modified.
- Updated "Rounded Thumbnails" style's post title line height to 1.1em and removed the padding.
- Updated Freemius SDK to 2.10.1.
- The "Manual related posts" field in the meta box can now be customized to perform searches without relevance. To disable relevance in searches, use the filter
-
Bug fixes:
- Fixed warning message about language files being initiated too early.
Full Changelog: 3.5.5...3.6.0
3.6.0-beta1
-
Features:
- [Pro] New block: Contextual Related Posts Featured Image is an advanced featured image block that falls back to the first image, meta key, or a default image if no featured image is set.
- [Pro] Related Posts block now includes:
- Buttons to save and clear default block settings.
- Auto-insertion of default and global settings attributes, with an option to disable this in the List tuning tab.
-
Modifications:
- The "Manual related posts" field in the meta box can now be customized to perform searches without relevance. To disable relevance in searches, use the filter
crp_meta_box_manual_related_relevance
with the following code:add_filter('crp_meta_box_manual_related_relevance', '__return_false');
- Show admin notices when the Style is set to "Rounded Thumbnails", "Rounded Thumbnails with Grid", or "Text Only" in the Settings page. A notice will appear below the affected settings, indicating that these options cannot be modified.
- Updated Freemius SDK to 2.10.1
- The "Manual related posts" field in the meta box can now be customized to perform searches without relevance. To disable relevance in searches, use the filter
-
Bug fixes:
- Fixed warning message about language files being initiated too early.
Full Changelog: 3.5.5...3.6.0-beta1
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