Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

2 Answers 2

The query should be:

www.mysite.com?city=london&specjalization=desntist
share|improve this answer
1  
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

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

Your Answer

 
discard

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.