Groups with wp_list_categories and empty categories
-
We have a situation where we have various levels of Groups access for certain custom post types, many of these posts exist across some number of categories, and we have some navigation/widgets using wp_list_categories with empty categories hidden, the problem is that the wp_list_categories query is getting all the categories as having posts, even when the current user does not have access to some of them. Is there a way to list categories after the Groups applies it’s restrictions to hide any empty categories, or show proper user-specific post counts? A custom walker, perhaps?
We don’t need to restrict full categories, so the categories extension is not helpful.
The topic ‘Groups with wp_list_categories and empty categories’ is closed to new replies.