Custom post type "Wines" has two categories: Regions & Producers. "Wines" has a value for both a Region and a Producer.
I want to loop through posts in [Category => Region, Term => X] and get each post's respective term in [Category => Producer, Term => ?].
The final goal is to go through the newly created array and:
- Remove duplicate entry terms
- Sort terms by alphabetical order
- Loop through array, and list posts (wines) of each respective entry (producer term)
I know you may be asking, "Why not just go to the producer's archive?"...I know. cry The Region's archive needs to display a list of posts ordered by the terms in the producer category.
Thanks a bunch.