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.
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.