WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hide Or Remove Comment For Single Post page (3 posts)

  1. kertoon
    Member
    Posted 3 years ago #

    I have been trying to remove the comment section of the single post page. When I put comment codes between <?php comments_template('', true); ?> to hide it, it was fine when I view the single post.

    But then when I click links from the sidebars, the sidebars jump down below the post and the comment section appears with the box outline and some html codes!

    So actually how should I hide or remove the comment section? i use Cutline 1.4 3-column Right Theme.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Remove <?php comments_template('', true); ?> from single.php.

  3. kertoon
    Member
    Posted 3 years ago #

    hey esmi,
    I have tried hiding this code and the sidebar goes haywire. I dare not delete it for fear of getting that horrible parse-error-expectation problem.

    YES! I deleted it and it disappeared instantly. Thank you so much for your help. You rock esmi!

Topic Closed

This topic has been closed to new replies.

About this Topic