WordPress plugin intelligence profile

Disable Post Comments

This plugin allows administrators can disable wordpress all post type comments on their site and also can be disabled specific post type.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.0
Current version1.0.3
WordPress coverageTested up to WordPress 6.0
Minimum stackWP 5.0 · PHP —
Directory statusactive
Last directory update25 May 20233y ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Disable Post Comments version 1.0.3 as active, updated 3y ago and tested up to WordPress 6.0.

Overview

About this plugin

) so that these settings cannot be overridden for individual posts. It also removes all comment-related fields from edit and quick-edit screens. On multisite installations, it can be used to disable comments on the entire network.

Additionally, post-comment-related items can be removed from the Dashboard, Widgets, the Admin Menu and the Admin Bar.

Important note: Use this plugin if you don’t want comments at all on your site (or on certain post types). Don’t use it if you want to selectively disable comments on individual posts – WordPress lets you do that anyway. If you don’t know how to disable comments on individual posts, there are instructions in the FAQ.

If you come across any bugs or have suggestions, please use the plugin support forum. I can’t fix it if I don’t know it’s broken! Please check the FAQ for common issues.

Want to contribute? Here’s the GitHub development repository.

A must-use version of the plugin is also available.

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. You can use the Delete Comments tool to delete any existing comments on your site.

Advanced Configuration

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

-

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

-

Define DISABLE_POST_COMMENTS_ALLOW_DISCUSSION_SETTINGS and set it to true to prevent the plugin from hiding the Discussion settings page.

php file.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • specific post
  • comments
  • disable
  • global
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.0
Minimum requirementsWordPress 5.0 · PHP not listed
Update activity25 May 20233y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.