I have created CPT called "Pharmacy" which have a lot of pharmacies inside (approx 10.000)

Pharmacies offer 2 different services (skin & scalp) and some provide both services but some provide only one.

What I am trying to add is skin & scalp as taxonomies that can be assigned to each pharmacy depending what they offer.

So let's say that pharmacy_one offers both services then the link structure should look like this:


Finally, these taxonomies (skin & scalp) need to be connected to custom template page-skin.php & page-scalp.php depending on the URL and display different layout.

So "pharmacy_one" needs to have 2 layout and 2 links.

Is it possible to achieve it?

  • Are aaa and bbb meant to be two separate taxonomies, or two different terms in the same taxonomy? – Pat J Oct 26 '20 at 20:25
  • @PatJ whatever will work to create a structure like that, but I guess 2 separate taxonomies can work :) – Dachony Oct 26 '20 at 20:47
  • Updated question with more details – Dachony Oct 29 '20 at 11:14

Your Answer

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

Browse other questions tagged or ask your own question.