wp_list_categories and unpublished posts
-
Hi,
I’m using wp_list_categories to list categories from default taxonomy ‘category’ with hide_empty=1.
However it returns all the categories regardless of the posts status: it displays categories with only unpublished posts in it, linking to a “sorry no posts” page…
This is quite gamebreaking to me.
I found this http://core.trac.wordpress.org/ticket/14084 but it refers to custom taxonomies (and it’s still unresolved…)Anyone care to help? 🙂
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘wp_list_categories and unpublished posts’ is closed to new replies.