Title: Update Comments Count
Author: Pau Iglesias
Published: <strong>24 Tháng 4, 2015</strong>
Last modified: 31 Tháng 8, 2015

---

Tìm kiếm plugin

![](https://ps.w.org/update-comments-count/assets/banner-772x250.png?rev=1144375)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/update-comments-count/assets/icon-256x256.png?rev=1144375)

# Update Comments Count

 Bởi [Pau Iglesias](https://profiles.wordpress.org/pauiglesias/)

[Tải về](https://downloads.wordpress.org/plugin/update-comments-count.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/update-comments-count/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/update-comments-count/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/update-comments-count/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/update-comments-count/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/update-comments-count/)

## Mô tả

This plugin provides a simple method to update the comment counters stored in each
post.

Works with multiple AJAX calls and processes packs of 50 posts by default.

For each entry, the comments counter is updated calling the WordPress function `
wp_update_comment_count_now`.

Allows support for existing custom post types, and gives some plugin filters to 
change core configuration.

## Ảnh màn hình

[⌊Updating posts comments counter via AJAX⌉⌊Updating posts comments counter via 
AJAX⌉[

Updating posts comments counter via AJAX

## Cài đặt

 1. Unzip and upload update-comments-count folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to menu Tools > Update Comments Count to start the updating process

## Hỏi đáp

  Why do I need to update the posts comments counter?

Sometimes, when interacting with another plugins that deal with comments, the commments
counter originally computed by WordPress can be wrong. This plugin solves this problem
using massively the standar WordPress way.

## Đánh giá

![](https://secure.gravatar.com/avatar/ba8ffcefbaaec481373d85072fdfdae628449bf1ebae707ca57aa3b69dbbf350?
s=60&d=retro&r=g)

### 󠀁[Still works](https://wordpress.org/support/topic/still-works-209/)󠁿

 [Silkalns](https://profiles.wordpress.org/silkalns/) 2 Tháng 9, 2022

As of the time of writing, this plugin hasn't been updated for over 7 years. However,
it still works using PHP 7.4 and WordPress 6.0.2. This plugin fixes an annoying 
thing that misleads users, so I highly recommend giving it a try even today.

![](https://secure.gravatar.com/avatar/807c709d4142e246c32a82d4f675a7d88ada930e468525567a32806e0746e870?
s=60&d=retro&r=g)

### 󠀁[Did the trick](https://wordpress.org/support/topic/did-the-trick-23/)󠁿

 [titsmaker](https://profiles.wordpress.org/titsmaker/) 25 Tháng 10, 2019

The plugin helped me fixing the issue with wrong comment numbers after manipulating
comments via PHPMyAdmin. Still working with WP 5.2.4 and PHP 7.3.

![](https://secure.gravatar.com/avatar/4b001958f1b8050d6837b802765f5caa289e8ca6c294b4fed1f68df4c9822b5e?
s=60&d=retro&r=g)

### 󠀁[Worked perfectly](https://wordpress.org/support/topic/worked-perfectly-213/)󠁿

 [Ross Wintle](https://profiles.wordpress.org/magicroundabout/) 10 Tháng 5, 2019

Worked perfectly. Would be good to get the "Tested up to" tag updated so you can
appear more prominently in search results in the repo. But thanks for making this–
saved me a ton of time!

![](https://secure.gravatar.com/avatar/cd503c634951c269213a8bb73c309ba4574ca0c66f85c16ce39531d1ee1b908d?
s=60&d=retro&r=g)

### 󠀁[Didn’t Do what I hoped](https://wordpress.org/support/topic/didnt-do-what-i-hoped/)󠁿

 [willywdev](https://profiles.wordpress.org/willywdev/) 3 Tháng 10, 2018

I don't know what its supposed to do, but it didnt do what I wanted. I made changes
to wp_posts comment_count but the numbers aren't showing on the site. I hoped this
would force the site to update the count I changed from the backend Mysql, no go.

![](https://secure.gravatar.com/avatar/b6e3a631701c8ead5fb81cb5e8b294844ba6e252ae152d406d48118e92eba9e8?
s=60&d=retro&r=g)

### 󠀁[worked](https://wordpress.org/support/topic/worked-45/)󠁿

 [Kingsley Ibietela Felix](https://profiles.wordpress.org/iamkingsleyf/) 23 Tháng
9, 2018

It worked even though it has not been updated for long

![](https://secure.gravatar.com/avatar/268da3080311fe69b46bb1ff3a71637a556dc6bf2e705372505b9facb9e4525e?
s=60&d=retro&r=g)

### 󠀁[Still Works!!!](https://wordpress.org/support/topic/still-works-143/)󠁿

 [nickpagz](https://profiles.wordpress.org/npagazani/) 20 Tháng 7, 2018

After an import from wordpress.com the comment counts were way off. This worked 
perfectly. Thanks! WordPress version 4.9.7 and PHP 7.

 [ Đọc tất cả 10 đánh giá ](https://wordpress.org/support/plugin/update-comments-count/reviews/)

## Người đóng góp & Lập trình viên

“Update Comments Count” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Pau Iglesias ](https://profiles.wordpress.org/pauiglesias/)
 *   [ Blogestudio ](https://profiles.wordpress.org/blogestudio/)

[Dịch “Update Comments Count” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/update-comments-count)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/update-comments-count/),
check out [SVN repository](https://plugins.svn.wordpress.org/update-comments-count/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/update-comments-count/)
qua [RSS](https://plugins.trac.wordpress.org/log/update-comments-count/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0

Release Date: April 23th, 2015

 * First and tested released until WordPress 4.2
 * Tested code from WordPress 3.3.2 version.

## Meta

 *  Phiên bản **1.0**
 *  Cập nhật lần cuối **11 năm trước**
 *  Số lượt cài đặt **60+**
 *  Phiên bản WordPress ** 3.3.2 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.3.34**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/update-comments-count/)
 * Thẻ
 * [comment](https://vi.wordpress.org/plugins/tags/comment/)[comments](https://vi.wordpress.org/plugins/tags/comments/)
   [update comment](https://vi.wordpress.org/plugins/tags/update-comment/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/update-comments-count/advanced/)

## Đánh giá

 4.2 trên 5 sao.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/update-comments-count/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/update-comments-count/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/update-comments-count/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/update-comments-count/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/update-comments-count/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/update-comments-count/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/update-comments-count/reviews/)

## Những người đóng góp

 *   [ Pau Iglesias ](https://profiles.wordpress.org/pauiglesias/)
 *   [ Blogestudio ](https://profiles.wordpress.org/blogestudio/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/update-comments-count/)