wp_list_comments returns nothing
-
Even though I know there is one comment for this post, nothing is being returned. Can anyone help? I’m sure this was working yesterday and I’m sure I’ve undone any changes I’ve made to this file.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class=”recentpost”>
<h3>“><?php the_title(); ?></h3>
<h4><?php the_tags(); ?></h4>
<h5>Date: <?php the_time(‘jS F, Y’); ?></h5>
<?php the_content(); ?>
<div class=”comments”>-
<?php wp_list_comments(); ?>
</div>
</div><?php endwhile; else: ?>
<div class=”recentpost”>
<p><Sorry, no posts matched your criteria.</p>
</div>
<?php endif; ?>Thanks,
SC
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_list_comments returns nothing’ is closed to new replies.