=== Disable WP Comments ===
Contributors: qsheeraz, genialsouls
Tags: comments, disable, hide, show, close
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 5.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Control how native WordPress comments are displayed and whether new comments can be submitted.

== Description ==

<blockquote>
    <p>
        <strong>Show, Hide, Close WP Comments</strong>
    </p>
</blockquote>

This plugin provides three focused comment modes for supported post types:

* **Show** keeps normal WordPress comment behavior.
* **Hide** suppresses comment presentation while leaving comments open.
* **Close** prevents new comments while preserving existing comments.

You can also hide the Comments menu from the WordPress dashboard and admin bar.

== Installation ==

Here are few steps to follow:

1. Upload `disable-wp-comments` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Select Disable WP Comments from the WordPress menu to open the settings.
4. Select the post types to which the comment setting should apply.
5. That's it. You're ready to go!

== Frequently Asked Questions ==

= Can I restore comments after disabling them? =

Yes. Set the mode to Show for the relevant post types.

= Can I re open comments after closing them? =

Yes. Set the mode to Show for the relevant post types.

= What is the difference between Hide and Close? =

Hide changes comment presentation but leaves comments open. Close prevents new comments while keeping existing comments. Neither mode deletes comments.

== Changelog ==

= 1.2.0 - 2026-09-21 =

* Modernized compatibility with current WordPress and PHP runtimes.
* Hardened settings validation, sanitization, and output handling.
* Improved block editor compatibility and PHP 8.x behavior.
* Clarified the Show, Hide, and Close settings interface and behavior.
* Removed obsolete promotional and remote resources.

= 1.1.1 - 08/02/2023 =

* Update: Quality check done.
* Fix:    Minor bugs fixed.

= 1.1 - 27/10/2020 =

* New:    Disable Gutenberg Comments block.
* Update: Compatible with 2020 theme.
* Fix:    Bugs fixed.

= 1.0 - 12/12/2019 =

First release.

== Upgrade Notice ==

= 1.2.0 =

Updates compatibility, settings protection, and the administration interface while preserving existing comment settings and behavior.

= 1.0 =

First release.
