Forums
Home / Plugins / Comment count for each post
(@subharaj88)
10 years, 10 months ago
Hi,
I want to show comment count for each post and just below of that particular post.
I tried a lot but not able to show. Can someone help me on this?
I am using a custom template and just use this code to show all the post on home page.
<?php query_posts(‘cat=39’); ?> <?php while (have_posts()) : the_post();?> <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>> <div class=”entry-content”> <?php the_content(); ?> <div class=”share-post”><div class=”slash”>/</div>
</div> </div> </article> <?php endwhile; ?>
Now I want to show the comment count for each post just below of the post.
Please help me out.
http://wordpress.org/extend/plugins/comments/
(@subharaj88)
10 years, 10 months ago
Hi,
I want to show comment count for each post and just below of that particular post.
I tried a lot but not able to show. Can someone help me on this?
I am using a custom template and just use this code to show all the post on home page.
<?php query_posts(‘cat=39’); ?>
<?php while (have_posts()) : the_post();?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<div class=”entry-content”>
<?php the_content(); ?>
<div class=”share-post”><div class=”slash”>/</div>
&t=<?php the_title(); ?>” onclick=”window.open(this.href); return false;”><li class=”facebook”>
%20<?php echo wp_get_shortlink(get_the_ID()); ?>” onclick=”window.open(this.href); return false;”><li class=”twitter”>
%20<?php echo wp_get_shortlink(get_the_ID()); ?>” onclick=”window.open(this.href); return false;”><li class=”pinterest”>
<div style=”clear:both;”></div>
</div>
</div>
</article>
<?php endwhile; ?>
Now I want to show the comment count for each post just below of the post.
Please help me out.
http://wordpress.org/extend/plugins/comments/