Skip Navigation

[Resolved] How to retrieve multiple values from multiple relationships

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by fabriceS 4 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1807743

Hi

I'm building a real estate website.

I created a few Post Types:
- Country
- Region
- City
- Property
- Ski Domains

Then I created relationships :
- Country-Region
- Region-Cities
- Cities-Properties
- Cities-SkiDomains

how can I create a view to display on my Property Page all these details:
- The Property name
- His city
- His region
- His Country
- Ski Domains related to this City

I can create a view to see City/SkiDomain or Property/City, but I can't find how to get the other parent/grand-parent/grand-grand-parent relation values...

Can you please help ?

Thanks a lot !

#1808493

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I'm not sure yet about if you are using the Block view or classic views.

Considering that you are using the classic views:
Here is the official Doc that you should follow that should help you to understand how you can add the fields that should belongs to the grand parent:
=> https://toolset.com/documentation/legacy-features/views-plugin/displaying-fields-of-grandparents/

Please let me know if you will require further assistance.

#1809805

My issue is resolved now. Thank you!