How to Disable Comments in WordPress (Beginner’s Guide)

Comments can, in many ways, boost a blog. They turn a monolog into a debate and create a community. Also, the search engines are now indexing comments to offer a small boost to SEO. So, why anyone in WordPress would like to delete comments?

Mainly because comments can be self-promotional, spamming, and often dull; moreover, moderating remarks will eat at the time of development. So, we would be teaching you How to Disable Comments in WordPress.

Reasons to Disable Comments in WordPress

WordPress facilitates visitors to leave their opinions, suggestions, or any issues in the form of comments. It is helpful but sometimes has some harmful impacts. For that, many users and companies tend to disable the comments in WordPress. By default, the comment feature is disabled in Pages and enabled in Posts.

On the one hand, comments can boost your blog post engagement but sometimes may harm your new visitor’s experience.

Here are some of the common situation where the author prefers to disable comments in WordPress:

  • Static Pages like services, about us, contact, etc. are some areas where it makes sense to disable comments.
  • There are some types of posts like announcements where the blogger may not want to encourage trolls through comments. In such instances, the words on specific individual articles or sites may be easily disabled.
  • The other possibility is some blogs instead choose to prevent spam comments.

Video Tutorial

If you don’t want to watch our video tutorial, then you can read the tutorial in text below.

How to Disable Comments in WordPress

There are several ways to disable WordPress comment. The three critical choices are to use the standard settings of WordPress, a plugin, and specific customized code. The benefits of each strategy are more useful in some situations.

You can read all three, or you can go to the segment where you are most involved by using the below.

Disable WordPress comments with regular dashboard changes

WordPress has a default setting that disables the comments on all pages but enables commenting on all posts types. You can manually change these settings from the regular WordPress Dashboard.

Here is the easy method of how you disable comments in WordPress.

Option 1: Disable comments on all future posts and pages:

In this section, the option “Allow people to post comments on new articles” is unchecked and so you must press the Save Changes button to store the settings.

How to Disable Comments in WordPress Disable comments using PluginThis will prohibit comments on all your posts in the future. But you can still do so without modifying this setting if you want to authorize or disallow comment on a particular article.

Option 2: Disable Comments on published posts and pages:

This process is not as simple as before, as you can disable comments, as mentioned above.  So, it would help if you moved the existing words to trash; for this, visit your Dashboard » Comments.

How to Disable Comments in WordPressFrom here, you can move the comments you want to move to trash, click Bulk Actions, then select “Move to Trash,” and then click Apply Button.

Option 3: Disable comments on selected posts or pages in Bulk:

Would you want to disable comments on all posts and pages?  Without using a plugin, you can do it.

For that, go to Posts » All Posts to view all your articles.

How to Disable Comments in WordPressAfter that, select the post where you wish to disable the comments. Now choose Edit from the Bulk Actions dropdown box and like Apply.

This will enable you to modify the author’s name and also deactivate the comments for the selected posts.

How to Disable Comments in WordPressUnder the comments category, you need to choose Do Not Allow and hit the Update button. This action will disable the comments on all your selected posts.

For pages, follow the same instructions.

Option 4: Disable Comments on Media:

There are two options to do this if you wish to disable comments on media sites. By using the methods we mentioned above, you can also manually disable comments on individual media attachment files, but it will take time.

A code snippet is used to disable comments on all media attachments. Only 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 );

If you are unable to cope with the above solution, you can find out how to disable comments using a plugin in the next portion of this blog.

Disable comments using Plugin:

You should use the Disable Comments plugin to do this with only a click if you don’t want to disable comment manually. You can disable comments everywhere on the WordPress site properly. You may also turn them off for selected posts, pages, media, and others.

How to Disable Comments in WordPress Disable comments using PluginFollow the steps given below:

  • Install the Plugin by clicking here.
  • Activate the Plugin
  • Navigate to the Settings » Disable Comments

How to Disable Comments in WordPress Disable comments using Plugin

As you can see, your choices are straightforward. Everywhere on your website, you can disable comments by one click. Alternatively, for blogs, pages, or particular posting forms, you should turn these off.

Click the Save Changes icon, then. Be mindful that such settings can not be overridden by authorizing comments on individual posts and pages via standard WordPress Forum settings.

This would be helpful if you have a lot of people on the site and wish to stop reactivating the comments features for someone else.

Anyways, we hope this detailed guide helped you to understand How to Disable Comments in WordPress with and without using a plugin. Do leave your review or suggestion the comment box below because we haven’t disabled it.

Leave a Comment