[resolved] Comments not appearing in post (3 posts)

  1. gabriellecomte
    Posted 3 years ago #

    I created my own tempate, but I can't find the way to call the comments only in the post page, not in the homepage. How could I do it?

    My blog is http://www.tictech.org

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    use <?php comments_template(); ?> in single.php of your theme;

    or add it in the loop of index.php; if absolutely necessary, wrap it in a conditional statement, like:

    <?php if( is_singular() ) comments_template(); ?>


  3. gabriellecomte
    Posted 3 years ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic