=== Custom Related Posts ===
Contributors: BrechtVds
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QG7KZMGFU325Y
Tags: related posts, manual related posts, widget, custom post type
Requires at least: 3.5
Tested up to: 6.9
Stable tag: 1.8.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Manual related posts without slowing down your website!

== Description ==

Custom Related Posts is a user friendly plugin for manually adding related posts to any of your posts, pages or custom post types. You have full control over those related links, choosing for yourself if they go both ways.

An overview of the features:

*   Set which **post types** the plugin is active for yourself
*   Easily define relations in **one or both ways** on the post edit page
*   Display related posts with a **shortcode, widget or block**
*   Optionally **show featured images** in any size
*   **Import from XML** using post IDs
*   Compatible with the Classic Editor and **Gutenberg Block Editor**

> <strong>Need help?</strong><br>
> Check out [our documentation](https://help.bootstrapped.ventures/collection/155-custom-related-posts)!

This plugin is under active development. Any feature requests are welcome!

== Installation ==

1. Upload the `custom-related-posts` directory (directory included) to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Check out our [getting started documentation](https://help.bootstrapped.ventures/category/159-getting-started)

== Frequently asked questions ==

= Do you offer any support? =

Yes! We pride ourselves on offering awesome support and almost always answer support questions within 24 hours. Send us an email at [support@bootstrapped.ventures](mailto:support@bootstrapped.ventures) whenever you have a question or suggestion!

= Where do I report security bugs found in this plugin? =
Please report security bugs found in the source code of the undefined plugin through the [Patchstack Vulnerability Disclosure  Program](https://patchstack.com/database/vdp/9e5fc6c6-185c-40ee-9658-ac57163cfdec). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.

== Screenshots ==

1. The Custom Related Posts block and plugin sidebar
2. Add relations by searching for posts

== Changelog ==
= 1.8.1 =
* Improvement: Compatibility with Block Editor in iFrame
* Fix: Additional check to make sure a logged in user can only see his own posts
* Fix: Change default post status to published only
* Fix: Icon color in Block Editor

= 1.8.0 =
* Feature: Add customizable fields for related posts display including author, date, and excerpt
* Feature: Implement search type selection in the related posts modal with customizable search options (by title, ID, or default)
* Feature: Updated cached relation data through settings
* Feature: Setting to change title HTML tag
* Feature: Add setting to enable or disable self-reference links in related posts output
* Improvement: Output optional alt and title tag for images
* Improvement: Add optional class support for custom related posts block output
* Improvement: Wrapper div container for title and list
* Fix: Restrict access to API endpoints to logged in users only

= 1.7.5 =
* Improvement: WordPress 6.8 compatibility
* Fix: Sanitization to prevent misuse of shortcode by contributors
* Fix: Loading translations too early

= 1.7.4 =
* Fix: Restrict AJAX access to prevent misuse by contributors

= 1.7.3 =
* Fix: Notice due to incorrect textdomain loading

= 1.7.2 =
* Fix: Block editor error if related post is broken

= 1.7.1 =
* Fix: Prevent deprecation warning

= 1.7.0 =
* Feature: Manually set order for related posts (Block Editor only)
* Feature: Setting to disable pinning of related posts images
* Improvement: Image responsive sizing in some situations
* Fix: Prevent PHP 8 deprecation notice related to usort

= 1.6.6 =
* Fix: Block editor preview broken in WordPress 5.8

= 1.6.5 =
* Fix: Problem when unpinning CRP sidebar in Gutenberg

= 1.6.4 =
* Fix: Allow removing of relations to permanently deleted posts

= 1.6.3 =
* Fix: Prevent PHP notice in WordPress 5.5

= 1.6.2 =
* Feature: Limit by post type when searching for relations

= 1.6.1 =
* Feature: Thumbnails in output are links as well
* Improvement: Bring back shortcode button for TinyMCE
* Fix: Class name error for list item title
* Fix: PHP notice for missing variable

= 1.6.0 =
* Feature: Show featured image for related posts
* Feature: Setting to disable relation caching
* Improvement: New settings page
* Improvement: Filter hook for search arguments
* Fix: Deleting related post to post type that has been disabled

= 1.5.1 =
* Fix: Relations not loading correctly in Gutenberg

= 1.5.0 =
* Feature: Gutenberg compatibility

= 1.4.1 =
* Fix: PHP 7 Warning

= 1.4 =
* Feature: Setting to open links in a new tab
* Improvement: WordPress 4.8 compatibility
* Improvement: $relation variable available in plugin hook

= 1.3 =
* Improvement: Settings for searching related posts

= 1.2 =
* Fix: Firefox compatibility problem

= 1.1 =
* Feature: Import relations from XML

= 1.0 =
* Very first version of this plugin

== Upgrade notice ==
= 1.8.1 =
Security related fix and block editor improvements

= 1.8.0 =
Various new settings and improvements

= 1.7.5 =
Update to prevent potential misuse of shortcodes by contributors

= 1.7.4 =
Update to prevent potential misuse of relations by contributors

= 1.7.3 =
Update to prevent PHP notice

= 1.7.2 =
Update when experiencing errors in block editor

= 1.7.1 =
Update to ensure WordPress 6.3 compatibility

= 1.7.0 =
Ability to manually set related posts order and better PHP 8 compatibility

= 1.6.6 =
Update to ensure WordPress 5.8 compatibility

= 1.6.5 =
Update to prevent CRP from disappearing in Gutenberg

= 1.6.4 =
Update to prevent issues with deleted posts

= 1.6.3 =
Update for WordPress 5.5 compatibility

= 1.6.2 =
Ensure compatibility with the latest version of WordPress

= 1.6.1 =
Fix some minor issues introduced in the previous version

= 1.6.0 =
Update for some brand new display option

= 1.5.1 =
Update when using the new Gutenberg editor

= 1.5.0 =
Update to use CRP with the new Gutenberg editor

= 1.4.1 =
Update when using PHP7

= 1.4 =
Update to ensure WordPress 4.8 compatibility

= 1.3 =
Update to ensure WordPress 4.5 compatibility

= 1.2 =
Update if you're using Firefox for adding related posts

= 1.1 =
Update for the ability to import relations from XML

= 1.0 =
First version, no upgrades needed.