How to disable comments on WordPress Site? (Step by Step)

Comments are an excellent way for the users to interact with the author and sharing their opinions on your post. But there are several reasons why you may want to disable comments on WordPress site.

Maybe your site is bombarded with tons of spam comments and tired of manually scanning them, or your website doesn’t need the comment section at all. More often, comments are spammy, self-promotional, and inappropriate. So, in all these cases, it will be much better to disable comments on your WordPress site.

In this article, I will show you different ways to disable comments on WordPress site.

Pros and Cons of Disabling Comments on WordPress

Before you learn how to disable comment on WordPress, let take a look at some of its advantage and disadvantages.


  • Disabling comments can improve your load times as it minimizes the request sent to the database
  • You don’t need to spend time moderating comments and focus more on writing.
  • You can avoid irrelevant and malicious links on your site.


  • Comments help in SEO ranking and disabling it completely may have adverse effects.
  • Through comments, your readers can express their thoughts and interact with you. Disabling comments will stop readers’ interaction with your posts.
  • It makes difficult to build and strengthen relationships with your readers.

Now that you are aware of its merit and demerit let us dive into exploring different ways to disable comments on WordPress.

Disable WordPress Comments for All New/Future Posts

If you have just started your WordPress site, you can stop comments on future posts.

You can manage your comments settings from Settings > Discussion in your WordPress dashboard.

From the available options, untick the box Allow people to post comments on new articles.

Comments Settings in WordPress

Finally, click on the Save Changes button to reflect the changes. Now all your future posts/pages will no longer include the comment section.

This method is only applicable to disable comments on your new posts. In simple words, it will not affect old published posts or pages.

Disable WordPress Comments on Existing Posts

Suppose you have already published some posts and want to disable comment on them. A straightforward way is to use the plugin which I will discuss later. Another easy way to turn off comments is to use the feature provided in WordPress.

You can disable comments on all your published posts at the same time using the core WordPress Bulk Actions functionality. You can do that by following the steps mentioned below:

  1. Go to your Admin Dashboard > Posts > All Posts. It will list 20 posts from all of your existing posts. If you published more than 20 posts, click on Screen Options and change the Number of items per page to list all of your current posts.

    Screen Options Settings
  2. Now, check all those posts on which you want to disable comments. Then select Edit option from the Bulk Actions drop-down and hit on the Apply button.

    Posts Bulk Select
  3. You will see different options to make changes to your existing posts. All you have to do is select Do Not Allow option under Comments drop-down and click on Update.

    Disabling comments on all existing posts

Now, no one will be able to comment on your existing posts.

If you want to disable comments on specific posts only, you can individually select them and repeat steps 2 and 3 as shown below.

Disable Comments on selected existing posts

Disable WordPress Comments on an existing post individually

In addition to disabling comments in Bulks, WordPress also provides the flexibility to disable comments on posts individually.

To disable the comment on individual posts, follow the given steps:

  1. Go to Admin Dashboard > Posts > All Posts > click on Edit Post on which you want to disable comments. On the right-hand side of the writing area, you’ll see a heading Discussion. If this option is not showing, you can enable it under Screen Options as mentioned above if you are using Classic Editor. If you are using Gutenberg Editor, you can refer to the screenshot below:

    Discussion settings in Gutenberg Editor
  2. In the Discussion box, uncheck Allow Comments.

    Disabling comments for Individual Post in Gutenberg Editor

You can also achieve the same result by Quick Edit feature as shown below.

Disable Comments using Quick Edit feature

The above approaches will stop from future commenting, but all your past comments will still appear on your posts.

Disable WordPress Comments on Media Files

In WordPress, you are not just limited to disabling comments on posts and pages. You can also disable comments on media pages. There are two ways to do it.

You can either manually disable comments on individual media attachment files as shown below.

Disable Comments on Media Files

If you have a few media files, then this approach is feasible, but if you have more than 100, this can be really time-consuming.

There is an easier way to disable comments on all media files by using a few lines of code. Simply paste the following code in your theme’s functions.php or WordPress child theme functions.php.

function wphelpguide_disable_media_comment( $open, $post_id ) {
	$post = get_post( $post_id );
	if( $post->post_type == 'attachment' ) {
		return false;
	return $open;
add_filter( 'comments_open', 'wphelpguide_disable_media_comment', 10 , 2 );

In this way, you can disable comments on posts, pages, and media files using the core WordPress functionality. In case you want a much easier solution, you can use a plugin.

Disable WordPress Comments using a Plugin

There are plenty of plugins available in the WordPress repository that allows disabling comments easily on your site. The plugins make it easier and give you more control over disabling the comments.

Below is the list of some of the popular WordPress plugins to disable comments. If you are a beginner, here a step by step guide on how to install WordPress plugins easily.

1.Disable Comments

Disable Comments plugin can disable comments on your entire site or even the whole network in multisite. The plugin also allows users to disable comments on certain post types like posts, pages, and media.

To configure the plugin settings, go to Admin Dashboard > Settings > Disable comments and select the desired options as per your preference.

Disable Comments Plugin settings

2. Disable Comments for Any Post Types (Remove comments)

This is another feature-rich plugin that is useful for entirely disabling or hiding comments for any post types, pages or attachments. Unlike the previous plugin, this plugin includes additional settings to clean your site comments and improve SEO by removing spam comments.

You can configure the plugin settings from your Dashboard > Settings > Disable comments.

Webcraftic Disable comments settings
Webcraftic Comments Cleaner settings

Final Thoughts

It depends on your preference whether you want to disable WordPress comments on your site or not. Both have their owns advantages and disadvantages on your blog. By disabling comments, you can get rid of spam, but you will lose interactions with your visitors.

Let me know your thought on Disabling comments on WordPress site in the comments below.

If you find this post helpful, please share and subscribe to our newsletter for similar posts.

Leave a Reply