• I am displaying the total number of comments of a post like this:

    <?php comments_number('0', '1', '%'); ?>

    The problem is that the displayed number is not correct when I delete comments (because of spam). It always shows the number including the deleted spam comments.

    Any way to fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comment Count Not Correct’ is closed to new replies.