Title: Comment Count doesn&#8217;t match
Last modified: December 11, 2018

---

# Comment Count doesn’t match

 *  Resolved [dsmistyflip](https://wordpress.org/support/users/dsmistyflip/)
 * (@dsmistyflip)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/comment-count-doesnt-match/)
 * Hi Hector, we have your plugin displaying popular posts by comment count, however
   the comment count displaying in the widget doesn’t match the comment count in
   WordPress.
    In the link above, the top 2 posts both show 5 comments (which is
   correct) but the 3rd place shows 4 comments when it actually has 10. In all cases
   the number of actual comments matches the comment count in the WordPress Posts
   list. I’d appreciate any guidance you can give. Thanks Hector.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcomment-count-doesnt-match%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/comment-count-doesnt-match/#post-10973133)
 * Hi [@dsmistyflip](https://wordpress.org/support/users/dsmistyflip/),
 * > In all cases the number of actual comments matches the comment count in the
   > WordPress Posts list.
 * So it’s only one post that’s showing the wrong comments count then? That’s odd.
 * Could you please share some screenshots of the settings you’re using with the
   WPP widget?
 *  Thread Starter [dsmistyflip](https://wordpress.org/support/users/dsmistyflip/)
 * (@dsmistyflip)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/comment-count-doesnt-match/#post-11000040)
 * Thanks Hector. Here is a front end showing the WPP post widget in the right sidebar:
 * [https://www.moceanic.com/moceanic-blog/](https://www.moceanic.com/moceanic-blog/)
 * You’ll notice that the 3rd post says it has 4 comments, but it actually has 10(
   it shows 10 comments in the WordPress backend too):
 * [https://www.moceanic.com/2018/my-name-is-simone-joyaux/](https://www.moceanic.com/2018/my-name-is-simone-joyaux/)
 * Here is a screenshot of the widget settings:
    [https://www.moceanic.com/wp-content/uploads/2018/12/wpp-widget-screenshot2.jpg](https://www.moceanic.com/wp-content/uploads/2018/12/wpp-widget-screenshot2.jpg)
 * Cheers,
    Duncan
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/comment-count-doesnt-match/#post-11000275)
 * Thanks [@dsmistyflip](https://wordpress.org/support/users/dsmistyflip/).
 * Just checked that post and the comments count reported by WordPress Popular Posts
   is actually correct. Let me explain.
 * If you check that post’s comments section, you’ll notice that 6 of them were 
   made back in March 2018 – that’s +270 days (or +9 months) at the time of writing
   this. That’s well outside the 180 days limit you set. In other words: your post
   got **4 comments** within the last 180 days, not 10.
 *  Thread Starter [dsmistyflip](https://wordpress.org/support/users/dsmistyflip/)
 * (@dsmistyflip)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/comment-count-doesnt-match/#post-11000295)
 * Ah I understand – thanks Hector. I assumed the time frame was when the post was
   published, but I think I understand the logic.
    I appreciate your support – thanks.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/comment-count-doesnt-match/#post-11000496)
 * Don’t mention it. If you have any other questions don’t hesitate to ask, alright?
 * Have a nice day/night!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Comment Count doesn’t match’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [count](https://wordpress.org/support/topic-tag/count/)

 * 5 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/comment-count-doesnt-match/#post-11000496)
 * Status: resolved