{"id":114834,"date":"2019-12-12T23:29:37","date_gmt":"2019-12-12T23:29:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/disable-wp-comments\/"},"modified":"2026-09-21T14:43:40","modified_gmt":"2026-09-21T14:43:40","slug":"disable-wp-comments","status":"closed","type":"plugin","link":"https:\/\/ewe.wordpress.org\/plugins\/disable-wp-comments\/","author":18265269,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"1.2.0","tested":"7.1.1","requires":"5.0","requires_php":"5.4","requires_plugins":null,"header_name":"Disable WP Comments","header_author":"GenialSouls","header_description":"This is a short description of what the plugin does. It's displayed in the WordPress admin area.","assets_banners_color":"","last_updated":"2026-09-21 14:43:40","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/profiles.wordpress.org\/qsheeraz#content-plugins","header_author_uri":"https:\/\/genialsouls.com\/","rating":0,"author_block_rating":0,"active_installs":100,"downloads":3322,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"qsheeraz","date":"2020-08-13 05:02:38","revision":2359624},"1.1":{"tag":"1.1","author":"qsheeraz","date":"2022-11-02 04:31:41","revision":2809353},"1.1.1":{"tag":"1.1.1","author":"qsheeraz","date":"2024-04-04 08:49:48","revision":3064445},"1.2.0":{"tag":"1.2.0","author":"genialsouls","date":"2026-09-21 14:43:40","revision":3705795}},"upgrade_notice":{"1.2.0":"<p>Updates compatibility, settings protection, and the administration interface while preserving existing comment settings and behavior.<\/p>","1.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2227600,"resolution":"128x128","location":"assets","locale":"","width":139,"height":139}},"assets_banners":[],"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3705795,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"\\\/wp-admin\\\/plugins.php\",\"preferredVersions\":{\"php\":\"8.0\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"features\":{\"networking\":true},\"steps\":[{\"step\":\"installPlugin\",\"options\":{\"activate\":true},\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"disable-wp-comments\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]}"}},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.2.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[11218,107,3711,1244,3922],"plugin_category":[44,54],"plugin_contributors":[203628,84575],"plugin_business_model":[],"class_list":["post-114834","plugin","type-plugin","status-closed","hentry","plugin_tags-close","plugin_tags-comments","plugin_tags-disable","plugin_tags-hide","plugin_tags-show","plugin_category-discussion-and-community","plugin_category-security-and-spam-protection","plugin_contributors-genialsouls","plugin_contributors-qsheeraz","plugin_committers-genialsouls","plugin_committers-qsheeraz"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/disable-wp-comments.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<blockquote>\n    <p>\n        <strong>Show, Hide, Close WP Comments<\/strong>\n    <\/p>\n<\/blockquote>\n\n<p>This plugin provides three focused comment modes for supported post types:<\/p>\n\n<ul>\n<li><strong>Show<\/strong> keeps normal WordPress comment behavior.<\/li>\n<li><strong>Hide<\/strong> suppresses comment presentation while leaving comments open.<\/li>\n<li><strong>Close<\/strong> prevents new comments while preserving existing comments.<\/li>\n<\/ul>\n\n<p>You can also hide the Comments menu from the WordPress dashboard and admin bar.<\/p>\n\n<!--section=installation-->\n<p>Here are few steps to follow:<\/p>\n\n<ol>\n<li>Upload <code>disable-wp-comments<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Select Disable WP Comments from the WordPress menu to open the settings.<\/li>\n<li>Select the post types to which the comment setting should apply.<\/li>\n<li>That's it. You're ready to go!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20restore%20comments%20after%20disabling%20them%3F\"><h3>Can I restore comments after disabling them?<\/h3><\/dt>\n<dd><p>Yes. Set the mode to Show for the relevant post types.<\/p><\/dd>\n<dt id=\"can%20i%20re%20open%20comments%20after%20closing%20them%3F\"><h3>Can I re open comments after closing them?<\/h3><\/dt>\n<dd><p>Yes. Set the mode to Show for the relevant post types.<\/p><\/dd>\n<dt id=\"what%20is%20the%20difference%20between%20hide%20and%20close%3F\"><h3>What is the difference between Hide and Close?<\/h3><\/dt>\n<dd><p>Hide changes comment presentation but leaves comments open. Close prevents new comments while keeping existing comments. Neither mode deletes comments.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0 - 2026-09-21<\/h4>\n\n<ul>\n<li>Modernized compatibility with current WordPress and PHP runtimes.<\/li>\n<li>Hardened settings validation, sanitization, and output handling.<\/li>\n<li>Improved block editor compatibility and PHP 8.x behavior.<\/li>\n<li>Clarified the Show, Hide, and Close settings interface and behavior.<\/li>\n<li>Removed obsolete promotional and remote resources.<\/li>\n<\/ul>\n\n<h4>1.1.1 - 08\/02\/2023<\/h4>\n\n<ul>\n<li>Update: Quality check done.<\/li>\n<li>Fix:    Minor bugs fixed.<\/li>\n<\/ul>\n\n<h4>1.1 - 27\/10\/2020<\/h4>\n\n<ul>\n<li>New:    Disable Gutenberg Comments block.<\/li>\n<li>Update: Compatible with 2020 theme.<\/li>\n<li>Fix:    Bugs fixed.<\/li>\n<\/ul>\n\n<h4>1.0 - 12\/12\/2019<\/h4>\n\n<p>First release.<\/p>","raw_excerpt":"Control how native WordPress comments are displayed and whether new comments can be submitted.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/114834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=114834"}],"author":[{"embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/genialsouls"}],"wp:attachment":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=114834"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=114834"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=114834"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=114834"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=114834"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=114834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}