Disable comments, Disable XML-RPC Pingback, Remove Comments

plugin banner

Allows administrators to disable comments on their website. Comments can be disabled according to Post,…

Author:Webcraftic (profile at wordpress.org)
WordPress version required:4.2
WordPress version tested:6.4.1
Plugin version:1.1.8
Added to WordPress repository:17-10-2017
Last updated:23-11-2023
Rating, %:100
Rated by:34
Plugin URI:https://webcraftic.com
Total downloads:57 184
Active installs:8 000+
plugin download
Click to start download

Disable comments plugin is a useful tool for blog or site administrators that allows fully disabling or hiding comments for any post types, pages or attachments.

It removes the all comments related features and options:

  • disable comments on frontend at all;
  • remove comments option from WordPress dashboard menu;
  • hide comments option from the admin bar;
  • Turn off comments widgets.

In addition, this plugin can disable XML-RPC related functions in WordPress including disable pingbacks and disable trackbacks, and helps to prevent the attacks on the xmlrpc.php file. Lastly, it attempts to generate a “403 Denied” error for requests to the /xmlrpc.php URL, but does not affect that file or your server in any way.

If you want completely remove comments, you can do this individually for selected post types. You can easily bulk delete all WordPress comments in some clicks. No any other “Delete All Comments” plugins or phpMyAdmin needed.

You can disable comments but if you decide to leave them, you need to close comments external links from the search engines. By default when users places comments, the WordPress adds rel=”nofollow” attribute to the comment author URL and for all links in the comments text. However, already for a long time, search engines ignores this and follows links. It makes dozens of superfluous external links from comments that are do not bring anything good for your SEO. Disable Comments plugin makes all external links in WordPress comments invisible for search engines with Javascript and improves your blog or website SEO.

In addition, if you do not want to disable comments you may need to remove website field from the WordPress comment form. Note: you can remove comment author URL but this feature can be not work with some themes.

Generally, the Disable Comments plugin uses the intelligent algorithm to hide comments and remove comments. You just need to turn some toggles on.

If you come across any bugs or have suggestions with Disable Comments, please use the plugin support forum. I cannot fix them if I do not know about! Please check the FAQ for common issues.

Details

The Disable Comments plugin allows you completely disable the commenting feature in WordPress. When this option is on you will get the following changes:

* Easy Enable or disable Comments;
* Disable comments globally;
* Disable comments on certain Pages;
* Disable comments on posts Only;
* Disable comments on pages Only;
* Disable comments for any post types;
* Disable comments links in the Admin Menu and Admin Bar;
* Disable comments related sections (“Recent Comments”, “Discussion” etc.) and hide from the WordPress Dashboard;
* Disable comments related widgets (so your theme cannot to use them);
* Disable comments “Discussion” settings page;
* Disable comments in RSS/Atom feeds (and requests for comments RSS will be redirect to the parent post);
* Disable X-Pingback HTTP header and remove from all pages;
* Disable outgoing pingbacks;
* Making comments external links “nofollow” and invisible for search engines;
* Remove website/URL field from the comment form;
* Remove comments, Delete comments in one click.

We recently added brand new features into the Disable Comments plugin. These are Disable X-Pingback function, Replace external links and Remove website/url comment field.

Some functions was taken from the following popular plugins: Clearfy – disable unused features, Bulk Comments Management, Spam Comments Cleaner, Delete Comments By Status, No Page Comment, WP Disable Comments, Hide “Comments are closed”, Hide Show Comment.

Advanced Configuration

Site administrators and plugin/theme developers can modify some of the plugin’s behavior through the code:

Define DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE and set it to false to prevent the plugin from replacing theme’s comment template with an empty one.

These definitions can be make either in your main wp-config.php or in your theme’s functions.php file.

RECOMMENDED SEPARATE MODULES

We invite you to check out a few other related free plugins that our team has also produced that you may find especially useful:

Translations

  • English – default, always included
  • Russian

If you want to help with the translation, please contact me through this site or through the contacts inside the plugin.


Screenshots
FAQ
ChangeLog