I have a site with therapies and practitioners. Many therapies have multiple practitioners and many of the practitioners practice multiple therapies. Therapies and practitioners are both post types, and I am also using categories to link the two, since they are not hierarchical (I don't think). There is a category for each therapy and each of these contains the therapy post itself, plus each associated practitioner, so in that way they are linked.
I have quite easily created a list of associated practitioners in a widget on each therapy post, with a view that lists posts of the same category. So now what I'm stuck at: how do I create a view that will list the associated therapies for each practitioner? I guess I need to find out all of the categories in which my practitioner is included, and display posts of the type "therapies" that can be found in the same categories. But how? Thanks!
Thanks Minesh, I didn't want to use a many to many relationship as described as it looked like there would be too much admin, but as they can be linked from within the other page types, that might work after all.
I have set up many to many relationships now between practitioners and therapies, using an intermediary object called "bookings". But now a strange problem has appeared: My list of therapies (hidden link), which is a view displayed in a page, still appears correctly but the links redirect from the individual therapy pages to bookings pages. hidden link for example, now automatically redirects to hidden link. Why would that happen?
1)
Unfortunately I do not able to reproduce your issue, when I try to load this URL:
=> hidden link
It redirect me to correct page only.
- To isolate your issue, I would suggest you to check your issue by deactivating all other 3rd party plugins as I can see you are using redirection plugin.
2)
*** Please take full backup of your database and website. ***
You should also try to update your Types plugin to its latest release. The current version is: 1.6.6.4. You can download it from:
=> https://toolset.com/account/downloads/
If your issue still persist, please send me step by step information to reproduce your issue.