Hi I am creating a website for a doctors clinic and I need some help with the code and structure. I have different service posts i.e. Dentistry, Exercise ecg and Chelation Therapy, all these posts have a category with the same name of the the post i.e. Dentistry, Exercise ecg and Chelation Therapy. I then have posts about each doctor i.e. dr joe and dr jane.
I need to link the Doctors with the services they practice so the service pages would be like this:
Dentistry.php
Dentistry is blah blah blah.
Practiced by Dr. Joe(link to dr.joe.php)
Exercise ecg.php
Exercise ecg is blah blah blah.
Practiced by Dr. Jane(link to dr.jane.php)
Chelation Therapy.php
Chelation Therapy is blah blah blah.
Practiced by Dr. Joe(link to dr.joe.php), Dr.Jane(link to dr.jane.php)
I presume it is an if statement but my PHP is pretty basic so i am not sure where to start.
Thanks for your help.