Completely disable WordPress comments

/ Published in: PHP
Save to your folder(s)

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;

Copy this code and paste it in your HTML
  1. <?php return false; ?>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.