WordPress.org

Plugin Directory

Disable Comments

Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly.

Details

The plugin provides the option to completely disable the commenting feature in WordPress. When this option is selected, the following changes are made:

  • All "Comments" links are hidden from the Admin Menu and Admin Bar;
  • All comment-related sections ("Recent Comments", "Discussion" etc.) are hidden from the WordPress Dashboard;
  • All comment-related widgets are disabled (so your theme cannot use them);
  • The "Discussion" settings page is hidden;
  • All comment RSS/Atom feeds are disabled (and requests for these will be redirected to the parent post);
  • The X-Pingback HTTP header is removed from all pages;
  • Outgoing pingbacks are disabled.

Please delete any existing comments on your site before applying this setting, otherwise (depending on your theme) those comments may still be displayed to visitors.

Advanced Configuration

Some of the plugin's behaviour can be modified by site administrators and plugin/theme developers through code:

  • Define DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE and set it to false to prevent persistent mode from being available as an option on the plugin settings page.
  • Define DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE and set it to false to prevent the plugin the plugin from replacing the theme's comment template with an empty one.

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

Requires: 3.8 or higher
Compatible up to: 4.3
Last Updated: 2015-8-25
Active Installs: 700,000+

Ratings

4.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
67,3,2 0,1,0 100,3,3
100,2,2
100,1,1 100,3,3 50,2,1 67,6,4
100,5,5 100,1,1
100,2,2
100,5,5 100,2,2
100,4,4 100,6,6 100,4,4 100,1,1 100,1,1
100,2,2
100,5,5 100,11,11
100,1,1 100,3,3
100,3,3 100,4,4
100,4,4 100,1,1
100,8,8
100,12,12 100,4,4
100,6,6
100,5,5 100,1,1
100,1,1
100,6,6 100,2,2
100,4,4
100,5,5
100,2,2 100,4,4 100,1,1
100,3,3
100,9,9 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1