Disable Comments

disable-comments · By WPDeveloper
1M+ installs 4.7 (281) Updated 1 week ago v2.9.1 WP 5.0–7.1.4 PHP 7.0+

Impact score

Footprint Score across the two most representative contexts.

22 scans · last scan 2 weeks ago

Compare with another plugin

Homepage Score

Impact measured on the public homepage

···
—

v2.9.0 · 2 scans · Consolidated score over 90 days · 1 versions

Not enough data to publish the grade (15 scans min, currently 2).

What it adds to every page load

Added time
0 ms
Added memory
0.0 MB
SQL queries
+1
CSS/JS files
+0
External calls
0

Admin Score

Impact measured in the WordPress admin

···
—

v2.9.0 · 5 scans · Consolidated score over 90 days · 3 versions

Not enough data to publish the grade (15 scans min, currently 5).

What it adds to every page load

Added time
13 ms
Added memory
0.0 MB
SQL queries
+1
CSS/JS files
+1
External calls
0

About

Enable/Disable comments on any WordPress content (Pages, Posts, or Media) to stop spammers. WP-CLI, XML-RPC & REST-API support to stop spam comments.

More About Plugin ◼️ Documentation ◼️ Support Forum

Read more

Override all comments-related settings throughout your website & manage your comments just the way you want.

Choose which posts, pages or media should allow comments from site visitors & configure Disable Comments accordingly

Have multiple websites? Get rid of irrelevant comments on the entire network using Disable Comments Plugin

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.

AMAZING USER FRIENDLY INTERFACE
Easily configure your comment-related settings with an amazing and attractive app-like user interface.

WP-CLI COMMANDS TO DISABLE COMMENTS
Use WP-CLI control for comment-related settings to disable comments on posts, pages, attachments or everywhere on your website.

GET STARTED WITH QUICK SETUP WIZARD
Use the quick setup wizard after activating the plugin to instantly configure comment-related settings for your WordPress website.

DISABLE COMMENTS ON DOCS
Instantly disable comments on your documentation pages or WordPress knowledge base with a single click.

DELETE CERTAIN COMMENT TYPE(S)
Permanently delete certain comment types from your WordPress website including WooCommerce product reviews as well as generic comments.

DISABLE COMMENTS VIA XML-RPC And REST API
Block any comments made on your WordPress website via XML-RPC specification and REST API.

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.

Some of the plugin’s behavior 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_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.

THIS PLUGIN IS NOW MAINTAINED BY THE TEAM WPDeveloper.

For documentation and tutorials go to our Documentation

For video tutorials go to our YouTube Playlist

Join our Facebook Group

If you love Disable Comments, rate us on WordPress

For more information about features, FAQs, and documentation, check out our website at Disable Comments

Consider checking out our other WordPress solutions & boost your WordPress website:

🔝 Essential Addons For Elementor: Most popular Elementor addons with 2 million+ happy users & 95+ widgets & ready blocks

🔔 NotificationX – Best Social Proof & FOMO Marketing Solution to increase conversion rates.

🔗 BetterLinks: Latest best WordPress link management plugin for link shortening, tracking & analyzing.

📄 EmbedPress: EmbedPress lets you embed anything including videos, images, posts, audio, maps and upload PDF, DOC, PPT etc.

☁ Templately: 6000+ Free templates library for Elementor & Gutenberg along with the cloud collaboration for WordPress.

📚 BetterDocs: Best Documentation & Knowledge Base Plugin for WordPress reduce manual support tickets & improve user experience.

⏰ SchedulePress: Advanced editorial calendar with WordPress Post Scheduling, Social Sharing, Missed scheduled alerts, and more.

⚡ Flexia: Most lightweight, customizable & multi purpose theme for WordPress.

Visit WPDeveloper to learn more about how to do better in WordPress with Help Tutorial, Tips & Tricks.

The plugin build compiles assets/js/disable-comments.js from src/disable-comments.js with Babel and assets/css/style.css from assets/scss/style.scss with Sass, using Grunt. These sources are not included in the plugin zip. Other first-party JavaScript and CSS files in assets/ are maintained directly.

Both the sources and the build configuration live in the GitHub development repository. To build them yourself:

npm install
npm run build

Bundled third-party assets

The Select2, pagination.js, and SweetAlert2 JavaScript/CSS distributions are bundled separately from the Grunt build. Their full license notices are in assets/licenses/. The DM Sans webfont notice and SIL Open Font License 1.1 are in assets/fonts/OFL.txt. The plugin license is in LICENSE.txt.

Disable Comments connects to one external service, and only if you opt in.

WPInsight is WPDeveloper’s usage-analytics service. We use it to learn which WordPress versions, PHP versions, plugins and themes people run alongside Disable Comments, so we can keep the plugin compatible with them.

The “Still Seeing a Comment Form?” check on the plugin’s settings page also requests pages of your own site to check what your theme outputs. Those requests go to your own site only and send nothing to a third party.

Description published by WPDeveloper on WordPress.org, licensed under GPL-3.0-or-later.

Tags
comments delete comments disable comments remove comments stop spam

Screenshots

Screenshots published by WPDeveloper on WordPress.org, licensed under GPL-3.0-or-later.

Setting Screen for Disable Comments
Setting Screen for Disable Comments
Delete Comments under Tools menu.
Delete Comments under Tools menu.
Multisite Network support
Multisite Network support

Per-version history

Show per-version detail (3 versions)

How the plugin evolves version by version.

Version Homepage Admin Last scan
v2.9.0 2 scans 2 scans 2 weeks ago
v2.8.0 — 1 scan 2 months ago
v2.7.0 8 scans 2 scans 3 months ago

Scan history

Show individual scan log (16 scans)

Date Version Context Score Grade Time Memory
2 weeks ago v2.9.0 Homepage 100/100 A 0 ms 0.0 MB
2 weeks ago v2.9.0 Admin 100/100 A 13 ms 0.0 MB
3 weeks ago v2.9.0 Admin 100/100 A 13 ms 0.0 MB
3 weeks ago v2.9.0 Homepage 100/100 A 0 ms 0.0 MB
1 month ago v2.9.0 messages.page_type.custom 99/100 A 0 ms 0.0 MB
2 months ago v2.8.0 Admin 100/100 A 0 ms 0.0 MB
3 months ago v2.7.0 Admin 95/100 A 188 ms 2.0 MB
3 months ago v2.7.0 Admin 100/100 A 0 ms 0.0 MB
3 months ago v2.7.0 Homepage 100/100 A 0 ms 0.0 MB
3 months ago v2.7.0 Homepage 100/100 A 0 ms 2.0 MB
3 months ago v2.7.0 Homepage 95/100 A 0 ms 0.0 MB
3 months ago v2.7.0 Homepage 97/100 A 57 ms 2.0 MB
3 months ago v2.7.0 Homepage 100/100 A 0 ms 0.0 MB
3 months ago v2.7.0 Homepage 100/100 A 31 ms 0.0 MB
3 months ago v2.7.0 Homepage 99/100 A 31 ms 0.0 MB
3 months ago v2.7.0 Homepage 100/100 A 3 ms 0.0 MB