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?


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".


The query should be:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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