Let’s celebrate MakiPlace’s 1st birthday together! Look Back ›

How to Disable Comments on WordPress?

kevin 21 views

Lots of comments or feedbacks might imply a great interaction with visitors. However, sometimes comments might be unwanted in WordPress. Thus, WordPress users would like to disable or remove comments from their pages and blogs.

This article will show you when you should consider removing comments and steps to do it.

Should We Disable Comments in WordPress?

You might be wondering whether you should disable comments in your WordPress site or not. Sometimes the bulk of low-quality comments and spams cost you tons of time to handle and moderate. But what’s important is you don’t see any meaning or obvious result in doing so. This is exactly when you think of removing comment functions on your site.

However, you know that comments are two-way interaction between you and your readers. So turning off comments on your WordPress site will probably lower the engagement rate, thus driving your site visitors away. Besides, some positive feedbacks might be missed out.

So make sure you take very thorough consideration before moving on to the next part where you will get instructions on how to disable comments in your WordPress site.

Two Ways to Disable Comments in WordPress

Manually Disable

The first solution to disable comments in WordPress involves WordPress owners’ searching for some hidden functionality in this platform as well as doing a few tricks. However, manually disabling comments can be used for either published or future posts. Steps by steps, we believe the WordPress Admin Panel would be a fresh start today.

WordPress Admin Panel

Using the WordPress Admin Panel, unfavorable comments would certainly be taken off in either published posts or future posts.

Published Post
  1. Choose “Screen Options” at the top right corner.
  2. Tick the “Discussion” checkbox.
  3. Discussion Panel can be found once you have scrolled down of the Screen options slide bar.
  4. Untick “Allow Comments” checkbox.
  5. Click “Save“.
Future Post
  1. Find “Discussions” in the Settings menu.
  2. Untick the “Allow people to post comments on new articles” in the Default article set.
  3. If you wish to remove the annoying message “Comments are closed”, you should add the following CSS snippet:
    1. .comments-area p.no-comments {
    2. display: none;
    3. }
Note on Selected Comment Disable

Getting to a more complex situation we’ve got here, you would like to disable comments for futures posts as well as the existing ones. There are various options which allow you more control on how comments would be disabled.

  1. Go to the Discussion Panel.
  2. Choose your options:
    • Blacklisting IP addresses, emails or usernames: you are able to block comments from such visitors by adding the code .htaccess to avoid malicious IPs.
    • Requiring your users to register before posting.
    • Approving comment authors.

Automatically Disable

Disable comments

Disabling comments altogether in WordPress is not a challenge anymore as we have the assistance of an extremely powerful plugin named Disable comment. With this plugin, you can save time and get busy with another contents work.

Disable comment is an open source plugin developed by Samir Shar. This WordPress plugin has reached a significant number of active installations of one million. Besides, the plugin is worth for many 5 stars as being translated into 24 languages. However, the plugin’s developers have recommended users to disable all posts’ comments or certain post types.

There are five features that the plugin provides the users. It hides all comment links from the Admin menu and admin bar. Additionally, all comments-related sections are hidden from the WordPress dashboard. Besides, all comment-related widgets are disabled as well. The fourth feature is to disable all comment RSS/ Atom feeds with requests for these redirected to the parent post. Lastly, the X-pingback HTTP header is removed from all pages. Disabling all comments in WordPress requires you to follow these steps:

  1. Download the plugin “Disable comment“.
  2. Activate the plugin.
  3. Choose your options:
    • Completely disabling the commenting feature in WordPress. Remember to remove all existing comments on your pages and posts too.

Final Words

Disabling comments in WordPress can help you avoid annoyance and inappropriateness. These above steps are expected to enable you to disable comments on your WordPress site with great ease. But remember to consider very carefully!

Get Notified of New Articles

30,000+ people are already subscribed to MakiPlace blog. Leave your email to get our weekly newsletter.