Title: Dynamically update comments count
Last modified: August 30, 2016

---

# Dynamically update comments count

 *  [kot_matpockuh](https://wordpress.org/support/users/kot_matpockuh/)
 * (@kot_matpockuh)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/dynamically-update-comments-count/)
 * How can i dynamicaly change post comments count. What is the callback of successfull
   addede comment etc?
 * `<div class="post-comments-count"><?php comments_number(); ?></div>`
 * sure, without ajax it is not updated
 * please, give me some ideas, what and where and when to call, to update this value?
 * [https://wordpress.org/plugins/wpdiscuz/](https://wordpress.org/plugins/wpdiscuz/)

The topic ‘Dynamically update comments count’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [kot_matpockuh](https://wordpress.org/support/users/kot_matpockuh/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/dynamically-update-comments-count/)
 * Status: not resolved