[Resolved] Multiple Custom Post Type taxonomy terms loops – how?
I’ve set up a CPT called ‘fan’ and made a taxonomy for it called ‘fan_post_types’. Within that taxonomy I have two terms called ‘fan-comment’ and ‘fan-merchandise’.
What I am trying to do now is set up a page called ‘fans’ and include 2 loops within it, one for the posts of both taxonomy terms so I have a feed of each.
I’m using WP_query loops at the moment, but I can’t get them to work. Both loops show posts from both taxonomy terms, instead of one loop showing one set and the other loops displaying the rest. Can anybody help please?
Here is my current code:
I’m pulling my hair out here. Why do custom post type taxonomies have to be so complicated? 🙁
- The topic ‘[Resolved] Multiple Custom Post Type taxonomy terms loops – how?’ is closed to new replies.