Skip Navigation

[Closed] 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 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.

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 2 months ago.

Assigned support staff: Luo Yang.

Author
Posts
#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

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

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.

The topic ‘[Closed] Building a relationship site’ is closed to new replies.