Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am working on an event management WordPress site which has multiple taxonomies (Photographer, Event Manager, Decor, etc).

I want to create Taxonomy pages for each of these taxonomy (this is the easier part and there are ample tuts on these). In each of these custom taxonomy pages, I want to fetch all the posts falling under that taxonomy, and display the unique categories as a widget on the side.

So if I am viewing the page of a Decor partner, then all the posts with that Decor should be displayed in the loop, and outside of the loop, in the widgets area I want to display the catgories of those posts only.

Is there a query or method that I can use to make this happen?

There is long method which I am trying to avoid - where I go through the loop, for each post fetch the category and maintain the unique list that way.

share|improve this question
Take a look at the template hierarchy. Then use a normal loop. – kaiser Mar 8 at 14:11

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.