I feel like I have done this before but it is just not working for me.
I created an archive page for a custom post type, I wanted to display the posts grouped by a custom taxonomy. The custom post type is careers, the taxonomy I want to group the posts by is position_type
I have a row with two columns as a provider, I have this set to display all terms of the custom taxonomy:
Screenshot: https://cloud.noaviv.com/H25gSXwm
The column is set as the consumer
Screenshot: https://cloud.noaviv.com/mGlg6V8x
Then I have a row inside the column set as a looper provider for the posts and this is where I run into trouble, if I just set it to the post type it is fine, but when I try to filter it by the parent taxonomy slug nothing comes up
Here is my query:
post_type=careers&tax_query%5B0%5D%5Btaxonomy%5D=position_type&tax_query%5B0%5D%5Bfield%5D=slug&tax_query%5B0%5D%5Bterms%5D={{dc:term:slug}}&posts_per_page=20&post_status=any
My structure, if that is not clear
- Row - Provider (term I want to group by)
- Column - Consumer ( term name)
- Row - Provider (posts with the current term)
- Column - Consumer (list the posts with the current term)
- Row - Provider (posts with the current term)
- Column - Consumer ( term name)
Thanks for any assistance,
Lori