web hosting
build a website

Disable comments on WordPress site

Feb 9, 2014   //   by Anthony Devine   //   Website Development tips  //  No Comments

There are options in WordPress to disable user comments, however this never works you will always find your site getting spam comments and you will find a comments form on your site.

The most effective way to remove them is to remove the code for the comments box on all page. Look through your theme files for the following code:

<?php comments_template( '', true ); ?>
and remove out the code. You will probably find this in the, single.php file and the page.php file and maybe in other files.