JPKCom Disable Comments — Guide & Tips
Disable WordPress comments site-wide with JPKCom Disable Comments — installation, requirements and practical tips.
JPKCom Disable Comments disables the WordPress core comments functionality for the entire site. Useful when you simply don't need comments on a corporate or documentation site.
Guide
Requirements
- WordPress 6.9 or newer (tested up to WordPress 7.0)
- PHP 8.3 or newer
Installation
- In your admin panel, go to Plugins → Add New and click Upload Plugin.
- Choose the plugin's ZIP file and click Install Now.
- Click Activate.
How it works
There is no settings page — once active, the plugin disables the core comments functionality globally. This includes removing the REST API endpoint for comments (since version 1.0.1).
Tips & Tricks
- Global instead of per post: The plugin works site-wide — you no longer have to disable comments manually on each individual post or page.
- REST API covered: The comments REST API endpoint is removed, so comments are no longer reachable via the API either.
- Reproducible updates: Since version 1.0.2 the plugin uses secure self-hosted updates via GitHub with SHA256 checksums and runs with
declare(strict_types=1).
Further reading
- Source code on GitHub: https://github.com/JPKCom/jpkcom-disable-comments
- API documentation (PHPDoc): https://jpkcom.github.io/jpkcom-disable-comments/docs/
- This project's changelog