Child Terms not Displaying on the Taxonomy Term Admin Screen

I am experiencing an issue where terms with a parent are not being displayed in the category admin screen. The screen gives the total number of terms that should be there (i.e., 32), but only displays parent terms (i.e., 9).

Interestingly, if run:

var_dump( get_terms( 'category' ) );

all 32 terms are returned.

Does anyone have an idea as to how I might be able to get those terms to display?

Thanks!

3 Answers
3

I’ve encountered this kind of problem when i was building some front end post / term creation form. The number oh the ‘Right Now’ dashboard shows the right number of term, but the new term doesn’t shows up in the taxonomy admin screen.

The solution:

delete_option('taxonomy-name_children');

where ‘taxonomy-name’ is the name of the taxonomy.

Hope this help.

Leave a Comment