How to disable comments in WordPress

A quick guide on how to deactivate the comments function

WordPress Comments
WordPress Comments / Image Source: pixelcreatures – Pixabay.com / CC0 Public Domain

The built-in comment feature in WordPress is fantastic to get in touch with your visitors and receive valuable feedback from your readers or start active discussions. However, depending on the type of your website, you may want to disable comments in WordPress. The reason could be that the comment feature just isn’t suitable for your website or because you’re receiving a lot of comment spam. In this tutorial you’ll learn how to disable comments on your WordPress website or blog.

Disabling comments on your WordPress website

By default, comments for posts are globally enabled in WordPress. If you want to completely deactivate the comment feature in WordPress, this can be quite a challenge because the available option to deactivate comments will only take effect for new posts. That means the comment feature for posts that already have been published before the change will still be active.

To disable comments for new posts on your WordPress website, please navigate to Settings => Discussion in your WordPress dashboard and uncheck the particular checkbox for comments. Keep in mind what has been said before, this setting however does not apply to already published posts.

Important: After you’ve turned off comments, it doesn’t necessarily mean that the comment count on your website will automatically disappear. It just prevents that people can leave new comments. If you want to remove the comment count which may appear on posts, archives or within widgets, you need to check your WordPress theme if there is such an option available or hide it with CSS.

Deactivate comments for published posts

Comments Posts Pages
Image Source: geralt – Pixabay.com / License: CC0 Public Domain

After you’ve disabled comments for new posts in WordPress, you may want to get rid of the comment feature for already published posts as well. This usually is the case if you don’t make use of comments on your WordPress website. Another possible scenario is that you may want to end a discussion on a certian topic or you’re getting lots of spam comments for particular posts.

To turn off comments for single posts in WordPress, please navigate to Posts in your WordPress dashboard, find the post you want to disable the comments for and use the Quick Edit function to do so. You can see this in detail when having a look at the video in the previous section of this guide.

Globally disable comments with WordPress plugins

Disable Comments Plugin
Image Source: Screenshot – WordPress.org

In case you have a bunch of already published posts on your website and do not want to disable comments manually on each one of them (although bulk editing is available in WordPress), you can use certain plugins for this purpose. Using WordPress plugins to disable comments can be an alternative. These kind of plugins can do the work for you, for example Disable Comments.

With this WordPress plugin you can globally turn off comments on your WordPress website. Just download it from the WordPress Plugin Directory and get rid of the comment feature on your WordPress website. There are alternative 3rd party plugins available as well.

The information in this tutorial also has been helpful for users with the following questions:

  • How to disable comments for old posts?
  • Disable comments on WordPress pages
  • Deactivate comment feature in WordPress
  • Which plugin can disable comments in WordPress?
  • Get rid of comment function in WordPress
  • How to close comments on WordPress posts?

Share this with your friends

17 Comments

  1. I’ve just noticed that since I installed my new WordPress theme, the leave comments section which should be at the bottom of each post is missing. It’s on all of the posts that I did prior to installing the theme. Any ideas how I can get this back on all my posts?

    • Hi Brent, comments are handled by WordPress itself and usually not by your WordPress theme. Here you can find more information: Understanding Comments in WordPress.

      To enable comments for your old posts, you could navigate to Posts in your WordPress dashboard. Select all old posts (via checkbox) and choose Edit from the drop-down menu. Then click Apply and select Allow from the Comments drop-down menu. Now update your changes.

  2. Comments are really an important factor to justify your articles. Readers comment on your posts to share their views and thoughts about your article. But sometimes we need to disable comments in WordPress site for some reasons. There are different plugins to turn off commenting in WordPress. I use No Page Comments. Thanks for your article.

  3. Just go into single.php and delete the “get comment template” bit. If you ever want it back, just restore that file back to original.

    • Hi Joe, thanks for your comment, but your suggestion would be considered as bad practice. In general you shouldn’t modify core themes files (just like you shouldn’t modify WordPress core) because these changes will be lost after theme updates anyway, unless you use a child theme.

      The most easiest way to turn off comments in WordPress is by simply making use of the options that are available in the WordPress dashboard under Settings => Discussion. And if there are already comments on the site, then you can easily get rid of that by making use of plugins, as suggested in the article. There is no need to dive into the code of your WordPress theme.

  4. Hi, I have installed the No Comments plugin, but “Comments Off” still appears with each post. Since I am using my WordPress theme as a regular website, not a blog, I would like to hide this feature entirely — it looks particularly bad on a cell phone. Can you help me solve this issue? I want to have comments disabled and completely removed. Thanks!

    • Hi Matthew, even if you’ve disabled comments on your website, your WordPress theme still may be displaying a comment count or a notice that comments have been turned off. This entirely depends on the design or functionality of your WordPress theme.

      You could check if your WordPress theme has an option to hide the comment count. However, it seems you’re not using a WordPress theme by MH Themes, so probably the best you could do is reach out to the developers of your theme for support and further analysis.

  5. Where can I find the comments pages to see what people have commented? I checked the post pages and other screens but I’m lost. I want to see if someone removes his comment and I also want to delete comments.

    • Hi Jimmy, if you mean that you want to manage the comments on your website, then you can do this in your WordPress dashboard under Comments. There you will find everything your users have commented and you can also moderate and delete comments as you like.

    • Hi Sumit, as far as we know it’s not possible in WordPress that users delete their own comments, unless they are editor or site admin. But you could do some research in order to determine if there possibly is a plugin to enable user comment moderation.

  6. I have turned off the comments but the comment bubble is still appearing for each post on the front page. How do I get this to disappear?

    • Hi Cassie, if you deactivate comments in WordPress, it doesn’t necessarily mean that the comment count on posts will disappear as well. This depends on the WordPress theme you’re using and posts can still have existing comments while being closed for new comments.

      However, if you’re using our popular MH Magazine theme, there is an option to hide the comment count on posts and archives. In addition the included custom widgets usually have options to hide post meta data as well (e.g. comment count).

  7. Hello, how can I remove the website field from the form in the comment section? I only need to show name and email sir. Help please.

    • Hi Joseph, it depends on the WordPress theme you’re using and how your comment section is handled (e.g. WordPress core comments or through alternative plugins like Disqus). For example if you’re displaying WordPress core comments while using our popular MH Magazine theme, you could just hide the website field from the comment form with a line of CSS:

      .comment-form-url { display: none; }
  8. Thanks for sharing your opinions on this subject! I do say for beginner bloggers to leave your comment section on. As a beginner you want to start building engagement and a community. How do you do this? You want to comment on other blogs within your niche to start off. For me when I was a beginner, this is what I did, and people did come to my blog to comment as well. For others it may be different, but so far I haven’t seen this for myself.

    Now once you get to the point where you’re getting hundreds and thousands of comments, then it might be safe to turn off your comment section. At this point you’ve already built a great reputation and trying to reply to all of those comments can be by far overwhelming. This is at the point where your shares become more valuable than your comments. I myself haven’t got into this point yet, but would more than likely turn this section off if it does!

    • Hi Umapathy, thanks for sharing your views. However, we wouldn’t recommend bloggers (beginner or experienced) to turn off comments just because you’re getting hundreds or thousands of comments. Getting hundreds of comments is exactly what you want as a blogger, you usually want that people read and interact with your content. It’s certainly not necessary to reply to all those comments. In the end comments are valuable user generated content.

      If most of these incoming comments are spam comments, then you also don’t need to necessarily turn off comments because of that reason. There are plenty of WordPress plugins available to protect your site against spam comments. We’ve an article about that here: How to secure your WordPress site from spammers.

Leave a Comment

Your email address will not be published.


*