Taxonomy menu with post count and multiple parents
I adjusted your code a little bit to integrate the wp_query() class instead of query posts(), which is only meant for altering the main loop. You should always opt to use wp_query() when trying to create secondary loops. Since we’re using wp_query(), we’re also going to have to use wp_reset_postdata() instead of wp_reset_query. Im not … Read more