{"id":52951,"date":"2011-05-27T08:00:00","date_gmt":"2011-05-27T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/disable-comments\/"},"modified":"2025-09-14T20:12:00","modified_gmt":"2025-09-14T20:12:00","slug":"disable-comments","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/disable-comments\/","title":{"rendered":"Disable Comments \u2013 Remove Comments &#038; Stop Spam [Multi-Site Support]"},"content":{"rendered":"<h4>Disable Comments \u2013 Remove Comments & Stop Spam [Multi-Site Support]<\/h4>\n<p>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.<\/p>\n<p><a href=\"https:\/\/wpdeveloper.com\/plugins\/disable-comments\/\" rel=\"nofollow ugc\">More About Plugin<\/a> \u25fc\ufe0f <a href=\"https:\/\/wpdeveloper.com\/docs-category\/disable-comments\/\" rel=\"nofollow ugc\">Documentation<\/a> \u25fc\ufe0f <a href=\"https:\/\/wordpress.org\/support\/plugin\/disable-comments\/\" rel=\"ugc\">Support Forum<\/a><\/p>\n<p><iframe loading=\"lazy\" title=\"Introducing Disable Comments - Best WordPress Plugin To Remove Spam Comments\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/EpuYs9Nf_nY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h3>Take Global Control Over Your WordPress Site<\/h3>\n<p>Override all comments-related settings throughout your website & manage your comments just the way you want.<\/p>\n<h3>Disable Comments On Posts, Pages & Media<\/h3>\n<p>Choose which posts, pages or media should allow comments from site visitors & configure Disable Comments accordingly<\/p>\n<h3>Disallow Comments On Multi-Site Network<\/h3>\n<p>Have multiple websites? Get rid of irrelevant comments on the entire network using Disable Comments Plugin<\/p>\n<p><iframe loading=\"lazy\" title=\"How to Disable Comments in WordPress & Stop The Spammers\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/J9AteKzQpPs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h3>KEY FEATURES OF DISABLE COMMENTS<\/h3>\n<ul>\n<li>All \u201cComments\u201d links are hidden from the Admin Menu and Admin Bar.<\/li>\n<li>All comment-related sections (\u201cRecent Comments\u201d, \u201cDiscussion\u201d etc.) are hidden from the WordPress Dashboard.<\/li>\n<li>All comment-related widgets are disabled (so your theme cannot use them).<\/li>\n<li>The \u201cDiscussion\u201d settings page is hidden.<\/li>\n<li>All comment RSS\/Atom feeds are disabled (and requests for these will be redirected to the parent post).<\/li>\n<li>The X-Pingback HTTP header is removed from all pages.<\/li>\n<li>Outgoing pingbacks are disabled.<\/li>\n<li>Stop spam comments entirely from the site with one click.<\/li>\n<li><strong>[New]<\/strong> Delete comments by type.<\/li>\n<li><strong>[New]<\/strong> Disable comments via <a href=\"https:\/\/wpdeveloper.com\/docs\/how-to-disable-comments-made-via-xml-rpc\/\" rel=\"nofollow ugc\">XML-RPC<\/a> & <a href=\"https:\/\/wpdeveloper.com\/docs\/how-to-disable-comments-made-via-rest-api\/\" rel=\"nofollow ugc\">REST-API<\/a><\/li>\n<li><strong>[New]<\/strong> Fully Multi-site Network supported.<\/li>\n<li><strong>[New]<\/strong> Manage multiple website network-specific subsites or entire network comments in advance.<\/li>\n<li><strong>[New]<\/strong> Exclude Disable Comments Settings based on user roles.<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" title=\"How To Disable Comments Made Via XML-RPC In WordPress Website?\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/FBq3-W-p-DM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Please delete any existing comments on your site <strong>before applying this setting<\/strong>, otherwise (depending on your theme) those comments may still be displayed to visitors. You can use the <strong>Delete Comments tool<\/strong> to delete any existing comments on your site.<\/p>\n<h3>\ud83c\udf1f WHAT\u2019S NEW WITH DISABLE COMMENTS 2.0<\/h3>\n<p><strong>AMAZING USER FRIENDLY INTERFACE<\/strong><br \/>\nEasily configure your comment-related settings with an amazing and attractive app-like user interface.<\/p>\n<p><strong>WP-CLI COMMANDS TO DISABLE COMMENTS<\/strong><br \/>\nUse <a href=\"https:\/\/wpdeveloper.com\/docs\/how-to-use-disable-comments-plugin-with-wp-cli-command-line\/\" rel=\"nofollow ugc\">WP-CLI<\/a> control for comment-related settings to disable comments on posts, pages, attachments or everywhere on your website.<\/p>\n<p><iframe loading=\"lazy\" title=\"How To Use Disable Comments WordPress Plugin With WP-CLI\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/mzi5uhKB9Zk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><strong>GET STARTED WITH QUICK SETUP WIZARD<\/strong><br \/>\nUse the quick setup wizard after activating the plugin to instantly configure comment-related settings for your WordPress website.<\/p>\n<p><strong>DISABLE COMMENTS ON DOCS<\/strong><br \/>\nInstantly disable comments on your documentation pages or WordPress knowledge base with a single click.<\/p>\n<p><iframe loading=\"lazy\" title=\"How To Disable Comments For WordPress Docs?\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/t7BQ-7A4y4s?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><strong>DELETE CERTAIN COMMENT TYPE(S)<\/strong><br \/>\nPermanently delete certain comment types from your WordPress website including WooCommerce product reviews as well as generic comments.<\/p>\n<p><iframe loading=\"lazy\" title=\"How To Instantly Delete Comments From WordPress Database\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/Izm_ihC-z10?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><strong>DISABLE COMMENTS VIA XML-RPC And REST API<\/strong><br \/>\nBlock any comments made on your WordPress website via XML-RPC specification and REST API.<\/p>\n<p><strong>Important note<\/strong>: Use this plugin if you don\u2019t want comments at all on your site (or on certain post types). Don\u2019t use it if you want to selectively disable comments on individual posts \u2013 WordPress lets you do that anyway. If you don\u2019t know how to disable comments on individual posts, there are instructions in <strong><a href=\"https:\/\/wordpress.org\/plugins\/disable-comments\/#faq\" rel=\"ugc\">the FAQ<\/a>.<\/strong><\/p>\n<p>If you come across any bugs or have suggestions, please use the plugin support forum. I can\u2019t fix it if I don\u2019t know it\u2019s broken! Please check the <strong><a href=\"https:\/\/wordpress.org\/plugins\/disable-comments\/#faq\" rel=\"ugc\">FAQ<\/a><\/strong> for common issues.<\/p>\n<p>Want to contribute? Here\u2019s the <strong><a href=\"https:\/\/github.com\/WPDevelopers\/disable-comments\" rel=\"nofollow ugc\">GitHub development repository<\/a><\/strong>.<\/p>\n<p>A <a href=\"https:\/\/github.com\/WPDevelopers\/disable-comments-mu\" rel=\"nofollow ugc\">must-use version<\/a> of the plugin is also available.<\/p>\n<h3>Advanced Configuration<\/h3>\n<p>Some of the plugin\u2019s behavior can be modified by site administrators and plugin\/theme developers through code:<\/p>\n<ul>\n<li>\n<p>Define <code>DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE<\/code> and set it to <code>false<\/code> to prevent the plugin from replacing the theme\u2019s comment template with an empty one.<\/p>\n<\/li>\n<li>\n<p>Define <code>DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS<\/code> and set it to <code>true<\/code> to prevent the plugin from hiding the Discussion settings page.<\/p>\n<\/li>\n<\/ul>\n<p>These definitions can be made either in your main <code>wp-config.php<\/code> or in your theme\u2019s <code>functions.php<\/code> file.<\/p>\n<p><strong>THIS PLUGIN IS NOW MAINTAINED BY THE TEAM<\/strong> <a href=\"https:\/\/wpdeveloper.com\/\" rel=\"nofollow ugc\">WPDeveloper<\/a>.<\/p>\n<h3>\ud83d\udc99 LOVED DISABLE COMMENTS?<\/h3>\n<ul>\n<li>\n<p>For documentation and tutorials go to our <a href=\"https:\/\/wpdeveloper.com\/docs-category\/disable-comments\/\" rel=\"nofollow ugc\">Documentation<\/a><\/p>\n<\/li>\n<li>\n<p>For video tutorials go to our <a href=\"https:\/\/www.youtube.com\/watch?v=J9AteKzQpPs&list=PLWHp1xKHCfxD2_xOIR5dMAGf3wd4hv-8K\" rel=\"nofollow ugc\">YouTube Playlist<\/a><\/p>\n<\/li>\n<li>\n<p>Join our <a href=\"https:\/\/www.facebook.com\/groups\/wpdeveloper.net\/\" rel=\"nofollow ugc\">Facebook Group<\/a><\/p>\n<\/li>\n<li>\n<p>If you love Disable Comments, <a href=\"https:\/\/wordpress.org\/support\/plugin\/disable-comments\/reviews\/?filter=5\" rel=\"ugc\">rate us on WordPress<\/a><\/p>\n<\/li>\n<li>\n<p>For more information about features, FAQs, and documentation, check out our website at <a href=\"https:\/\/wpdeveloper.com\/plugins\/disable-comments\/\" rel=\"nofollow ugc\">Disable Comments<\/a><\/p>\n<\/li>\n<\/ul>\n<h3>\ud83d\udd25 GET FREEBIES FOR YOUR WORDPRESS SITE<\/h3>\n<p>Consider checking out our other WordPress solutions & boost your WordPress website:<\/p>\n<p>\ud83d\udd1d <a href=\"https:\/\/wordpress.org\/plugins\/essential-addons-for-elementor-lite\/\" rel=\"ugc\">Essential Addons For Elementor<\/a>: Most popular Elementor addons with 2 million+ happy users & 95+ widgets & ready blocks<\/p>\n<p>\ud83d\udd14 <a href=\"https:\/\/notificationx.com\/\" rel=\"nofollow ugc\">NotificationX<\/a> \u2013 Best Social Proof & FOMO Marketing Solution to increase conversion rates.<\/p>\n<p>\ud83d\udd17 <a href=\"https:\/\/wordpress.org\/plugins\/betterlinks\/\" rel=\"ugc\">BetterLinks<\/a>: Latest best WordPress link management plugin for link shortening, tracking & analyzing.<\/p>\n<p>\ud83d\udcc4 <a href=\"https:\/\/wordpress.org\/plugins\/embedpress\/\" rel=\"ugc\">EmbedPress<\/a>: EmbedPress lets you embed anything including videos, images, posts, audio, maps and upload PDF, DOC, PPT etc.<\/p>\n<p>\u2601 <a href=\"https:\/\/wordpress.org\/plugins\/templately\/\" rel=\"ugc\">Templately<\/a>: 6000+ Free templates library for Elementor & Gutenberg along with the cloud collaboration for WordPress.<\/p>\n<p>\ud83d\udcda <a href=\"https:\/\/wordpress.org\/plugins\/betterdocs\/\" rel=\"ugc\">BetterDocs<\/a>: Best Documentation & Knowledge Base Plugin for WordPress reduce manual support tickets & improve user experience.<\/p>\n<p>\u23f0 <a href=\"https:\/\/wordpress.org\/plugins\/wp-scheduled-posts\/\" rel=\"ugc\">SchedulePress<\/a>: Advanced editorial calendar with WordPress Post Scheduling, Social Sharing, Missed scheduled alerts, and more.<\/p>\n<p>\u26a1 <a href=\"https:\/\/wordpress.org\/themes\/flexia\/\" rel=\"ugc\">Flexia<\/a>: Most lightweight, customizable & multi purpose theme for WordPress.<\/p>\n<p>Visit <a href=\"https:\/\/wpdeveloper.com\/\" rel=\"nofollow ugc\">WPDeveloper<\/a> to learn more about how to do better in WordPress with <a href=\"https:\/\/wpdeveloper.com\/blog\" rel=\"nofollow ugc\">Help Tutorial, Tips & Tricks<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly.<\/p>\n","protected":false},"author":65,"featured_media":264612,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Disable Comments \u2013 Remove Comments & Stop Spam [Multi-Site Support] - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly."},"footnotes":""},"categories":[1],"tags":[10691,13859,13887,7641,9309],"class_list":["post-52951","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-delete-comments","tag-disable-comments","tag-remove-comments","tag-spam-protection","tag-stop-spam"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/52951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=52951"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/52951\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/264612"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=52951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=52951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=52951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}