WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] making comments completely disappear

[Resolved] making comments completely disappear

  • Hi Folks,

    i’m using wp for my photo website and do not want anyone to write replies to my posts. In fact, i do not even want the “u must be logged in to leave a comment” message to appear.

    What can i do to get rid of this?

    (if it’s helpful: i’m using magazine basic as default theme)
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi fidelzastro,

    You can get rid of comments by removing any lines that relate to comments in your index.php or page.php page.

    The lines should look like the one below:

    <?php comments_template(); ?>

    and

    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>

    Regards
    Pete

    Thanks again!

    I needed a little time to figure out that i have to look for the page.php in my template folder, but now it works just as i wanted to 🙂

    It is in german and i still work on, but maybe you are interested in the result: http://www.fs-fotos.de

    Regards,
    Florian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] making comments completely disappear’ is closed to new replies.
Skip to toolbar