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 Add a Site Logo Block in WordPress with Gutenberg

Adding a site logo in WordPress with Gutenberg is straightforward and requires only a few mouse clicks and just several minutes of your time. In the following paragraphs, you will read how to add a site logo to your WordPress website via the Gutenberg editor step by...

How to Add Images to WordPress with Gutenberg

Adding images with Gutenberg is quite simple. The block editor is very user-friendly and allows you to add images in several ways. In the following paragraphs, you will read about 4 methods you can instantly use to upload the media files you want.   How to Add...

How to Disable Gutenberg in WordPress

If Gutenberg is not suitable for your needs and wish to switch back to the Classic Editor, continue reading, as in this article we will show you 3 simple methods of how to disable the block editor. In the following sections, you will read how to disable Gutenberg by:...

5 Best Gutenberg Plugins for WordPress

One of the fastest and most convenient ways of enhancing the functionalities of Gutenberg is by using various WordPress plugins. Although Gutenberg is very versatile and feature-rich by itself, the open-source nature of WordPress has inspired developers all around the...

How to Add a Contact Form with WordPress Gutenberg Editor

If you are using Gutenberg to craft your WordPress website, then you should know that the process is very easy, especially by using the block editor. In the following paragraphs, you will read how to add one to your pages.   How to Add a Contact Form with...

Ready to Create Your Website?