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