Remove post if exist by title

The s parameter of WP Query search posts within the title and content columns of the posts table. You can use that to shorten your code. Here is a sample bit to help you get started. You can hook it in wp_footer to run only once (very bad idea to keep it there, but good … Read more