This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the user is using the new field groups option in our Toolset Beta plugins and wanted to display the repeated groups on the frontend.
Solution:
I spoke with the development team and they said that they are working on an API for the repeatable field groups but its not quite ready as yet.
So for now we are not able to display this on the frontend.
The solution I provided was for the old method of repeatable field groups but given that you are using the Beta we currently don't have a solution for it just as yet.
This support ticket is created 6 years, 9 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.
But this code display every group field "gruppo-paragrafo" i created in every page. How I can display only the group field "gruppo-paragrafo" created for the single page?
From the example above I provided the _wpcf_belongs_writer_id as the meta query value to query to parent information. In this case its for a Writers CPT where the slug of that cpt is writer, so what you need to do is to substitute your slug into the code.
Your format should be _wpcf_belongs_{myparentcptslug}_id
That is strange as it should return some posts if the post page has children.
Would you mind allowing me to have a look at your cpt setup on the backend? Also please let me know which posts are the parent and child and where was this code added.
The private fields will be enabled for your next response.
I see and I checked on this and it seems that there isn't a way to display this completely as yet.
I spoke with the development team and they said that they are working on an API for the repeatable field groups but its not quite ready as yet.
So for now we are not able to display this on the frontend.
The solution I provided was for the old method of repeatable field groups but given that you are using the Beta we currently don't have a solution for it just as yet.