Skip Navigation

[Resolved] Displaying repeatable field group using legacy Views

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
- 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 reply, has 2 voices.

Last updated by Luo Yang 1 year, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#2599863

This is my first attempt at using repeatable field. I have a custom post type named Menus. I created a repeatable field Appetizers and then created three fields name, description and price. I created a test post and input data for two appetizer.

I likely have created the View incorrectly. I have inserted the shortcode for the View I created for the repeatable field but it displays none of the data I input in the fields on that page. I attempted inserting the shortcode in both a Divi builder editor and a classic WordPress (not blocks) editor. Not working.

Wondering what I've done wrong.

#2600055

Hello,

Yes, it is possible to display the items of repeatable field group using legacy Views, Toolset repeatable field groups are based on one-to-many relationship.

You just need to:
1) Enable legacy editor:
https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

2) Dashboard-> Toolset-> Views, create a post view:
- Query your "repeatable field group" posts
- Filter by post type relationship of your "repeatable field group"
- In view's loop, display the repeatable field group items information

If you need assistance for it, please provide a test site with the same problem, fill below private message box with test site credentials, I can setup a demo for you.