Title: Comment count not working
Last modified: August 20, 2016

---

# Comment count not working

 *  Resolved [thetiff](https://wordpress.org/support/users/thetiff/)
 * (@thetiff)
 * [15 years ago](https://wordpress.org/support/topic/comment-count-not-working-1/)
 * Each of my entry that contains comments only shows “Comments”. Instead, I want
   them to show the number of comments the entry has, ie “2 Comments”.
 * Here’s my coding:
 *     ```
       if ( have_comments() ) {
   
       	/* Comment heading. */
       	$heading = sprintf( _n( '%1$s Comment', '%1$s Comments', get_comments_number(), 'ghostbird' ), number_format_i18n( get_comments_number() ) );
       ```
   
 * And if it helps, my website is: [http://tiffsbloggy.com](http://tiffsbloggy.com)
 * Thank you

The topic ‘Comment count not working’ is closed to new replies.

## Tags

 * [comment](https://wordpress.org/support/topic-tag/comment/)
 * [count](https://wordpress.org/support/topic-tag/count/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [thetiff](https://wordpress.org/support/users/thetiff/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/comment-count-not-working-1/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
