Hi Support, I need your help as I'm struggling how to implement this.
I have Custom Post Types:
Clinic → slug: /clinic/
Doctor → slug: /doctors/
Clinic Booking → slug: /clinic-bookings/
Clinic Contact→ slug: /clinic-contact/
I have taxonomy on the Doctor post type:
Doctor Location Assign → slug: /doctor-location-assign/
Relationships:
Doctor ↔ Clinic → many-to-many (doctor-clinic intermediary post), slug: /doctor-clinic/
Clinic Booking ↔ Clinic → one-to-one (/clinic-bookings/)
Clinic Contact ↔ Clinic → one-to-one (/clinic-contact/)
On the Clinic page (hidden link), I have a menu (I used custom header so that I can insert html)
Menu:
Doctors: (link to doctor taxonomy page),
Afterhours: link to other page
Policies: Anchor link on the clinic page
Contact: (link to another page but connected on the clinic ),
Book Button: (link to another page but connected on the clinic ).
Pls focus on these 3 menus items: Doctors, Contact, & Book Now Button
By the way, I used this shorcode on the "Doctors Menu" to landed on the doctor taxonomy page and it worked if I'm inside on the clinic page.
/doctor-location/[wpv-post-slug]" inside on the link
[]
The "Doctors menu" linked to the doctor taxonomy page which here: hidden link. (These show all doctors connected on this clinic.)
Now, here is the challenge:
If I'm on Contact or Booking page (that related on the clinic & same menu instructure ) if I click the 'Doctors Menu', how to ge the url on the Doctor taxonomy page?
Can you provide me shortcode if you have like I did on the clinic page.? Or any idea how to implement? My goal only is, the 'Doctors Menu' on the contact or booking page neeedd to landed on the Doctor Taxonomy Page same as the clinic page which here: hidden link.
We have 100+ clinics to upload but on the demo site just only 1 for now.
Note: Contact and Booking page are relationship on the Clinic. While the Doctors page I mentioned is taxonomy page for Doctors.
Hopefully you find a solutions!