01/13/2014 at 1:19 pm
#276994
Keymaster
@ Julie
Apologies for the delay … I’ve had a higher workload than normal…
You can add parent_id
to the array. It’ll accept the category IDs of root parent categories to include in the list. The code can be found here:
https://github.com/shazahm1/Connections/blob/0.7.9.3/includes/template/class.template-parts.php#L803
This will only work for root parent categories though. What I mean by root parent is a category that is not a child of another category. Hope that makes sense!
As for counts, right now, those counts include every entry regardless if it is unlisted/private or in the moderation queue. So it’s best to simply hide the count if showing them is going to cause confusion for your users.
Hope that helps!