Posted By

jhkoning on 10/15/12


Tagged

wordpress


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

umidjons
zemonte


Completely disable WordPress comments


 / Published in: PHP
 

URL: http://www.aotearoawebdesign.co.nz/blog/completely-disable-wordpress-comments/

All you need to do is create a child theme, and create a new comments.php file inside that child theme. Then insert this code into the comments.php file you just created;

  1. <?php return false; ?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: jhkoning on October 15, 2012

All you need to do is create a child theme, and create a new comments.php file inside that child theme. Then insert this code into the comments.php file you just created;

You need to login to post a comment.