Skip Navigation

[Geschlossen] Building a relationship site

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created vor 8 Jahre, 10 Monate. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 Antwort, has 2 Stimmen.

Last updated by Luo Yang vor 8 Jahre, 10 Monate.

Assisted by: Luo Yang.

Author
Artikel
#301534

Hi, I need to create a website for a medical firm.
They have many different locations, many doctors and many services offered. The same service can be available in different locations, as are the doctors.

I need a way to show:
- locations as priority content with many additional info per location
- doctors connected to that locations (with list of different services offered by the doctor)
- services offered in the location

This is a porting from an actual website:

Location: hidden link
Service in that location: hidden link
List of doctors at that location: hidden link
Single doctor at that location: hidden link

Thanks in advance,
m.

#301698

Dear m,

I suggest you try this create three custom post types and two custom Taxonomies
1) three custom post types:
locations, doctors and services
2) two custom Taxonomies:
locations and services,
a) Taxonomy "locations" register all three post types,
Each term of Taxonomy "locations" correspond to one "locations" post.
b) Taxonomy "services " register all three post types,
Each term of Taxonomy "services" correspond to one "services" post.

To list the doctors posts and services posts in a single "locations", you can create view with filter by:
taxonomy Value set by the current page.
More help:
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/
Value set by the current page
The View is always inserted somewhere. That page where the View is inserted is responsible for setting the taxonomy term. This is good when you want the same View to return different results, according to the page it’s inserted to.

Das Thema „[Geschlossen] Building a relationship site“ ist für neue Antworten geschlossen.