I've got comments working on my posts, single page posts and selected pages (using a cloned and modified template).
I also want it to display the number of comments for each post or page, in the title area.
In each post on the front page I'm using the following:
<?php comments_popup_link(__('No comments'), __('Comments (1)'), __('Comments (%)')); ?>
Which displays the number of comments I have for a post. Works perfectly.
You can see here: http://www.rsart.co.uk
I'm using the same code on my singlepost and pages, but this call isn't working (I've resorted to using for now to stop the css breaking)
The comments box does work however, I just can't display the No comments/ Comments(X) in the title area.
I have got <?php comments_popup_script(); ?> in the header.