Do you want to bulk delete WordPress posts?
It’s easy to manage individual posts from the admin area. However, if you want to delete a large number of posts, selecting and deleting each post individually can take a lot of time.
In this article, we will show you two quick and easy ways to bulk delete WordPress posts from your blog.
Why Bulk Delete WordPress Posts?
When you want to remove a post from your WordPress website, you can simply go to Posts » All Posts and hover over the article you want to delete.
When it appears, simply click on the ‘Trash’ link to send that post to the trash.
By default, WordPress automatically deletes anything that has been in the trash for 30 days. After that, they will be permanently deleted from your WordPress database unless you’ve disabled the automatic empty trash feature.
However, sometimes you may need to bulk delete posts. For example, if you accept guest blogs, then you may get dozens or even hundreds of posts that aren’t suitable for your website. Deleting each post manually would take a lot of time.
With that being said, let’s see how you can bulk delete WordPress posts.
Video Tutorial
If you don’t want to watch the video tutorial, then you can continue reading the text version below. Simply use the quick links to jump straight to the method you prefer:
Method 1: Using the Bulk Actions Feature (No Plugin Required)
The easiest way to bulk delete WordPress posts is by using the bulk actions feature. This tool is built into WordPress, so you don’t need to install any extra WordPress plugins.
First, head over to Posts » All Posts. You can now check the box next to each post you want to delete.
Another option is to check the box next to ‘Title’, which selects all the WordPress posts on the current page.
You can then uncheck any posts that you don’t want to delete.
When you are happy with your selection, just open the dropdown menu that shows ‘Bulk actions’ by default, and then select ‘Move to Trash.’
Finally, click on ‘Apply’ to delete the selected posts from your WordPress blog.
WordPress will now move the selected posts to the trash.
With this method, you can delete up to 20 posts at a time. However, it is possible to bulk delete more items by customizing the WordPress admin area so that it shows more posts per page.
To do this, click on ‘Screen Options’ at the top right corner of the screen. Then, type a new number into the ‘Number of items per page’ box.
Then, simply click on the ‘Apply’ button, and WordPress will show the number of posts you typed in earlier.
You can now go ahead and bulk delete these WordPress blog posts by following the same process described above.
Bulk Delete Posts by Specific Author or Category
Sometimes, you may want to delete posts for a specific category or tag or posts written by a specific writer on your multi-author WordPress blog.
To do this, simply go to Posts » All Posts and then click on the category, tag, or author name.
This will show all the posts that have this category, tag, or author. For example, clicking on the ‘Apple News’ category will show all the posts filed under that category on your news aggregator website.
You can then bulk delete the posts by following the same process described above.
Method 2: Using the Bulk Delete Plugin (More Options)
The built-in WordPress bulk delete feature is a good solution for most websites. However, sometimes, you may want to delete posts based on specific criteria such as the post status, how many comments the post has received, or its URL.
In this case, you can use the Bulk Delete plugin. This free plugin allows you to bulk delete based on custom taxonomies, custom post types, post status, and other criteria.
First, you need to install and activate the Bulk Delete plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.
Upon activation, you must go to Bulk WP » Bulk Delete Posts to see all the different filters you can use. You can filter posts by duration, select posts published in the last x days, delete them instantly without sending them to trash, and even schedule to delete them later.
As you scroll down further in the settings screen, you will find more options to select and delete posts by categories, custom taxonomies, custom post types, and more.
You can even bulk delete all WordPress comments, pages, users, and custom fields.
We hope this article helped you learn how to easily bulk delete WordPress posts using these two methods. You may also want to see our list of the best plugins to improve the WordPress admin area or our guide on how to add custom dashboard widgets.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
kzain
Thanks for this!
I had a bunch of old draft posts cluttering up my site, and this helped me clean them up in seconds using the bulk actions feature. No need for a plugin for that basic task.
Jiří Vaněk
The instructions are great, I’m just wondering if it deletes all the articles as one process, or is each deletion a separate process? Because if I delete, for example, 100 or more articles, I might very easily run into a PHP server limit if WordPress does it all as one process.
WPBeginner Support
It would depend on the specific hosting provider as moving a post to the trash is normally a low server load action but it can be a good practice to limit how many are moved at once.
Admin
Jiří Vaněk
OK thank you. I will think about it and I will divide any larger deletion of articles into several smaller blocks in order to fit into the max execution time set on the server.
Noble
Please this bulk delete remove the featured images also? Because I also want the featured images to be deleted along side the posts…
Thanks….
WPBeginner Support
The featured images would be in your media library but not attached to any posts.
Admin
joseph tersoo
i tried the first and the second method on my site but the issues i had is that i wasnt executing on time, it process like upto 5mins and just about 20 post will delete. also the same using the plugin, dont know thats the problem? i have over 2000 post to delete.
WPBeginner Support
You may want to try disabling any plugins you aren’t using in case there is a conflict that could be slowing down your site, another option would be to increase your execution time using: https://www.wpbeginner.com/wp-tutorials/how-to-fix-fatal-error-maximum-execution-time-exceeded-in-wordpress/
or deleting the posts in smaller batches such as 100
Admin
Ashish Punetha
Great Post,
I want to just confirm, can we consider deletion via WordPress database.
thanks.
Editorial Staff
Hey Ashish,
Using the above methods, the posts will be deleted from the WordPress database.
You can also use SQL queries to delete posts directly in the database, but that method is not beginner friendly and are prone to more errors.
Thanks for leaving a comment
Admin