Skip Navigation

[Closed] Use Repeatable Group in the template

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

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

Assisted by: Luo Yang.

Author
Posts
#2605197

Hi, I tried to search in the documentation but I didn't find what I was looking for, I created some repeating fields set like this

(name slug)
3-reasons (name group):
1-reason
2-reason
3-reason

i need to show them inside my template, i tried with this code but it doesn't work

[wpv-for-each field="wpcf-3-reasons"]
[types field='wpcf-1-reason'][/types]
[/wpv-for-each]

#2605457

Hello,

Are we talking about Toolset repeatable field groups?
If it is, you can follow our document to display it with a post view:
https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/#displaying-repeatable-field-groups
section "Displaying Repeatable Field Groups"

#2605565

yes exactly, I'm developing everything without a page builder and I should insert the code inside the View of the template, there doesn't seem to be anything in the documentation or am I wrong?

#2606237

I assume you are using legacy editor to setup the post view, you can try these:
Create a post view:
- Query items of your Repeatable Field Groups
- Filter by:
post type relationship "your Repeatable Field Groups"
- In view's loop, display Repeatable Field Groups item information.

If you need more assistance for it, you can provide a test site website, and fill credentials into below private message box, I can setup a demo for you.

#2606281
Schermata 2023-05-15 alle 09.36.12.png
Schermata 2023-05-15 alle 09.35.44.png

I'm creating everything using templates, I'm attaching some screens for better understanding

#2606305

I didn't find the post view's shortcode [wpv-view ...] in your screenshot:
https://toolset.com/wp-content/uploads/2023/05/2606281-Schermata_2023_05_15_alle_09.36.12.png

If you need more assistance for it, you can share your website credentials in below private message box, also point out the URL:
- The content template URL
- The post URL where I can test the result in frontned

I can setup a demo for you.

The topic ‘[Closed] Use Repeatable Group in the template’ is closed to new replies.