ReaktivStudios Disable Comments
Completely disables comments so that there are no references to comments on the site or dashboard.
by Reaktiv Studios · github.com/reaktivstudios/rkv-disable-comments
★ 0stars
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/reaktivstudios/rkv-disable-comments/archive/refs/heads/master.zipReadme
ReaktivStudios Disable Comments
This is a Reaktiv plugin used for client sites where comments are not needed. This removes:
- the comments
- any ability to comment
- comment editing options in the dashboard
This is helpful because it removes one potential vector for attack and spam on sites where comments will not be used.
This also simplifies the dashboard so there is less potential for clicking the wrong menu item.
Usage
Add to plugin folder and active the plugin. There is no setup required.
For maximum effect the comment template can be replaced with:
<?php
/**
* The template for displaying comments.
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package {package}
*/
/**
* Comments are disabled so this template is empty.
*/