Skip Navigation

[Resolved] Display repeatable group fields in related post

This thread is resolved. Here is a description of the problem and solution.

Problem:
Display repeatable group fields in related post

Solution:
We have Doc where you will find step by step tutorial that will help you to display repeating field groups. Actually, you need a view to display the repeating field group fields:

Relevant Documentation:
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/#displaying-repeatable-field-groups

0% of people find this useful.

This support ticket is created 6 years, 2 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 3 replies, has 2 voices.

Last updated by Gary Chui 6 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1167486

I have 2 post types with relationship added;
1.) Posts (default post type)
2.) Restaurants (custom post type)
The relationship is 1 (restaurant) to many (posts)

There is a repeatable group (named dishes) in Posts with 2 fields (dish image) and (dish name).

I'd like to display all dish image and dish name of all Posts related to the restaurant BUT I cannot find a way to do that with the Views.

Can you help to advise?

#1167656

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

We have Doc where you will find step by step tutorial that will help you to display repeating field groups. Actually, you need a view to display the repeating field group fields:

More info:
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/#displaying-repeatable-field-groups

#1168374

Hi Minesh,

Thanks a lot. I've read this article before while it displaying repeatable field group in the same post type.

What I want to do is, display all repeatable field groups (Dishes name and image) in the restaurant template (refer the relation below)

Let me recap the relationship;
I have 2 post types with relationship added;
1.) Posts (default post type)
---1.1) Dishes (repeatable field group)
------1.1.1) Dish name (text)
------1.1.2) Dish Image (image)
2.) Restaurants (custom post type)

The relationship is 1 (restaurant) to many (posts)

#1168386

My issue is resolved now. Thank you!