Home » WordPress Tutorials » Customization » How to Disable Comments in WordPress

How to Disable Comments in WordPress

By default, WordPress enables comments across your blog section and disables comments on your pages. However, the platform allows you to modify these settings in many ways.

Read how in the following paragraphs.

How to Disable Comments in WordPress

There are four main ways you can change the comments settings:

• Disable comments on all posts
• Disable comments on a specific blog post
• Disable comments on an individual page
• Bulk disable comments on pages

Disable Comments on All Posts

You can access the comments settings from your WordPress admin dashboard. From there head to Settings->Discussion:

 

While on this page, locate the Allow people to submit comments on new posts checkbox and remove the tick:

 

When you’ve done so, don’t forget to click the blue Save Changes button at the bottom of the page. This will apply and save all changes you’ve just made.

Disable Comments on a Specific Blog Post

WordPress also offers a solution for a specific situation – you wish to allow comments on your posts, but with only a few exceptions.

Here’s how you adjust the settings, so only selected posts won’t include the comments feature:

Via your dashboard, go to Posts->All Posts:

 

Now, open the post on which you want to remove the comment section:

 

First, head to the top of the page and open Screen Options. From that menu make sure that there’s a tick added to the Discussion option:

 

This will allow you to manage any comments settings only for this blog post.

Once you’ve done so, scroll down the page and search for the Discussion section. There you will see two checkboxes – Allow comments and Allow trackbacks and pingbacks on this page:

 

From this section uncheck the Allow comment box. Then, update the post, so the changes apply:

 

Now, you’ve managed to exclude the comment section for this individual post.

Bonus Tip: Bulk Disable Comments on Several Blog Posts

Go to Posts->All Posts and have a look at the checkboxes on the left of each post:

 

First, add a tick to each post in which you want to disable comments:

 

Then, locate the Bulk actions drop-down menu at the top of the posts list and select Edit, then hit Apply:

 

This will open a new menu with various options. From there, locate the Comments drop-down menu and select your preference: Allow or Do Not Allow:

 

Then, apply the change by hitting the blue Update button.

Disable Comments on an Individual Page

To access the comment options for your pages, go to Pages->All pages:

 

Then open the page on which you wish to add a comment section or disable it:

 

First, go to the top of the page and from the Screen Options menu make sure that there’s a tick on the Discussion option:

 

Then, scroll down to the bottom of the page where you should see a Discussion section with two checkboxes – Allow Comments and Allow trackbacks and pingbacks on this page. Remove the ticks of both:

 

Then, head to the top of the page and click on Update. This will apply and save your preferences.

 

Bulk Disable Comments on Pages

To remove the comment section on multiple pages at once, first, go to Pages->All Pages and notice the checkboxes next to each individual page:

 

Add a checkbox to all the pages you wish to edit and head to the Bulk actions menu right at the top of the list of your pages:

 

From there select Edit and click on Apply:

 

This will open a new section with various settings. From there locate the Comments drop-down menu and select Do Not Allow:

 

Then, click on Update, so you apply and save these changes.

The pages you’ve just edited will hide the comment section, depending on your choice.

Conclusion

There are many reasons why you might want to disable people from posting comments across your posts and pages – there can be a lot of comment spam, inappropriate comments, or simply too many of them.

Regardless of the reason you want to disable the comment section, WordPress provides you with valuable tools that can shape your website precisely the way you want it to look and function.

Related:

Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

How to use Gravatar with Your WordPress Profile

Gravatar is a service that allows WordPress users to create a profile with an avatar image that can be used on various web places such as online blogs, comment sections, and email accounts. Setting up your profile is one of the first things you should do when you...

How to Use the WordPress Text Editor

When you start learning WordPress, you will notice that there are two main editors that you can use to create new pages and publish new blog posts. The one is the so-called Classic Editor and the other one is the Text Editor. Both are very handy and both can be used...

How to Change Author Slug in WordPress

After we discussed what are WordPress permalinks, how you can change the permalink structure, and how to edit the slug, now it is time to read how you can change the author slug. Changing the author slug means adding the author’s name of a given publication in your...

How to Update WordPress

When learning how to create a WordPress site, one of the first things you should read about is how to update your themes, how to update your plugins, and how to update the whole system itself. Updating WordPress is a standard maintenance task and should be performed...

How to Delete Your WordPress Website

Maybe it is time to delete your WordPress website – you learn how to build a website, but want to start the process from scratch, or maybe your business endeavor has come to an end, or you simply want a break from building and maintaining websites. Regardless of the...

Ready to Create Your Website?