When Do We Need to Delete Bulk WordPress Posts?
Some times we get into a situation, where we need to delete bulk WordPress posts in one go. Reasons can be anything ranging from creating a duplicate website, spam content posts, comment spam, starting a website from zero etc. In case of a couple of posts you may delete the posts by simply going to Posts >> All Posts in the admin backend and delete any number of posts from there. But if you have thousands of posts, the manual deletion is not possible. Deleting directly from the database using PHPMyAdmin is also not possible because running database queries may be too technical for many of us.
How to Perform Bulk Delete Action on Posts?
Then the best choice is using a free Bulk Delete plugin available in the WordPress repository. After downloading and activating the plugin, you will find it on the left side admin menu as “Bulk WP” with Bulk Delete Posts as a sub-option. Here are three top most plugins to delete posts.
There are several options to delete the posts depending on their status like:
- All Published Posts
- All Draft Posts
- All Pending Posts
- All Scheduled Posts
- All Private Posts
- All Sticky Posts Note: The date filter will not work for sticky posts
There is an option to delete the posts permanently or move the posts to trash. But please note that once the posts are deleted permanently, there is no way to get that posts data back again. So, if you are not sure about anything, then please backup the website files and database before trying out this plugin or simply move them to trash first. WordPress has an automatic cron feature where the trash gets emptied automatically after a set duration of time.
You can optionally schedule the delete function by setting up time (This is a feature of Pro version though – Paid Plugin) or you can selectively delete pages depending on a date range. Please see the screenshot below:
Delete Posts By Category:
Another convenient feature of this plugin is deleting posts by category.
Using this plugin you can also perform the bulk delete action on the following things: