How to remove comments section in all pages of wordpress

Hi guys,

I removed comments section in all pages of my wordpress site in a very simple way.

Its as simple as clicking enter 😉

Just goto wp-content/themes/yourtheme/page.php

Page.php:

Change this one <div class=”comments_template”><?php comments_template(”,true); ?></div> to

<div class=”comments_template”></div>. That’s it, now you cant see any comments section in your pages no more. Enjoy 😉

Advertisements