WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] making comments completely disappear (3 posts)

  1. fidelzastro
    Member
    Posted 5 years ago #

    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!

  2. peterjharrison
    Member
    Posted 5 years ago #

    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

  3. fidelzastro
    Member
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic