How to Disable Comments in WordPress: A Complete Guide
/ / How to Disable Comments in WordPress: A Complete Guide

How to Disable Comments in WordPress: A Complete Guide

Some of the links in this post are affiliate links. This means if you click on the link and purchase the item, We will receive an affiliate commission at no extra cost to you. All opinions remain our own.

WordPress began life as a running blog platform. Years later, it’s now a Content Management System (CMS) that is used with over 40 percent of the web. Along the best way, some of the traditional running blog staples have fallen out of favor. This means many websites need to disable comments in WordPress.

Despite this sense surrounding commenting, there are a lot of advantages to letting users interact together with your content. Still, if you wish to lower out the comments, there are a few methods to take action.

As such, this submit is going to point out you disable comments in WordPress. We’ll take a look at the totally different locations inside WordPress you'll be able to change settings, and in addition focus on some further methods to finish rid your site of comments.

WordPress’ Relationship With Commenting

In 2003, WordPress was running a blog platform via and thru. It had all of the hallmarks you’d expect: theming, blog-specific settings, and commenting performance.

Comments are a key half of a blog, and it’s truthful to say that they've to change into extra distinguished as WordPress has advanced and grown.

We’ll focus on extra about the advantages later, however, it’s additionally truthful to say that as WordPress has advanced, some site homeowners have pushed again towards commenting.

This is a result of the gradual change from running a blog platform to CMS. As WordPress turned adept at creating different varieties of sites, comments weren’t as central to some users. Because of this, the platform has performance in place to disable commenting on your site. Again, we’ll get into this in an extra element later.

The Value of Comments Within WordPress

Before we get into disable comments, it’s price speaking about why you’d need to have them for a business-focused site. It’s simple to contemplate them superfluous to necessities, however, this isn’t the case.

In truth, comments can offer extra worth than different types of engagement, for a few causes:

  • You’re capable of gauge curiosity in your merchandise, providers, and content directly out of your users.
  • You can see how potential prospects interact with you, and pivot your choices.
  • Users can change into half of a community, which builds model loyalty. It may also have an impression on visibility, and your affiliate community (you probably have one).

While there are extra advantages we may point out, this is past the scope of the article. Still, for those who thought comments have been just for a blog site, it’s price rethinking that mindset. Comments could be a precious marketing arm, and cultivating a readership with them is a stable technique.

Why You’d Want to Disable Comments in WordPress

We’ve lined what’s good about comments, however, this doesn’t imply they’re at all times mandatory. Here are a few factors on why you wouldn’t need comments on your site:

  • Comments require moderation to cease spam and off-topic discussions. While there are plugins to assist with this, it’s not at all times going to be a prime answer. If you’re not capable of dedicate time to important comment moderation, it is smart to not implement them.
  • You might wish to domesticate discussions elsewhere, similar to a discussion board and even on social media. We assume there are drawbacks to this method, but when it’s proper to your business, asking for engagement direct on your blog posts will dilute the engagement on different channels.
  • If your content marketing is not central to your promotion, asking for engagement may not be helpful. As such, no comments are higher than handfuls of unanswered entries.
  • If you’re writing informational posts, similar to information gadgets, they might not warrant comments. Here, you will have the flexibility to disable comments on a site-wide foundation, or just for particular person posts.

It’s additionally price noting that there are methods to chop down on the quantity of moderation and engagement you do throughout your site’s comments. Solutions similar to closing comments after a sure interval of time, and eradicating comment URLs are various to disabling comments in WordPress altogether.

Still, if it’s one thing you’re set on, we have the strategies developing subsequent.

How to Disable Comments in WordPress (2 Ways)

For an activity that’s easy on the floor, there are a lot of choices for disabling comments in WordPress. Taking a broad brush, right here are the 2 major methods of getting the job achieved:

  1. Use the core options inside WordPress to disable comments.
  2. Choose a suitable plugin to disable comments throughout your site.

When we dig into these choices, we’ll additionally element particular settings that will help you disable comments and go away no hint. To end the article off, we’ll word disable media comments, and delete current ones.

1. Use WordPress’ Built-In Options

The first port of name to disable comments in WordPress is the platform’s personal settings. To discover them, head to the Settings > Discussion page inside your WordPress dashboard:

WordPress' Discussion Settings.

There are a wealth of choices right here that may show you how to. In truth, we advocate heading right here whenever you first arrange your site.

The fundamental choice you’ll need to take into account right here is to allow individuals to submit comments on new posts. Unticking this will flip off commenting on a site-wide foundation. If you’re working on a model-new site and also you don’t need comments, your journey ends right here.

Though, for current site homeowners, this will solely flip off comments for future posts. The relaxation of this submit will show you how to get rid of pre-existing comments on your site.

Disable Comments for Individual Posts

Although WordPress gives a full financial institution of choices for dealing with comments, you can too work with them on a per-post foundation. There are a few methods to do that, and essentially the most simple is to enter a submit’s Block Editor display.

Here, click on the Post menu on the right-hand facet, and scroll right down to the Discussion settings. The checkboxes right here will allow you to disable comments for the submit in WordPress:

The Discussion Settings within the Block Editor.

Note that for those who don’t see this field, you’ll have to allow it from the Preferences display accessed from the ‘traffic light’ menu in the Block Editor:

The Preferences option in the Block Editor.

This will pop up a dialog field, and for those who enter the Panels display, you’ll be capable to toggle the Discussions meta box:

The Preferences Panel.

There are a couple of different locations to show off comments for single posts. If you head to the Posts > All Posts display in WordPress, hovering over a submit and clicking the Quick Edit hyperlink will deliver up a few choices.

Here, you’ll discover the Allow Comments checkbox:

The All Posts Quick Edit options.

Once you examine this and save your modifications, this will cease users from leaving comments on your posts.

Disable Comments in Bulk

You may also disable comments on several posts via the Posts > All Posts display. First, choose the posts you’d wish to disable comments on, then click on Edit from the Bulk actions drop-down menu, and click on Apply:

Bulk editing comment activation.

This will open a set of choices, one of which will allow you to disable comments:

Allowing comments in WordPress.

Once you click on the Update button, this will disable comments in WordPress for all of the chosen posts.

2. Install a Plugin to Disable Comments in WordPress

Of course, WordPress wouldn’t be the platform it is without plugins. You can discover an appropriate answer for nearly every want, and comments are no exception.

A selection of disable comments plugins.

Far and away the best choice right here is the Disable Comments plugin by WPDeveloper:

The Disable Comments plugin.

Though, it’s notable that none of the highest plugins have been up to date in a previous couple of months. Still, whereas our checks haven’t provided you with any points, it is best to perform your personal on a staging or different take a look at the site.

Once you’ve installed and activated the plugin, you’ll discover a preferences menu at Settings > Disable Comments inside WordPress:

The Disable Comments plugin settings option.

The plugin will allow you to perform some of the fundamental duties you'll be able to obtain inside WordPress, similar to disabling comments throughout your site, and for posts and/or pages:

The Disable Comments plugin's Settings.

You may also disable comments made via third-party platforms too, in case they sneak onto your posts.

You’ll additionally discover choices for disabling media comments and deleting your whole comments database. These are useful features that can be achieved without the plugin too. Next, we’ll present you ways.

How to Disable Media Comments in WordPress

WordPress doesn’t offer you a direct approach to disable comments on media, though as we are famous, plugins can do that. Though, for those who don’t need to use plugins, there’s an approach to get this achieved utilizing a code snippet.

Before you press forward, it is best to have a clear and present backup in place. Also, utilizing a little one theme is a good thought to protect the modifications you make.

What’s extra, whilst you can enter the WordPress core file from inside your dashboard (and this is the method we’ll take right here), you might also have to enter them via Secure File Transfer Protocol (SFTP). In this case, you’ll want an appropriate FTP shopper (similar to Cyberduck) to work with.

When you’re prepared, enter the Appearance > Theme Editor page inside WordPress and select your theme from the drop-down menu on the right-hand facet:

Choosing a theme in the Theme Editor.

Next, below the Theme Files menu, discover your functions.php file. It may be known as Theme Functions. Clicking this will open it in the editor.

From right here, paste in the next code snippet to the underside of the file, and save your modifications:

function filter_media_comment_status( $open, $post_id ) {
$submit = get_post( $post_id );
if( $post->post_type == 'attachment' ) {
return false;
return $open;
add_filter( 'comments_open', 'filter_media_comment_status', 10 , 2 );

This will bulk disable comments on media information, though it gained’t deletes current comments. To do that, there’s a separate methodology.

How to Delete Comments in WordPress

All of the strategies we’ve outlined right here will disable future comments, however not delete current ones. To wipe your site of comments, you’ll want to hold out a guiding methodology. It’s much like the majority enabling you carried out earlier:

  • Within WordPress, head to the Comments panel.
  • Select all of your comments.
  • Choose the Move to Trash choice from the majority actions drop-down menu.
  • Click Apply.

This will transfer all of your comments to the Trash, at which level you'll be able to head there and take away them for good.

Wrapping Up

Comments are an integral half of WordPress for a lot of users. Even so, some websites don’t need users to have interact in this manner. There’s no proper or mistaken reply to this, and as such, there are a lot of methods to disable comments in WordPress.

This submit has defined disable comments in two fundamental methods. Let’s recap:

  1. Use the choices WordPress gives to disable comments.
  2. Install and activate a plugin to disable comments.

Do you need to use comments in WordPress, and if not why? Let’s get meta, and go away with your ideas in the comments part beneath!