In a previous tutorial we looked at how to create posts in WordPress. Today we will be looking at how to delete posts in WordPress instead. Although this is easy to do, many people often misunderstand that sending posts to the bin is not the same as completely removing them from the website. This tutorial will look at binning/deleting posts, both individually and in bulk.
Fully deleting posts in WordPress requires two steps: sending the post to the bin, then emptying the bin which fully removes the post(s) from the website.
There are two ways that we can bin individual posts in WordPress: from the edit post screen and from the individual post screen. We will look both of these methods.
Bin an Individual Post from the Edit Post Screen
To get to the edit posts screen from your WordPress admin panel you will either need to click on the ‘All Posts’ link from the menu:
or you can access it from this URL: www.domain.com/wp-admin/edit.php where www.domain.com is the domain or your website.
Once the page loads you will see all the posts listed on your website. To delete a specific post you should hover your mouse over it, then click on the ‘Bin‘ button. This will then move your post into the bin.
There is one more step to fully delete the post from your website, but we will cover that later after we have shown all methods for binning posts.
Bin an Individual Post from the Post Screen
The next method we will look at is binning a post from the post screen. Once you have accessed the post page that you want to delete, you will see on the right side of the page a ‘Move to bin’ link.
In the following example I am in the post screen the the ‘Example post’ that I created before.
Click on this link to move the post to the bin.
Bin Multiple Posts from the Edit Post Screen
To bin multiple posts you will need to go to the edit posts screen. Next to each post is a checkbox. You will need to click the checkbox for each post that you want to bin.
After all of the posts you want to bin have been checked, you will need to click on the ‘Bulk Actions’ drop down box which is located at the top of the post listing. Then click on the ‘Move to bin’ option. Once selected, click on the ‘Apply’ button to send those posts to the bin.
Properly Deleting Posts from your WordPress Website
Many people assume that sending a post to the bin means it is deleted from the website. This is not true. The post still exists on the database and can be restored if needed. We will now look at entirely deleting the posts from the website.
Now that the post, or multiple posts, that you want to delete are located in the bin, you can properly delete them from the website. You will need to go to the edit posts page first. From there, if you look at the top of the post listing, you will see a bin link with the number of binned posts in parenthesis.
Click on this link. This will then display all of the currently binned posts. At the bottom of the post listing you will see an ‘Empty Bin’ button. Click on this and it will fully remove the posts from your website.
In this tutorial we have looked at sending posts to the bin and then emptying the bin to fully delete them from the website. It’s important to know the difference between the two.
Just sending a post to the bin will allow it to still exist on the website; it just won’t be available on the front end of the website. In this state, admins can restore the post if needed.
Emptying the bin will fully delete the post(s) from the website if you are sure it is no longer required. It is important to do this otherwise, over time, your database will be bloated with data that you don’t actually need.
Please message in the comments with any other WordPress tutorials that you would like me to cover.