Title: Taxonomy count does not update
Last modified: August 20, 2016

---

# Taxonomy count does not update

 *  [sumitp](https://wordpress.org/support/users/sumitp/)
 * (@sumitp)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-count-does-not-update/)
 * Hi all,
 * We have a custom post type created for hotels and a custom taxonomy created for
   locations. We have lots of hotel entries added as scheduled, which get published
   at the set datetime. But as there was issue with these publications, we use the
   following plugins a well
 * [http://wordpress.org/extend/plugins/wp-missed-schedule/](http://wordpress.org/extend/plugins/wp-missed-schedule/)
 * Now, the issue is that the location count for hotels released does not update
   properly.
 * After reading a few entries on the forum we as well added the below code to explicitly
   call the count update function, but this still does not work properly.
 * ‘update_count_callback’ => ‘_update_post_term_count’
 * The complete taxonomy definition is as follows
 * register_taxonomy(‘star-rating’,
    array ( 0 => ‘hotels’,), array( ‘hierarchical’
   => false, ‘label’ => ‘Locations’, ‘show_ui’ => true, ‘query_var’ => true, ‘rewrite’
   => array(‘slug’ => ‘location’), ‘singular_label’ => ‘Location’, ‘update_count_callback’
   => ‘_update_post_term_count’ ) );
 * Can anyone please point to the issue or our mistake if any?
 * Regards

The topic ‘Taxonomy count does not update’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [sumitp](https://wordpress.org/support/users/sumitp/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/taxonomy-count-does-not-update/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
