Support » Theme: Frontier » How removing comments on Page or article ?

  • Resolved duath


    I shall want to remove the possibility of adding comments on “Pages”.
    I saw that it was possible for articles, in the section ” option of discussion “.

    Is it necessary to modify the code? I read in another comment, than ill needed to remove the line:
    <? Php comments_template ();? >
    in the file loop-single.php
    But, if i understood well it is definitive and it applies to all the comments…
    Thanks for your suggestions

Viewing 3 replies - 1 through 3 (of 3 total)
  • Correct, to remove the comments you can do this:
    First create a child theme of your Frontier theme

    Then add the loop-single.php file in your child folder and remove:

    <div id="comment-area"><?php comments_template(); ?></div>

    However, this will remove the comments from both pages and posts.

    To remove the comments from Pages only you can do:

    Go to Admin => Pages and mouse over page you wish to remove comments from. Click on the ‘Quick Edit’ link and uncheck ‘Allow Comments’ on the right.

    Hope this helps! 🙂

    Theme Author ronangelo


    – Go to Frontier Options -> Posts & Pages
    – Under Page Elements uncheck Comments.
    – Save.

    Thank you for your answers.
    Finally, I opted for the option proposed by Ron…
    Thank you again

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How removing comments on Page or article ?’ is closed to new replies.