Herd Disable Comments
Disables all comments, pings, and trackbacks sitewide.
by Christopher McComas · github.com/marshallu/herd-disable-comments · website
★ 0stars
9composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/marshallu/herd-disable-comments/archive/refs/heads/main.zipAlso on Packagist as marshallu/mu-disable-comments:
composer require marshallu/mu-disable-commentsFrom the readme
Herd Disable Comments
A lean, internal plugin that disables all comments sitewide for Marshall University's WordPress network.
- Package: marshallu/herd-disable-comments
- Type: WordPress plugin
What It Disables
- New comments and pings on all post types
- Existing comments rendered on the front end
- Comment feeds
- Comment endpoints in the REST API
- Pingback methods in XML-RPC
- Comments top-level menu in the admin
- Discussion settings page
- Recent Comments dashboard widget
- Comments and Allow Comments meta boxes in the post editor
- Comments column in post list tables
- Comments node in the admin bar
- comments and trackbacks post type support on all registered post types
Installation
Manual
Upload the plugin directory to wp-content/plugins/ and activate it from the WordPress admin.
On a single site, activate from Plugins in the WordPress admin.
On a multisite network, activate from Network Admin Plugins to enable it across all sites at once, or activate it per-site as needed.
Composer
Composer will install the plugin to wp-content/plugins/herd-disable-comments/.
How It Works
Front End
Comment and ping status is overridden at the filter level, regardless of wh