WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have site with rankings of doctors. Medical specialization and localization where doctors live is stored as a taxonomy.

For example:
city -> New York, London, Paris
specialization -> surgeon, dentist, orthopaedist

If I want to display all the doctors from London, I have to navigate with my browser to: http://my_site/city/london but where should I navigate when I want to display all dentists from London?

share|improve this question

You should move - if not hierarchical - to "post_tags", or a custom non-hierarchical taxonomy.

The rest is more a query Question:

  • New template > Query taxonomy > Add specific tags to the query
  • Assign template to page
  • Add page to menu

So if you link to london and want to display all doctors, including location and specialization, Query for the taxonomy "city" > "london" and add tags "location" and "speziality".

share|improve this answer

The query should be:

share|improve this answer
if you need advanced rewrite rules to go along with this solution then check out this tutorial: thereforei.am/2011/10/28/… – helgatheviking Sep 14 '12 at 20:28

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.