removing comments from pages (3 posts)

  1. souleye
    Posted 4 years ago #

    I have this new wordpress installation. I tried everything that I know to remove the comments from the pages but it's not working.
    any assistance will be appreciated. thank you

  2. bmiller357
    Posted 4 years ago #

    I agree - how do we remove comments from pages?

  3. souleye
    Posted 4 years ago #

    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(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic