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]
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"
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?
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.
I'm creating everything using templates, I'm attaching some screens for better understanding
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.