mysql - How to recount the count column in wp_term_taxonomy? -
i noticed when importing wordpress xml file blog wp_term_taxonomy
table counted wrong , didn't display categories result of that.
is there way me recount count column in wp_term_taxonomy
.
i solved problem calling wp_update_term_count_now()
each time importer adds or updates terms in process_posts()
.
Comments
Post a Comment