Support » Fixing WordPress » removing comments from pages

Viewing 2 replies - 1 through 2 (of 2 total)
  • I agree – how do we remove comments from pages?

    I resolved the issue. I knew how to do it but unfortunately, I was modifying files on the wrong template. I had crafty-cart as the default theme, but for some reason I had always thought autumn leaves was the default. so I was modifying the right file on the wrong template. the way to do it, is to open the page.php file and toward the bottom, there’s a php line of code that says:
    <?php comments_template(); ?>
    either you remove it completely or just comment it out as I did by adding ‘//’ before the function. that should take care of it.
    <?php //comments_template(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘removing comments from pages’ is closed to new replies.