Releases: WebberZone/contextual-related-posts
Releases · WebberZone/contextual-related-posts
Version 2.3.1
- Bug fixes:
- Replaced
.crp_title
wrapper fromdiv
tospan
. Empty the cache via the settings page and also your browser cache
- Replaced
Version 2.3.0
- Features:
- Shortcode and the widget now have an added parameter for 'offset'. This is useful if you would like to display different widgets/shortcodes but not always start from the first post
- New option in metabox: "Exclude this post from the related posts list"
- New option: Insert after nth paragraph
- Enhancements:
- The generated HTML code uses a single
a href
tag rather than two separate ones per item which is usually better for SEO. If you're not using the Rounded Thumbnail style and using your own custom style, then you might need to reconfigure this - New constant
CRP_MAX_WORDS
(default 500) limits the post content to be compared. Add this to yourwp-config.php
file to overwrite
- The generated HTML code uses a single
- Bug fixes:
- Language files initialisation had the wrong text domain
- Stop updating the thumb settings if the existing value isn't found. Caused incorrect changes in certain installations
- Force link text to white when using Rounded Thumb style
- The plugin will no longer generate any notices if post author is missing
- Deprecated:
- Removed wick for exclude categories auto-suggest. Plugin now uses jQuery Suggest that is included in WordPress. When you re-save plugin options, the field will convert the slugs to the category name
- Deprecated
$crp_url
. Use the new constantsCRP_PLUGIN_DIR
,CRP_PLUGIN_URL
andCRP_PLUGIN_FILE
Version 2.3.0 Beta 1
- Features:
- Shortcode and the widget now have an added parameter for 'offset'. This is useful if you would like to display different widgets/shortcodes but not always start from the first post
- New option in metabox: "Exclude this post from the related posts list"
- New option: Insert after nth paragraph
- Enhancements:
- The generated HTML code uses a single
a href
tag rather than two separate ones per item which is usually better for SEO. If you're not using the Rounded Thumbnail style and using your own custom style, then you might need to reconfigure this
- The generated HTML code uses a single
- Bug fixes:
- Language files initialisation had the wrong text domain
- Stop updating the thumb settings if the existing value isn't found. Caused incorrect changes in certain installations
- Force link text to white when using Rounded Thumb style
- The plugin will no longer generate any notices if post author is missing
- Deprecated:
- Removed wick for exclude categories auto-suggest. Plugin now uses jQuery Suggest that is included in WordPress. When you re-save plugin options, the field will convert the slugs to the category name
Version 2.2.3
- Enhancements:
- Changed text domain to
contextual-related-posts
in advance of translate.wordpress.org translation system - Improved support for WPML. If available, same language posts will be pulled by default. To restrict to the same language add this code to your theme's functions.php file
- Removed
id
tag from related posts HTML output to make it W3C compliant. If you're using the id with your custom styles, please change this to classes i.e. change#crp_related
to.crp_related
and it should work
- Changed text domain to
- Bug fixes:
- All cache entries were not deleted on uninstall
Version 2.2.2
- Features:
- Preliminary support for WPML
- Enhancements:
- Recreate Index and Activation will not try to alter the table engine if not needed
- Bug fixes:
- All thumbnail classes were not properly applied + new thumbnail class filter
- Shortcode with "exclude_categories" argument works again
Version 2.2.1
- Bugfixes:
- "No styles" would not get selected if "Rounded thumbnails' was enabled
- "Recreate Index" caused a fatal error: Call to undefined function
crp_single_activate()
- Excerpt shortening was not working correctly
- Exclude categories wasn't working in some cases
- Additional check to see if default styles are off, then force No style
Version 2.2.0
- Features:
- Manual posts can now be set in the meta box in the Edit Post screens which will be displayed before the related posts fetched by the plugin
- Choose between No style, Rounded thumbnails (previously called default style) and Text only style options under the Styles box in the plugin settings page
- Option to turn off the Contextual Related metabox on Edit Posts screens or limit it to Admins only. Also applies to Pages and Custom Post Types
- Filter
crp_link_attributes
that allows a user to add or remove attributes for thea
tag - Notice is displayed at the top of the Settings page if there are any missing of the FULLTEXT indices missing
- Option in the Contextual Related Posts meta box to disable the related posts on the selected post
- Select post type in the Related Posts Widget
- Enhancements:
- Optimised number of queries for exclude categories option. Those not using this option will see the greatest savings
- Select a pre-built thumbnail size will automatically update the width, height and crop settings. The default style will no longer enforce the 150x150 thumbnail size.
strict_limit
argument inget_crp_posts_id
is now TRUE by defaultget_crp
takes an additional argument:heading
(default is TRUE) that controls the display of the main heading (Related Posts)- Output of
echo_crp
will be cached in a separate meta key
- Bugfixes:
- First child now gets the correct thumbnail size
- Deprecated:
ald_crp()
-Use get_crp()
insteadald_crp_content()
-Use crp_content_filter()
insteadald_crp_rss()
-Use crp_rss_filter()
insteadecho_ald_crp()
-Use echo_crp()
instead
Version 2.1.0
- New: Separate cache for related posts added to feeds. Prevents conflict with the cache for normal related posts
- New: Timthumb has been deprecated
- New: Setting "Related posts should be newer than:" to 0 to disable limiting posts by age
- New: Filters
crp_posts_match
,crp_posts_now_date
,crp_posts_from_date
to modify the WHERE clause - Modified:
thumb_timthumb
,thumb_timthumb_q
andfilter
attributes for the functioncrp_get_the_post_thumbnail
have been deprecated. If you're using this function, an entry will be created for the deprecated log - Modified: Reset default thumbnail URL location to plugin default if the field is blank or only contains
/default.png
- Modified: Meta-box will no longer be displayed on non-public post types
- Modified: For first image, the plugin will attempt to seek the correct thumbnail size if available
- Fixed: Author link was incorrectly displayed multiple times in the list when Show Author was enabled
- Fixed: WP Notice Errors when using the Widget via the Customizer menu in WordPress
- Fixed: Incorrect thumbnail was pulled on attachment pages
Versions 2.0.4
Beta release of v2.1.0
Changes until this point include:
- New: Separate cache for related posts added to feeds. Prevents conflict with the cache for normal related posts
- New: Timthumb has been deprecated
- Modified:
thumb_timthumb
,thumb_timthumb_q
andfilter
attributes for the functioncrp_get_the_post_thumbnail
have been deprecated. If you're using this function, an entry will be created for the deprecated log - Modified: Reset default thumbnail URL location to plugin default if the field is blank or only contains
/default.png
- Fixed: Author link was incorrectly displayed multiple times in the list when Show Author was enabled
Version 2.0.1
Fixed: Clear Cache button which broke in 2.0.0