Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly.
The plugin provides the option to completely disable the commenting feature in WordPress. When this option is selected, the following changes are made:
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.
Some of the plugin's behaviour can be modified by site administrators and plugin/theme developers through code:
DISABLE_COMMENTS_ALLOW_PERSISTENT_MODEand set it to
falseto prevent persistent mode from being available as an option on the plugin settings page.
DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATEand set it to
falseto 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