Skip to main content
Agency Program 50% cashback. 10% commissions. Priority support. Built for growing agencies. 50% cashback for agencies Speak to the team Join free
Disable Comments – Remove Comments & Stop Spam [Multi-Site Support] icon

Disable Comments – Remove Comments & Stop Spam [Multi-Site Support]

v2.5.2
by WPDeveloper · 4.7 (273 reviews)

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

1M+ active installs Updated May 20, 2025 Tested to 6.8.1 Requires PHP 5.6
Try Demo Download
Pre-installed Ready in ~10s No card
Disable Comments – Remove Comments & Stop Spam [Multi-Site Support]

About Disable Comments – Remove Comments & Stop Spam [Multi-Site Support]

Disable Comments is a WordPress plugin that allows you to enable or disable comments on any WordPress content, such as pages, posts, or media. It also provides support for preventing spam comments and offers options for managing comments throughout your website. The plugin is user-friendly and offers additional features like multi-site support and the ability to delete comments by type.

Screenshots

Disable Comments – Remove Comments & Stop Spam [Multi-Site Support] screenshot
Disable Comments – Remove Comments & Stop Spam [Multi-Site Support] screenshot
Disable Comments – Remove Comments & Stop Spam [Multi-Site Support] screenshot

Frequently asked questions

What does the Disable Comments plugin do?
The Disable Comments plugin allows administrators to globally disable comments on their WordPress site. It can disable comments according to post type and supports multisite networks. This helps in managing comments and stopping spam.
What key features does the Disable Comments plugin offer?
Key features include hiding all "Comments" links from the Admin Menu and Admin Bar, disabling comment-related widgets, and removing the X-Pingback HTTP header. It also allows users to stop spam comments with one click and manage comments across multiple websites in a network.
Does the plugin support multisite networks?
Yes, the Disable Comments plugin is fully multisite network supported. It allows you to disallow comments on an entire network or manage comments for specific subsites within a network.
Can I disable comments on specific content types?
Yes, you can choose which posts, pages, or media should allow comments from site visitors and configure the plugin accordingly. This gives you granular control over comment settings.
Does the plugin offer WP-CLI, XML-RPC, and REST-API support?
Yes, the plugin includes WP-CLI, XML-RPC, and REST-API support to help stop spam comments and manage comment settings programmatically.

Changelog

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
This will be maintained from August 19, 2020 – @asif2bd

[2.5.2] – 2025-05-20

  • Fixed: Issue where post types were not being selected in the “On Specific Post Types” section of the plugin settings

[2.5.1] – 2025-05-15

  • Few minor bug fixes and improvements

[2.5.0] – 2025-05-15

  • Added: Accessibility support to the plugin settings page
  • Various minor improvements and enhancements

[2.4.7] – 2025-01-27

  • Fixed: Errors reported by Plugin Check (PCP)
  • Few minor bug fixes and improvements

[2.4.6] – 2024-03-25

  • Added: WordPress 6.5 Compatibility

[2.4.5] – 2023-08-30

  • Minor bug fixes and improvements.

[2.4.4] – 2023-06-19

  • Fixed: PHP 8.2 deprecated issue fixed while using WP-CLI.
  • Few minor bug fixes and improvements.

[2.4.3] – 2023-01-12

  • Added: PHP 8.2 Compatibility

[2.4.2] – 2022-09-18

  • Improved sanitization.

[2.4.1] – 2022-08-10

  • Improvement: Localized missing strings in plugin.
  • Improvement: Included the fonts in plugin distribution.

[2.4.0] – 2022-07-27

  • New Feature: Exclude Disable Comments settings based on user roles.
  • Few minor bug fix and improvement.

[2.3.6] – 2022-06-05

  • Fixed: JavaScript error in Gutenberg editor.

[2.3.5] – 2022-04-27

  • Added: More WP-CLI commands.
  • Few minor bug fix and improvement.

[2.3.4] – 2022-03-28

  • Fixed: PHP Warning in Multisite Network.

[2.3.3] – 2022-01-25

  • Added: WordPress 5.9 compatibility added.

[2.3.2] – 2021-12-20

  • Added: Configure Disable Avatar settings from the main network of Multisite Network.
  • Fixed: Disable Comments via REST API toggle mismatch issue.

[2.3.1] – 2021-12-14

  • Added: You can enable or disable Avatar from Disable Comments settings.

[2.3.0] – 2021-12-14

  • New Feature: Delete Spam Comments.
  • Updated deprecated jQuery library.
  • Improvement: Disable Gravatar request.
  • Few minor bug fixes and improvement.

[2.2.4] – 2021-11-09

  • Added: Ajax pagination in Subsite area (Multisite network).
  • Added: Ajax search in Subsite area (Multisite network).
  • Added: “Disable Comments” navigation added inside Comments menu.
  • Few minor bug fixes and improvement.

[2.2.3] – 2021-10-25

  • Few minor bug fixes and improvement.

[2.2.2] – 2021-10-05

  • Added: “Select All” checkbox for subsites selection in a multisite network.
  • Few minor bug fixes and improvement.

[2.2.1] – 2021-09-26

  • Fixed: 100+ subsites limit issue in multisite network

[2.2.0] – 2021-09-22

  • New Feature: Configure Disable Comments on Subsites from Main Network in Multisite Network.
  • Improvement: UX Improvement.
  • Few minor bug fix and improvement.

[2.1.2] – 2021-06-20

  • Improvement: Fix for Attempt to read property “post_type” on null

[2.1.1] – 2021-04-06

  • Improvement: Compatible with WordPress 5.7
  • Few minor bug fix and improvement

[2.1.0] – 2021-02-08

  • New Feature: Site wise settings in Multisite Network
  • Added: Some strings localization
  • Fixed: Delete Comments in Multisite
  • Few minor bug fix and improvement

[2.0.2] – 2020-12-01

  • Removed: Quick Setup Wizard
  • Improved: Redirection settings page after activation.
  • Fixed: Text-Domain Issue.

[2.0.1] – 2020-11-28

  • Bug Fix: Settings page URL issue fixed from plugins page.
  • Improvement: Quick Setup Wizard instructions.

[2.0.0] – 2020-11-28

  • Improved UI for Settings page
  • New feature: Manage Disable Comments settings with WP-CLI
  • New feature: Quick Setup Wizard
  • New feature: Disable Comments via REST-API
  • New feature: Disable Comments via XML-RPC

[1.11.0] – 2020-08-22

  • Introducing Delete Comment by Type – Contribution by garretthyder
  • PHP 7.4 Tested
  • WordPress 5.5 Compatible Tested

[1.10.3] – 2020-07-29

  • Minor fix – changelog backported.

1.10.0

  • Disable “recent comments” Gutenberg block.

1.9.0

  • Fix compatibility with WordPress 5.0 and above.
  • Remove deprecated “persistent mode” feature.

1.8.0

  • Added DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS configuration.

1.7.1

  • Small enhancements to hiding comment-related functionality in the admin.

1.7

  • Dropped logic to try and hide the comments link from the Meta widget. Administrators should manually add styling to hide this link, or replace the Meta widget with an alternative.
  • Removed the disable_comments_allow_persistent_mode filter. Define DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE instead.

1.6

  • Added a tool for deleting comments in bulk.

1.5.2

  • Fix Javascript errors when the Meta widget is enabled.
  • Hide comments link from the Welcome panel.

1.5.1

  • Hide existing comments if there are any.
  • Filter the comments link in the Meta widget if it is enabled.

1.5

  • Remove the comments feed link from the head in WP 4.4 and higher.

1.4.2

  • Delay loading of translation text domain until all plugins are loaded. This allows plugins to modify translations.

1.4

  • Hide the troublesome “persistent mode” option for all sites where it is not in use. This option will be removed in a future release.

1.3.2

  • Compatibility updates and code refactoring for WordPress 4.3
  • Adding a few new translations

1.3.1

  • Change the behaviour for comment feed requests. This removes a potential security issue.

1.3

  • Move persistent mode filter into a define.
  • Add an advanced option to show the theme’s comment template even when comments are disabled.

1.2

  • Allow network administrators to disable comments on custom post types across the whole network.

1.1.1

  • Fix PHP warning when active_sitewide_plugins option doesn’t contain expected data type.

1.1

  • Attempt to hide the comments template (“Comments are closed”) whenever comments are disabled.

1.0.4

  • Fix CSRF vulnerability in the admin. Thanks to dxw for responsible disclosure.

1.0.3

  • Compatibility fix for WordPress 3.8

1.0.2

  • Disable comment-reply script for themes that don’t check comment status properly.
  • Add French translation

1.0.1

  • Fix issue with settings persistence in single-site installations.

1.0

  • Prevent theme comments template from being displayed when comments are disabled everywhere.
  • Prevent direct access to comment admin pages when comments are disabled everywhere.

0.9.2

  • Make persistent mode option filter available all the time.
  • Fix redirection for feed requests
  • Fix admin bar filtering in WP 3.6

0.9.1

  • Short life in the wild.

0.9

  • Added gettext support and German translation.
  • Added links to GitHub development repo.
  • Allow network administrators to prevent the use of persistent mode.

0.8

  • Remove X-Pingback header when comments are completely disabled.
  • Disable comment feeds when comment are completely disabled.
  • Simplified settings page.

0.7

  • Now supports Network Activation – disable comments on your entire multi-site network.
  • Simplified settings page.

0.6

  • Add “persistent mode” to deal with themes that don’t use filterable comment status checking.

0.5

  • Allow temporary disabling of comments site-wide by ensuring that original comment statuses are not overwritten when a post is edited.

0.4

  • Added the option to disable the Recent Comments template widget.
  • Bugfix: don’t show admin messages to users who don’t can’t do anything about them.

0.3.5

  • Bugfix: Other admin menu items could inadvertently be hidden when ‘Remove the “Comments” link from the Admin Menu’ was selected.

0.3.4

  • Bugfix: A typo on the settings page meant that the submit button went missing on some browsers. Thanks to Wojtek for reporting this.

0.3.3

  • Bugfix: Custom post types which don’t support comments shouldn’t appear on the settings page
  • Add warning notice to Discussion settings when comments are disabled

0.3.2

  • Bugfix: Some dashboard items were incorrectly hidden in multisite

0.3.1

  • Compatibility fix for WordPress 3.3

0.3

  • Added the ability to remove links to comment admin pages from the Dashboard, Admin Bar and Admin Menu

0.2.1

  • Usability improvements to help first-time users configure the plugin.

0.2

  • Bugfix: Make sure pingbacks are also prevented when comments are disabled.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…