Support » Fixing WordPress » Comments not appearing….

  • Hi,

    Not sure why this isn;t working, i have enabled comments on post and i get an email to confirm a comment has been left and need to approve, but the comment donsn;t appear under the post?

    Do i need to add any code to my php to display comments?

    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    
    <div class="entry-content">
    <?php the_content(); ?>
    </div><!-- .entry-content -->
    <?php endwhile; // end of the loop. ?>
    <?php comments_template(); ?>

    Any ideas?

    Thanks

    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • i get an email to confirm a comment has been left and need to approve

    Approve comment – > comment shows up

    You can use the settings in your dashboard to show comments without approval (if you want this).

    Thanks Peter, but that is my problem, after i’ve approved the comment it still doesn’t appear?

    Any other ideas?

    Cheers

    Tom

    Place the comments_template before the endwhile.

    (I’m sorry I really thought you hadn’t approved the comment and didn’t take a closer look at the code 🙂 )

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments not appearing….’ is closed to new replies.