Summarize with:

No wonder the WordPress comments system is valuable. It lets web visitors make comments and increase your dwell time. But sometimes, attackers use this system to leave spam comments on your site, hurting your reputation and site speed. 

That’s when you feel the urge to disable comments. However, do you know how to disable comments on WordPress website? There are several ways to perform this job.

In this article, we’ll walk you through the easiest ways to turn off your WordPress site’s comments. Additionally, we’ll discuss why you need to disable comments. Let’s read.

Why Do You Need to Disable the WordPress Comment Feature? 

Comments are a positive addition to your website, but sometimes, they can seem unnecessary. Below, you will find reasons that make comments feel inessential and get you to remove them. 

I. To Block Spam

Many attackers target sites and use bad bots to include malicious links or spam scripts on targeted websites. They submit those links or scripts through comments. Therefore, many WordPress site owners who are under attack prefer to disable the comment section to combat this issue. 

II. To Save Time

Some site owners respond to comments to keep the comment section engaging. They invest time in responding to comments. However, they feel less interested in replying to comments when they don’t see a return on investment. 

Instead, they want to allocate their valuable time somewhere else. Thus, they opt for disabling comments on their WordPress sites.

III. Improve Site Security

Website owners disable comments as they think some comments may contain malicious links or scripts that pose security risks. Hence, they disable comments to eliminate a potential entry point for such threats.

IV. Enhance Website Performance 

When your website stores a large volume of comments, it can bloat the database and slow down your site. Therefore, you need to delete stored comments and disable comments to reduce database queries and improve your site’s performance.

V. Align with Site Purpose 

Not all websites benefit from comments. For example, portfolios, corporate sites, or e-commerce platforms often prioritize information delivery over user interaction. 

So, these site types don’t require users to make comments on pages or particular posts. They need to disable comments on their websites. 

VI. To Avoid Negative Feedback

Many WordPress website owners don’t want others to leave hate speech or toxic comments about their products or services on their sites. So, they get the urge to remove and disable comments. 

How to Disable Comments WordPress Without Plugin

There are several ways to disable comments on your WordPress website. The best fact is that you don’t need any plugin to follow these methods. Let’s learn about each technique one by one.

Method 1 – Disable Comments on Future Posts

Suppose you want to restrict people from commenting on your future posts. In this case, head to WordPress Admin Dashboard > Settings > Discussion.

Go to discussion

Then, uncheck “Allow people to submit comments on new posts” option under the “Default post settings.”

Uncheck allow comments on new post

Now, scroll down and press “Save Changes” button.

Press save changes button

That’s what you need to do to prevent people from commenting on the posts you will publish.

Method 2 – Disable Comments on Existing Posts

We’ll now show you how to automatically disable, in essence, close comments on old posts after certain days. Let’s begin. 

  1. Go to WP Admin Panel > Settings > Discussion
  2. Head to “Other comment settings” area and check mark “Automatically close comments on old posts” box. 
Check automatically close comments on old posts
  1. After that, write the number of days in “Close comments when post is how many days old” box to define how many days you want to display comments on posts.
Fill close comments when post is how many days old box
  1. Scroll down and click “Save Changes” button.

These are the steps to follow to close comments on old posts after specific days. 

Method 3 – Turn off Comments on a Particular Page or Post

This method will teach you to disable comments on a specific page or post. We’ll show you how to turn off comments on a page. You need to follow the steps below.

  1. Go to WordPress Admin Dashboard > Pages > All Pages if you want to disable comments on a page.  

In contrast, navigate to WordPress Admin Dashboard > Posts > All Posts to turn off comments on a post. However, we demonstrate to you how to disable comments on a page.

Go to all pages
  1. Hover the mouse pointer over a page and press “Quick Edit” link. 
Click quick edit link
  1. Now, go to the right-hand side and uncheck “Allow Comments” checkbox—then press “Update” button.
Uncheck allow comments box

These are the steps to turn off comments on a page. You need to follow the same method to disable comments on a post.

Method 4 – Disable Comments on Pages and Posts in Bulk

We’ve seen how to disable comments on posts and particular pages. However, we’ll now learn how to turn off comments on pages and posts in bulk.  

To do so, visit WP Admin Panel > Pages > All Pages to work on pages and go to WordPress Admin Dashboard > Posts > All Posts to disable comments on all posts.  

Afterward, check ‘Title’ checkbox to select all pages or posts.

Click title checkbox

Now, select ‘Edit’ from the “Bulk actions” drop-down menu and click ‘Apply’ button next to “Bulk actions” drop-down menu. 

Select edit from the bulk actions drop down menu

You can now perform bulk actions on all selected pages. You can change the author name and page status and turn off comments. 

To disable comments, just choose “Do not allow” from the comments dropdown menu and press ‘Update’ button. 

Select do not allow from the comments dropdown menu

Doing so will turn off comments on all the selected pages. You need to follow the same process to disable comments on posts in bulk.

Method 5 – WordPress Disable Comments Completely

You need to utilize coding to completely disable comments on your WordPress site. So, this method is entirely technical and requires you to have technical know-how before you try this process. 

Before beginning this method, we recommend you heed the caution below. 

First, take a backup of your site. Next, insert code snippets into the child theme only. 

Let’s begin. 

You need to access the “Theme File Editor.” You’ll see it under ‘Appearance’ menu if you use a classic theme. On the contrary, you’ll find it under the ‘Tools’ menu if you utilize a block theme.

Since we’re using a block theme, we’ll head to Tools > Theme File Editor from our admin panel.

Go to theme file editor

Then, press “functions.php” file on the top right side.

Click functions php file

Scroll down and copy and paste the code below into your theme file editor. Finally, click “Update File” button.

Paste the code and update the file

Here’s the code snippet.

These are all ways to disable comments on your WordPress site without a plugin. We’ll now discuss how to accomplish this job with a free plugin.

How to Disable Comments on WordPress Website with Plugin

Turning off comments on WordPress with a plugin is easy. You just need to install a code snippet plugin and copy and paste the code snippet we shared above (to completely disable comments on your site) into the plugin.

Let’s get started. 

  1. Select a plugin. We recommend you choose “Code Snippets” since it allows easy insertion of code snippets. 
  2. Add it to your site. So, visit WP Admin Dashboard > Plugins > Add Plugin.
Click add plugin
  1. Then, type “Code Snippets” in the top right search field and press “Install Now” button of the marked plugin in the screenshot.
Press install now button of code snippets
  1. After that, hit ‘Activate’ button.
Click activate button of code snippets
  1. Now, go to the ‘Snippets’ menu from your WP admin panel and click “Add New.”
Hit add new of code snippets
  1. Write a code snippet name in “Add New Snippet” field, make sure you’re on “Functions php” tab, and paste the code snippet. 
Write a snippet name and paste the code snippet
  1. Then, scroll down and check if “Run snippet everywhere” radio button is chosen, and click “Save Changes and Activate” button.
Save the changes on code snippets

That’s it. That’s how you can turn off comments on your WordPress site using a plugin.

Frequently Asked Questions (FAQs)

How Do I Change Comment Settings on WordPress?

Go to WordPress Admin Panel > Settings > Discussion. Here, you’ll find options to adjust comment settings. Also, you may read the ‘Disable Comments on Future Posts’ section of this article to learn how to change comment settings on WordPress.

How Do I Remove Comments from WordPress Menu?

Head to WP Admin Dashboard > Comments. Now, click the checkboxes next to comments you want to remove. Choose “Move to Trash” from the “Bulk actions” dropdown menu. Lastly, click ‘Apply’ button to remove comments.

Our Concluding Thoughts

That’s all the information we wanted to deliver to help you know how to disable comments on WordPress website. We think you can now easily accomplish this task by following one of the methods we shared in this content.

If you can, our efforts will turn out well. Also, we’ll be grateful if you share this post with others in appreciation. Thus, we bid adieu today and will catch you another day with another helpful article.

For more tips and tricks, you might want to check out our guide on how to change your WordPress login URL to enhance your site’s security.

author
Md. Hasan Biswas is a Technical Content Writer at RadiusTheme. He strives to create engaging, helpful, and impactful content. Beyond writing, Hasan loves cooking, watching movies and TV series, and reading books.