The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

Disable Post Comments

Last updated
4 years ago
Version
1.0.3
Tested up to
WP 6.0.19

About this plugin

This plugin allows administrators to globally disable comments on any post type (posts, pages, attachments, etc.) 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.

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

Screenshots

Analytics

Live from WordPress.org, refreshed daily. Last refresh Nov 30, 2026.

  • Passes 1 of 3 health checks below.
1/3

Health checks

What a careful site owner looks at before installing.

  • Actively maintained Last release 4 years ago
  • Tested with current WordPress Tested up to 6.0.19, 11 releases behind
  • Support questions answered Nothing open in the last two months
  • Well rated No ratings yet
Active installs
Fewer than 10 WordPress.org rounds this down
This week
12 downloads 11 the week before
Last 30 days
56 downloads 2 a day, typically
All time
1.8k downloads On WordPress.org since 2020
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
12
Typical week
11
Peak
35 Week of May 18
View as table
WeekDownloads
Week of Nov 2312
Week of Nov 1611
Week of Nov 910
Week of Nov 220
Week of Oct 2612
Week of Oct 199
Week of Oct 126
Week of Oct 57
Week of Sep 2815
Week of Sep 2119
Week of Sep 1419
Week of Sep 714
Week of Aug 3114
Week of Aug 2411
Week of Aug 1714
Week of Aug 1014
Week of Aug 320
Week of Jul 2712
Week of Jul 2013
Week of Jul 1312
Week of Jul 613
Week of Jun 2915
Week of Jun 2210
Week of Jun 1511
Week of Jun 822
Week of Jun 118
Week of May 2524
Week of May 1835
Week of May 1125
Week of May 416
Week of Apr 2730
Week of Apr 206
Week of Apr 137
Week of Apr 69
Week of Mar 3011
Week of Mar 233
Week of Mar 1610
Week of Mar 95
Week of Mar 29
Week of Feb 236
Week of Feb 168
Week of Feb 915
Week of Feb 26
Week of Jan 264
Week of Jan 194
Week of Jan 122
Week of Jan 52
Week of Dec 29, 20256
Week of Dec 22, 20254
Week of Dec 15, 20258
Week of Dec 8, 20255
Week of Dec 1, 20253
Where it stands Rank among the plugins WPFolks tracks every day.

Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.

Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Proudly supported by