Forums

How to hide the comments field? (3 posts)

  1. unseenmortal
    Member
    Posted 4 years ago #

    Are there any ways i could hide the comments field on my entries page and page? I'm trying to create a site that doesn't look like a blog, i'm working on removing the comments field but i'm having a hard time, what should i edit? or are there any plugins that will do the job? thanks

  2. whooami
    Member
    Posted 4 years ago #

    you dont need to hide the comments form. Look inside the default theme's single.php.

    See this:

    <?php comments_template(); ?>

    that shows the comment form, all the comments, pingbacks, trackbacks, etc..

    deleting all occurrences of that line from within your theme files will remove the form completely.

  3. unseenmortal
    Member
    Posted 4 years ago #

    thanks whooami, i'll try that.. i'm using a different theme, i'll just look for that. Thanks again.. :)

Topic Closed

This topic has been closed to new replies.

About this Topic