How to disable comments in WordPress

How to disable comments in WordPress

Morgan Smith's Layout avatar

WordPress is (obviously) an awesome solution for building websites. But as it’s most commonly associated with blogging, it doesn’t always correctly assume how you’ll want your site structured. One example of this is the assumption that you’ll want to allow comments on every post and page.

If you’re setting up a blog, that feature is great! And makes your life super easy, because then you don’t have to set that up yourself. But if you’re looking to utilize WordPress for your portfolio site or a client’s business, you probably shouldn’t allow comments on every page.

Luckily, it’s pretty easy to to halt the discussion, before and after it begins. Here are a few ways to disable comments in WordPress.

Disable comments on all posts

If you don’t want comments on any of your posts on a site, disabling comments is as simple as going to the settings.

Over on the left side of the dashboard, go to Settings > Discussion.

disable1

Look at the first group of settings, “Default article settings.” Notice the phrasing on that third checkbox, “Allow people to post comments on new articles.” When you uncheck that box, you will disable comments on new articles only. If you change this setting before posting any articles, it’s not really an issue. If you’ve already posted things, however, comments will still show up on any posts that are already published.

Now look at the second group of settings, “Other comment settings.” See the option, “Users must be registered and logged in to comment?” If your site doesn’t allow users to register, checking this box will also disable comments, and even disable them on previous posts (unlike the previous option).

Disable comments on a single post or page

If you’re looking to disable comments on an old post or  aiming to turn off the discussion for a single page, WordPress gives you an easy way to do that. And what’s even easier is that posts and pages work the same way when it comes to disabling comments.

First, open the specific post or page in the dashboard. In the upper right corner, you should see a “Screen Options” button. Click that to reveal some options.

disable2 Note: Depending on your theme and plugins, you may have more/less options than this.

Find the checkbox next to Discussion and make sure it’s active. Don’t worry, this doesn’t affect the live page at all – just your behind-the-scenes view of it!

Next, scroll down below the text editor, and you should see a box labeled, “Discussion.”

disable3

Uncheck the box next to, “Allow comments,” and you’ll be good to go! This completely hides comments, even if they were previously allowed.

Or, use a plugin.

Like most things in WordPress, you can always disable comments manually, or you can just install a plugin to do it for you. An awesome option is Disable Comments. This gives you the ability to disable all comments, including any on past posts.

Once you install Disable Comments, you’ll see a new option in your Settings dropdown.

Again, go to Settings > Disable Comments.

disable4

Now you can quickly disable all comments on posts, pages, and media, including any past comments. If you’re dealing with a large site with lots of posts and pages, this is a great solution to avoid manually editing every single page.

Master WordPress with the help of this free ebook, WordPress 101!

Comments ( 1 )

  1. cuadricoptero.tech

    August 21, 2017

    Estas son de hecho grandes ideas en cuanto a los blogs. Tienes
    Tocó algunas cosas agradables aquí. Cualquier manera de mantener wrinting.

Join the discussion