Version 3.1.0
Release post: https://webberzone.com/blog/contextual-related-posts-v3-1-0/
-
Features:
- REST API support - you can now fetch the related posts via the REST API. Fetch posts at
/contextual-related-posts/v1/posts/<id>
- New setting in the metabox to exclude specific terms
- REST API support - you can now fetch the related posts via the REST API. Fetch posts at
-
Enhancements/modifications:
- Thumbnail function uses the size instead of exact array of sizes to better select the appropriate thumbnail image size
- Use site icon if no other thumbnail is found
- Use both
post_title
andpost_content
fields for matching even when match content setting is off - Passing
post_type
andposts_per_page
arguments will be respected instead of being overridden
-
Bug fixes:
- Don't enqueue wp-editor on widgets.php
- WP_Query stopwords are stripped from content that is matched
- Manual posts are added after the automatic posts are shuffled