Support » Fixing WordPress » Comment count not working

  • Resolved thetiff


    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:

    Thank you

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