Rather then just printing the word 'comments', I'd like it to display '7 comments', or however many there are. Any ideas how to go about doing this? my current code looks like this:
function zen_comment_wrapper($content) {
return '</div><div id="comments"><h2 id="comments-title" class="title">'. t('Comments') .'</h2>'. $content .'</div><div>';
}
Comments
Comment #1
dbirider commentedI tried using 'comment_num_all($nid)', but that didn't work. I'll post the code for my latest unsuccessful try below. Any other ideas? I'm pretty new at this.
Comment #2
akalata commentedClosing old/inactive requests.