Create single query for custom post type & display by tax term manually?
-
I’m not sure if I’m even wording this right – let me try to explain what I’m trying to do here…
I have a custom post type with 10 categories. I created a new query for the custom post type. Under filters I have my post type selected. Now, I didn’t select my taxonomy under filters because I’m wondering if I can reuse my the same CPT query shortcode on 10 different pages and include an argument within each to display the posts with a particular taxonomy term on each of the 10 pages?
Right now I have 10 querys set up and it works great but am thinking I can probably pull this off with a single query shortcode & arguments but can’t quite wrap my head around it.
Thank you!
- The topic ‘Create single query for custom post type & display by tax term manually?’ is closed to new replies.