By default, every WordPress-powered website has a βLeave a Replyβ (or, depending on the locale, βLeave a Commentβ) section at the bottom of each post, which allows new and returning visitors to read and leave comments under that post.
Years ago, the βLeave a Replyβ section hosted lively discussions between bloggers and their audiences on every topic imaginable. In recent years, with the proliferation of social media, theyβve become something of a ghost town.
Unsurprisingly, a great deal of bloggers find themselves wonderingβ¦ How can you remove the βLeave a Replyβ section from WordPressβhiding the comments and comments form altogether?
There are two sides to this:
To remove the βLeave a Replyβ section, disable comments on your existing posts, then delete all comments made by you and other users. To remove the βLeave a Replyβ section on future posts, disable commenting from βSettingsβ > βDiscussionβ in WordPress Admin.
All of this is done from the WordPress Admin menu, and you donβt need to install third-party plugins or know how to code to do this.
Read on to find out how to do this step by step, with pictures.
1. Disable βLeave a Replyβ on Old Posts
In the WordPress Admin menu, go to βPostsβ > βAll Posts.β A table with all your existing posts will show up.
In the header row of the table, to the left of βTitleβ is a checkbox. That checkbox allows you to select all of the posts on that page at the same time. Check it.
Now open the βBulk Actionsβ dropdown, select βEdit,β and click on the βApplyβ button to the right.
The βBulk Editβ dialog will open up, allowing you to make settings changes to all posts on the page in one go.
In the middle of the dialog, you will come across several dropdown. Open the dropdown thatβs right next to βCommentsβ and select βDo not allow.β
To complete the change, hit the blue βUpdateβ button in the bottom right corner.
Important: This will only disable comments on the posts on that page. You will have to do this as many times as you have pages of posts in βPostsβ > βAll Posts.β Brace yourself: on old blogs with hundreds of posts, it may take you a good half an hour or so to complete.
2. Delete the Comments From Your Blog
In the WordPress Admin menu, go to βComments.β A table with all your existing comments will show up.
Having completed Step 1 above, you will find Step 2 familiar:
Select all comments on that page. Then select βMove to Trashβ from the βBulk Actionsβ dropdown and hit the βApplyβ button.
Repeat as many times as you have pages of comments.
3. Disable Comments on Future Posts
Go to βSettingsβ > βDiscussion.β
Under βDefault post settings,β locate the three checkboxes that say:
- Attempt to notify any blogs linked to from the post
- Allow link notifications from other blogs (pingbacks and trackbacks) on new posts
- Allow people to submit comments on new posts.
Make sure all of them are unchecked:
Then scroll down to the bottom of the page and hit the blue βSave Changesβ button to the left.
Important: Once youβve unchecked the checkbox, donβt forget to scroll down and save the changes. Otherwise, they wonβt take effect.
4. Add This Custom CSS Code to Your Blog
This step is optional. However, some WordPress themes will show a βComments for this post have been disabledβ message when you apply the configurations above.
This wonβt necessarily worsen your usersβ experienceβ¦ but it wonβt necessarily improve it, either. The good news is that you can easily hide it with the CSS code snippet and the technique Iβm about to share with you below.
In the WordPress Admin menu, go to βAppearanceβ > βCustomize.β
Select βAdditional CSS.β Copy/paste the following CSS code at the bottom of the code:
#comments {
display: none;
}
Now hit the blue βPublishβ button on top of the left sidebar.
Note that more modern themes, such as Twenty Twenty-Two, which feature the new Full-Site Editor in WordPress, may not have a βCustomizeβ feature at all.
If thatβs the case with your theme, you can skip this step.
Thanks for the helpful article! Did you know that you can also Disable Comments Completely with the Disable Everything plugin. I like that it is very light and simple so that is doesnβt slow your website down. It also comes bundled with lots of other optimization features that speeds up your site. Although this is a premium feature, basic plugin version is free and still worth checking out: https://wordpress.org/plugins/disable-everything/
Hey Carol,
Thanks for stopping by! Indeed, a WordPress plugin is always an option.
The plugin you shared looks legit. It seems pretty new, though. As Iβm replying to your comment, it has 60 installs and only 1 rating. Still, if it gets the job done and is updated often, a pluginβs a plugin.
Personally, Iβd go for something thatβs already gained ground by searching for βdisable commentsβ in the WordPress plugin repo.
Jim
I very much appreciate it. Thank you for this excellent article. Keep posting!
well post
I would highly recommend this blog to everyone. Thanks for sharing with us and keep posting! WP Affiliate
These content are very important for everyone who want to know details this topic. Thank you
But there is also a way to remove the section in code. Can you show us that way please?
In my opinion, this section should not be omitted. Because it is a medium to express the opinion of the visitors.
This is perfect post
Great
This is one of the helpful posts for me. Thanks Jim Stonos for sharing this informative article
comments are one of essential things to generate engagements in your site In most of the cases I prefer that we should maintain the hierarchy of your content.
I agree with you mark. This has a positive effect on increasing our siteβs Domain authority score. So everyone should not skip it. I mean Do not need to remove leave a reply section. Like this site, if remove this section we could not comment here.
Thanks in advance!
Thanks for the posts. I turned off comments easily. Do you have any idea and other ways to protect my site from an annoying spam?
Thank you