I’m using multiple loops on a template page. In each instance, I’m using
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_categoriesfunction, it will display the values of the array in Firefox, but IE shows
array(0)because of the whole multiple loop issue.
What I have not figured out is how to create a
new WP_Queryto 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.