How to Disable Comments in WordPress: The Definitive Guide

Share This Post

Comments are a great way to engage with your readers and get feedback on your blog posts, but sometimes you may not want them enabled.

Maybe you’re getting too many spam comments, or maybe you just don’t have the time to moderate them. Whatever the reason, this guide will show you how to completely disable comments in WordPress.

Disable Comments in WordPress: The Definitive Guide

There are two ways to disable comments in WordPress. You can either do it globally, which will turn off comments on all posts and pages, or you can disable them on individual pieces of content.

If you want to completely disable comments on your entire WordPress site, there are a few different ways you can do this.

  • One way is to go to the Settings » Discussion page
  • Uncheck the box next to “Allow people to post comments on new articles”.
  • You can also disable comments completely by adding a line of code to your WordPress configuration file.
  • Just add this line:

define('WP_POST_REVISIONS', false);

This will disable comments completely on your site. Keep in mind that if you do this, you will not be able to re-enable them without removing the code from your configuration file.

If you want to disable comments on individual posts or pages, there is an option for that as well.

  • Just edit the post or page.
  • Scroll down to the “Discussion” section.
  • From here, you can uncheck the box next to “Allow comments”.

That’s all there is to it! Disabling comments in WordPress is really easy, and it only takes a few seconds. Just remember that if you completely disable comments, you will not be able to re-enable them without adding some code back into your configuration file.

So if you’re not sure, it’s probably best to just disable comments on individual posts or pages.

Do you have any questions about disabling comments in WordPress? Let us know in the comments below.

Read More: How to Add Animated Gifs in WordPress


Related Posts

Python for Loop Iteration: How to Easily Manipulate a List

One of the most powerful features of the Python...

How To Get First Characters of a String in Python

Way to find the first characters of a string...

How To Convert Tuple To String In Python

In this post, you will learn how to convert...

How To Convert String to Double in Python

Good to hear, that you want to convert a...

Python TypeError: String Index Out Of Range Solution

A string is an array of characters and part...

How To Remove Empty Strings From a List Of Strings

On this page, we will discuss how to remove...
- Advertisement -spot_img