=== Avoid Duplicate Titles === Tags: duplicate title,title duplicate checker, avoid title duplication,duplicate Requires at least: 3.0.1 Tested up to: 4.9.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Requires PHP: 5.2.4 Contributors: Venutius Donate Link: paypal.me/GeorgeChaplin Plugin URI: www.wordpress.org/plugins/avoid-duplicate-titles/ Stable tag: trunk This plugin detects duplicate post titles and displays a warning when it detects an exact match. It supports custom post types and has the ability to prevent posts with duplicate titles from being published. == Description == By default this plug detects duplicate titles across all public post types. This includes galleries and custom posts that you may have created. Posts with duplicate titles to existing published posts are prevented from publication and instead are saved as draft. There is a settings page which allows these default behaviors to be changed: 1. Uniqueness can be detected across all post types or only for the type of post being created. 2. Posts with duplicate titles can be notified but still be published. == Installation == Option 1. 1. From the Admin>>Plugins>>Add New page, search for Avoid Duplicate Titles. 2. When you have located the plugin, click on "Install" and then "Activate". 3. Visit the Admin>>Tools>>Avoid Duplicate Titles page to review and choose your preferred setup. With the zip file: Option 2 1. Upzip the plugin into it's directory/file structure 2. Upload Avoid Duplicate Titles structure to the /wp-content/plugins/ directory. 3. Activate the plugin through the Admin>>Plugins menu. 4. Go to Admin>>Tools>>Avoid Duplicate Titles to configure the plugin. Option 3 1. Go to Admin>>Plugins>>Add New>>Upload page. 2. Select the zip file and choose upload. 3. Activate the plugin. 4. Go to Admin>>Tools>>Avoid Duplicate Titles to configure the plugin. == Frequently Asked Questions == Q. Does this plugin support Custom Post-Types? A. Yes, this plugin supports custom post types that are edited in the back end. The custom post must use the WP $title for it's title as it is this that is checked. Q. Can I check for duplicate titles across all post types? A. Yes, this is what Avoid Duplicate Titles was designed to do, it will check for duplication of post titles across also public post types loaded on your WP install. Q. Can I check for duplicates within individual post types? A. Yes, there is an option to check only the same post types for duplicates. Q. Can I prevent duplicate posts from being published? A. Yes, Avoid Duplicate Titles will not allow posts with duplicate titles to be published, they are saved as draft until changed. Q. Can I choose to allow posts with duplicate titles to be published? A. Yes, you can set it to warning only mode, where a warning is given prior to post publication but publication will not be prevented. Q. Where are the settings? A. The settings are in the Admin>>Tools menu in the back-end, it can only be accessed by Administrators. Q. What are the default settings? A. Out of the box Avoid Duplicate Titles will check for duplicates across all public post types and prevents them from being saved. Q. What about front-end editors? A. Typically Front End Post plugins use the post-new.php page and submission of a post for publication (publish) with a duplicate title will trigger Avoid Duplicate Titles, the user will then be taken to the back-end edit screen with a message that posts with duplicate titles cannot by submitted. For front end editors that allow anonymous submission this will cause a problem since not logged in users have no access to the backend. you would need to switch off enforcement of unique titles in order to avoid errors. This plugin has been tested with BuddyDev's Simple Front End Post and AccessPress Anonymous Post plugins and it works to the extent that if a duplicate title is entered, on saving the user is taken to the back end editor and informed they are not allowed to publish a post with a duplicate title. The plugin has no effect on the operation of EONet Frontend Publisher, post with duplicate titles will be allowed, this is because Avoid Duplicate Titles is a backend only plugin, checking post.php and post-new.php, if the front end publisher does not use these pages then Avoid Duplicate Titles will have no effect. Other front-end posts plugins have not been tested. Q. What about if I'm using a front end posting solution but still want to use this? A. Test it and report the results in the Support Forum. If you have problems, in the first instance, turn off enforcement of uniqueness in the settings and then you can have unenforced announcements in the backend. Q. Does this plugin support BuddyPress Docs? A. Yes in so much as front end bp_doc post types have been excluded from the tests, so will not cause an error. back end duplicate title warnings are enabled. Q. What about testing for duplicate categories? A. I'm considering this, however categories work differently to posts and that may require a separate plugin. Q. Can you disable checking for Custom Post-Types? A. No, if you are only using standard posts then you should look at Duplicate Title Validate. Q. Does it work with Gutenberg? A. This plugin is designed to work with the traditional Wordpress editor, if this is replaced with Gutenberg then the plugin automatically disables duplicate titles enforcement as this currently causes errors in Gutenberg. A future version is planned with better integration with Gutenberg. = Translators = == Screenshots == 1. screenshot-1.png showing Settings page 2. Screenshot-2.png Showing duplicate title warning 3. Screenshot-3.png Showing publish rejection notice. == Upgrade Notice == == Changelog == = 1.0.5 = 20/01/2018 Updated FAQ's in Readme.txt Added fix for Gutenberg Installations Added Review link = 1.0.4 = Revised option names for uniqueness. = 1.0.3 = Updated code with correct escape sequences and sanitization = 1.0.2 = Added support for BuddyPress Docs (bp_doc) with limitations - front end posts are not validated, back end posts only get the warning. Added settings saved confirmation. = 1.0.1 = * Added uninstall.php. = 1.0.0 = * Initial release.