Support » How-To and Troubleshooting » [Resolved] Comment count not working

[Resolved] Comment count not working

  • 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

    Thank you

  • The topic ‘[Resolved] Comment count not working’ is closed to new replies.