I am displaying WordPress content on a static HTML page, which is outside of the WordPress content. It is working very nicely and I just need one more element to complete the set.
I am using this code:
<?php while (have_posts()): the_post(); ?>
<h5><?php the_title(); ?></h5>
<p class="blog-info"><?php the_time('m'); ?>.<?php the_time('j'); ?>.<?php the_time('y'); ?> | <a class="comment-ref">13 Comments</a></p>
<?php endwhile; ?>
The last part I need is the part where you can see a link with the total number of comments associated with the entry. Something like this:
<a class="comment-ref">13 Comments</a>
I am not very familiar with WordPress so I could use some help getting that last bit of code.
Thanks!