How to Disable Comments in WordPress

How to Disable Comments in WordPress

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.
How to Disable Comments in WordPress 1
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.
How to Disable Comments in WordPress 7
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.
How to Disable Comments in WordPress 6
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.

How to Disable Comments in WordPress 9

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.
How to Disable Comments in WordPress 2
A new panel will open and from Comments drop-down menu select option Do not allow.
How to Disable Comments in WordPress 3
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.
How to Disable Comments in WordPress 4
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.
How to Disable Comments in WordPress 5
Click the Update button to finish.

Disable Comments Plugin

If you prefer, you can use a plugin to disable comments. There are several plugins available on WordPress repository and among them is Disable Comments from Samir Shah.
How to Disable Comments in WordPress 8

Conclusion

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.