Do you want to disable comments on your WordPress website? Comments are a great way to communicate with users of your website. Users can ask their questions and share their suggestions as well.

You may want to disable comments on some of your pages or posts in some cases. Because some people spam your website with fake information, links and promotions.

In this post, you will learn how to disable the comment option on your WordPress site. In WordPress, you can completely disable comments from your website or disable it in some specific pages or posts.

Where to disable comments on your WordPress site?

  • Many websites, online stores have static pages like services, about us, contact and there’s no point in adding comments to these pages.
  • If the admin or website owner does not have time to respond to comments, it is best to disable the comments section. It would show the users a bad image if the comments were unanswered.
  • Bloggers may be interested in publishing special announcement posts. And in those cases, they don’t want to allow comments, either.
  • Any esteemed news, government websites or business website blogs would like to disable comments to avoid spamming.

There may be many more reasons to disable comments, but for now, let’s look at the ways on how to disable comments.

How to disable comments in your WordPress site?

Here are some of the simple ways to disable comments in your WordPress site.

  1. Disable comments on future posts
  2. Disabling comments on specific posts and pages
  3. Disable comments on posts and pages in bulk
  4. Disabling comments on WordPress using plugins
  5. Disable comments on Media pages

1. Disable comments on future posts

If you want to disable comments on your posts or blogs easily. This is the best way to do it. It’s pretty simple, so if you’re a beginner, you’re going to find it very easy.

Disable Comments on Future Posts

To disable comments on future posts, goto Dashboard > Settings > Discussion and uncheck the Allow people to submit comments on new posts in the Default post settings. And then Save Changes.

If you want to allow or disallow comments on a specific post, you can still do so without changing this setting.

2. Disabling comments on specific posts and pages

Disabling comments on a specific page or post is very important when you post an announcement post or have a landing page. And you want to disable comments for such specific posts, or pages except for other posts or pages.

Disable Comments on a Specific Page or Post

To do that, go to Dashboard > Pages or Posts (click on the Edit the page or post that you want to disable comments) > Discussion and uncheck the Allow Comments to disable the comments for that specific page or post.

3. Disable comments on posts and pages in bulk

If you want to disable comments for only your pages except for posts, this option is a good way to do that.

Disable Comments on Pages and Posts in Bulk

To do that, go to Dashboard > Pages > Select All, click on the Edit and then Apply > Do not allow (on the Comment row). Follow the gif above to have a clear idea of how to do it.

4. Disabling comments on WordPress using plugins

There are a bunch of plugins available that can help you disable comments on your WordPress posts or pages. And you don’t have to do that manually.

Here are some of the plugins that can help you disable comments

Disable Comments

Disable Comments plugin is one of the best WordPress plugins for automatically disabling comments on your site. And this plugin has over 1 million active installs.

Plugin Settings Page

This plugin allows administrators to disable comments everywhere on your site or on specific pages or posts or media pages.

Using the plugins you can automatically disable comments.

5. Disable comments on Media pages

You can disable comments on media pages by simply using the above plugin or manually using a code script. Just paste the following code into the functions.php file of your theme.

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

Conclusion

So, we have come to the end of this simple guide. Now I hope that you have a clear idea of How to Disable Comments on Your WordPress Site.

You can try manual methods that give you more freedom to disable all pages or posts or specific ones by just taking a few simple steps. And avoid using unnecessary plugins that might slow down your site while loading additional scripts.

I hope this blog post would be helpful. If you have any doubts, please let me know in the comment section below.

Subscribe to our YouTube channel for videos related to WordPress plugins and themes. Follow us on Facebook and Twitter for updates related to WordPress.

You may also like:

WordPress 5.5 Will Bring Automatic Plugin and Theme Updates

How to Duplicate a WordPress Page or Post – Simple Steps