Multiple Loops and getting categories
-
I’m using multiple loops on a template page. In each instance, I’m using
new WP_Query...
But towards the bottom, I’ve been trying to list the children of the current category. Then, iff there are any children, I’m planning to list the pages categorized as such.
When I var_dump the array created by the
get_categories
function, it will display the values of the array in Firefox, but IE showsarray(0)
because of the whole multiple loop issue.What I have not figured out is how to create a
new WP_Query
to list category children. If I could get that, I could show the pages associated with it, but WP_Query doesn’t seem to support calling categories.It looks like using “WP” might, or almost certainly “wpdb” but I haven’t gotten this working. Anyone have any experience with this?
- The topic ‘Multiple Loops and getting categories’ is closed to new replies.