/** * Fixes the true comment count. Separates it from Pings */ function concerto_fix_comment_number($count) { $count = ConcertoComments::commentCount(); return $count; }
/** * Displays the list of Trackbacks and Pingbacks */ function concerto_default_comment_pings() { $comments_pings = array('One Trackback', '%1$s Trackbacks'); $comments_pings = apply_filters('concerto_comment_pings_title', $comments_pings); if (ConcertoComments::pingCount()) { ?> <h3><?php printf(_n($comments_pings[0], $comments_pings[1], ConcertoComments::pingCount()), number_format_i18n(ConcertoComments::pingCount())); ?> </h3> <ol class="pinglist"> <?php wp_list_comments(array('callback' => array('ConcertoComments', 'pinglist'), 'type' => 'pings')); ?> </ol> <?php } }