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 lot of posts, then selecting and deleting each post individually can take a lot of time.
In this article, we will show you two quick and easy solutions 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 the 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 disable the automatic empty trash feature in WordPress.
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 select ‘Move to Trash.’
Finally, click on ‘Apply’ to delete the selected posts.
WordPress will now move the selected posts to the trash.
With this method, you can delete 20 posts at a time. However, it is possible to bulk delete more items by changing the number of posts that WordPress shows on each page.
To do this, you need to click on ‘Screen Options‘ in the top right corner of the screen. You can now 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 author. 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 ‘News’ category will show all the posts filed under that category.
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 WordPress plugins for business websites or our guide on how to make money online blogging with WordPress.
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.
WPBeginner Support says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Admin
Noble says
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 says
The featured images would be in your media library but not attached to any posts.
Admin
joseph tersoo says
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 says
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 says
Great Post,
I want to just confirm, can we consider deletion via WordPress database.
thanks.
Editorial Staff says
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