Exemple #1
0
/**
 * Fixes the true comment count. Separates it from Pings
 */
function concerto_fix_comment_number($count)
{
    $count = ConcertoComments::commentCount();
    return $count;
}
Exemple #2
0
function concerto_default_commentlist_title()
{
    $comments_title = array('One Response to %2$s', '%1$s Responses to %2$s');
    $comments_title = apply_filters('concerto_commentlist_title', $comments_title);
    ?>
	<h3 id="comments-title"><?php 
    printf(_n($comments_title[0], $comments_title[1], ConcertoComments::commentCount()), number_format_i18n(ConcertoComments::commentCount()), '<em>' . get_the_title() . '</em>');
    ?>
</h3>
	<?php 
}