• Resolved macksix

    (@macksix)


    Does not decrement comment counts. I deleted a lot of comments. It did not decrement comment counts and left counts for all of the comments I deleted.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Xylus Themes

    (@xylus)

    Hi @macksix,

    Comment counts come from caching so once you delete cache or it refreshed automatically, the count will be reset accordingly.

    Happy to know that plugin is useful to you. thank you so much!

    Thread Starter macksix

    (@macksix)

    I actually looked in database and the count was wrong. It was not the cache.

    I had to run this query to update the comment count in database after using the plugin:

    UPDATE wp_posts
    SET comment_count=(SELECT COUNT(*)
    FROM wp_comments
    WHERE wp_posts.id=wp_comments.comment_post_id)
    • This reply was modified 4 years, 10 months ago by macksix.
    Plugin Author Xylus Themes

    (@xylus)

    That’s good you updated else it would have auto-update when the comment gets added next time.

    Thread Starter macksix

    (@macksix)

    I don’t understand what the point of your reply is. a new comment on one post does not update comment count on all posts. The plugin should update the comment count.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Does not decrement comment counts’ is closed to new replies.