WordPress – Turn Off Comments On WordPress Pages Only

Thursday, 18. August 2011

If you have been wondering how on earth one can turn off the comments on wordpress pages but still have commenting on posts, here is the solution for you.

I was somehow sure this is a simple matter of unchecking a single checkbox but I was wrong. To successfully turn achieve this:

1) Locate your theme’s page.php page.

2) Look for and uncomment this line

<?php #comments_template(); ?>

Save file and test your pages!