Linux 软件免费装
Banner图

Disable Comments

开发者 Asif2BD
priyomukul
wpdevteam
re_enter_rupok
tusharimran
alimuzzamanalim
solarissmoke
garrett-eclipse
更新时间 2026年10月25日 18:50
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPL-3.0-or-later
版权网址: 版权信息

标签

Comments Disable Comments Remove Comments Stop Spam Delete Comments

下载

2.5.3 2.0.2 2.1.0 1.10.3 2.0.0 2.1.2 2.2.0 1.11.0 2.1.1 2.2.2 2.2.3 1.1.1 1.8.0 2.6.1 2.3.4 2.3.5 2.3.6 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 1.10.0 1.9.0 1.6 1.7 1.7.1 2.2.1 2.3.1 2.3.2 2.3.3 2.4.5 2.4.7 2.5.0 2.5.1 2.6.2 2.7.0 1.5.1 2.2.4 2.3.0 1.5 1.5.2 2.0.1 2.4.6 2.5.2 2.6.0 2.7.1 2.8.0 2.9.0 2.9.1

详情介绍:

Disable Comments - Remove Comments & Stop Spam [Multi-Site Support] 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 https://www.youtube.com/watch?v=EpuYs9Nf_nY Take Global Control Over Your WordPress Site Override all comments-related settings throughout your website & manage your comments just the way you want. Disable Comments On Posts, Pages & Media Choose which posts, pages or media should allow comments from site visitors & configure Disable Comments accordingly Disallow Comments On Multi-Site Network Have multiple websites? Get rid of irrelevant comments on the entire network using Disable Comments Plugin https://www.youtube.com/watch?v=J9AteKzQpPs KEY FEATURES OF DISABLE COMMENTS https://www.youtube.com/watch?v=FBq3-W-p-DM 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. 🌟 WHAT’S NEW WITH DISABLE COMMENTS 2.0 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. https://www.youtube.com/watch?v=mzi5uhKB9Zk 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. https://www.youtube.com/watch?v=t7BQ-7A4y4s DELETE CERTAIN COMMENT TYPE(S) Permanently delete certain comment types from your WordPress website including WooCommerce product reviews as well as generic comments. https://www.youtube.com/watch?v=Izm_ihC-z10 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. Advanced Configuration Some of the plugin’s behavior can be modified by site administrators and plugin/theme developers through code: 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. 💙 LOVED DISABLE COMMENTS? 🔥 GET FREEBIES FOR YOUR WORDPRESS SITE 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.

安装:

Modern Way:
  1. Go to the WordPress Dashboard "Add New Plugin" section.
  2. Search For "Disable Comments".
  3. Install, then Activate it.
  4. The plugin settings can be accessed via the 'Settings' menu in the administration area (either your site administration for single-site installs, or your network administration for network installs).
Old Way:
  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. The plugin settings can be accessed via the 'Settings' menu in the administration area (either your site administration for single-site installs, or your network administration for network installs).

屏幕截图:

  • Delete Comments under Tools menu.
  • Multisite Network support

升级注意事项:

2.8.0 Fixes cached pages continuing to serve the comment form after comments were disabled. Adds WordPress Abilities API support (WP 6.9+) so AI assistants and MCP clients can read your comment settings. Compatible with WordPress 7.0.

常见问题:

Nothing happens after I disable comments on all posts - comment forms still appear when I view my posts.

This is because your theme is not checking the comment status of posts in the correct way. You may like to point your theme's author to this explanation of what they are doing wrong, and how to fix it.

How can I remove the text that says "comments are closed" at the bottom of articles where comments are disabled?

The plugin tries its very best to hide this (and any other comment-related) messages. If you still see the message, then it means your theme is overriding this behaviour, and you will have to edit its files manually to remove it. Two common approaches are to either delete or comment out the relevant lines in wp-content/your-theme/comments.php, or to add a declaration to wp-content/your-theme/style.css that hides the message from your visitors. In either case, make sure you know what you are doing!

I only want to disable comments on certain posts, not globally. What do I do?

Go to the edit page for the post you want to disable comments on. Scroll down to the "Discussion" box, where you will find the comment options for that post. If you don't see a "Discussion" box, then click on "Screen Options" at the top of your screen, and make sure the "Discussion" checkbox is checked. You can also bulk-edit the comment status of multiple posts from the posts screen.

I want to delete comments from my database. What do I do?

Go to the tools page for the Disable Comments plugin and use the Delete Comments tool to delete all comments or according to the specified post types from your database. This cannot be undone. Back up your database before running it.

How do I disable comments across an entire multisite network?

Network-activate the plugin. The settings then live under your Network Admin, where you can either apply one configuration to every site at once or configure individual subsites from the network screen. If you activate the plugin on a single site instead, it only ever affects that site.

How do I disable WooCommerce product reviews?

WooCommerce product reviews are stored as comments on the product post type, so disabling comments on product turns reviews off too. To remove reviews that already exist, use the Delete Comments tool and select the product post type.

Can I configure the plugin from WP-CLI?

Yes. Settings and deletion are both scriptable, which is useful across a fleet of sites: wp disable-comments settings --types=post wp disable-comments settings --types=page --add wp disable-comments settings --xmlrpc --rest-api wp disable-comments delete --types=all Run wp help disable-comments settings for the full list of options. Full WP-CLI documentation.

WordPress 6.9 added “Notes” in the Block Editor. Will this plugin break them?

No, as long as you allow them. Notes are technically a comment type (note), so a blanket disable would switch them off along with everything else. Use the Enable Certain Comment Types setting to keep Notes working while all other comments stay disabled.

I disabled comments but a cached page still shows the comment form.

As of version 2.8.0 the plugin clears page caches automatically whenever you save settings or delete comments, so this should resolve itself. If your host or CDN is not covered, it can hook disable_comments_purge_caches to clear its own cache at the same moment. Note that the plugin never touches your object cache — only page caches. The stale thing is rendered HTML.

Can AI assistants read my comment settings?

Yes, on WordPress 6.9 and above. The plugin registers a read-only disable-comments/get-status ability through the WordPress Abilities API, so AI assistants, the command palette and MCP clients can ask the site where comments are disabled. It is read-only and requires the manage_options capability — nothing can change your settings through it.

What happens if I deactivate the plugin?

Comments go back to whatever WordPress and your theme did before. The plugin filters comment status at runtime rather than rewriting your posts, so your original per-post settings are still intact underneath. The one exception is the Delete Comments tool: comments it removed are permanently gone and deactivating will not bring them back.

更新日志:

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.9.1] - 2026-10-25 [2.9.0] - 2026-09-01 [2.8.0] - 2026-07-27 [2.7.1] - 2026-07-22 [2.7.0] - 2026-04-05 [2.6.2] - 2026-01-20 [2.6.1] - 2025-12-02