If you are looking for a way to disable comments in WordPress, this article will help you accomplish this task.
There are many reasons to strong>disable comments in WordPress. One of the main reasons to disable comments is to prevent spam or promotional comments. Moderating that type of content manually can demand much more time that you have available and give a bad image of the site if not dealt quickly.
WordPress, by default, allows comments on all posts and disables comments on all pages. Removing comments from posts is one of the more frequent questions from new users and in this article, we show you the various ways to disable comments. But you may prefer to disable comments on posts and enable comments on pages for some specific reason. It’s your choice.
Disable WordPress Comments by Default
If you want to disable comments for newer posts, login to your WordPress admin area and go to Settings > Discussion (option located in your Admin sidebar).
Under Default article settings section, disable Allow people to post comments on new articles option.
One other thing we recommend is that you should also disable Allow link notifications from other blogs (pingbacks and trackbacks) on new articles option. This way, pings will also be stopped for newer posts.
Click the Save Changes button and from now on, new posts will have comments disabled.
Disable Comments on Single Post
If you want to disable comments in a single post, select post to update by clicking All Posts and click Edit Post. Scroll down the page to see if Discussion metabox appears. If it appears, disable both options.
If Discussion doesn’t appear you need to click the Screen Options tab located in top right. A new panel will open and in there click on Comments to activate Discussion metabox.
After that, scroll down the page to find Discussion metabox and disable both options.
Update the post and comments will be disabled for this post. You can do the same thing to manage comments in single pages.
Disabling WordPress Comments On Existing Posts
If you want to disable new comments being created in current posts you have two options:
1 – Go to Settings > Discussion for the quickest option. Under Other comment settings you have option Automatically close comments on articles older than set this to 1 and comments will be closed in all posts older than 1 day.
2 – Go to Posts > All Posts (option located also in your Admin sidebar).
Select the posts where you want to disable comments. If you click in the box to the left of Title you will select all posts.
Click on Bulk Actions and from drop-down menu select option Edit. Click the Apply button.
A new panel will open and from Comments drop-down menu select option Do not allow.
Click the Update button to finish. New comments have been disabled for all current posts.
Enable/Disable Comments on Pages
In previous versions, WordPress by default would also enable comments on pages. In newer versions, they are disabled by default. But if you want to enable or disable comments on specific pages you need to go to Pages > All Pages.
Like for posts, you can select which pages you want to enable/disable comments. And update those changes in bulk. Start by selecting which pages you want to update. Click on Bulk Actions and from drop-down menu select option Edit. Click the Apply button.
A new panel will open and from Comments drop-down menu select option Allow if you want to enable comments. Or select option Do not allow if you want to disable comments on pages.
Click the Update button to finish.
Disable Comments Plugin
Enabling or disabling comments in posts or pages is an option that you need to take for each site that you manage. There are pros and cons for both options but with this tutorial, you can now decide which path to take.