Tell us what you are trying to do?
I have some groups repeater, I put the information and does not show when I bring the all the information from the post.
$all_meta = var_dump( get_post_meta( get_the_ID() ) );
I need to access each information from the repeater.
I found in your website you have a method to render, //types_render_field("custom-field-slug-name", array("argument1″=>"value1″,"argument2″=>"value2″,"argument2″=>"value2"));
But I need to bring the information and work with the custom field.
Other thing Is there any possibility to make conditional for the repearter groups?
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
Hi, I think you did not undertand me. I need to get the the information from this repeater.
I could bring from the database but I can not find, where toolset save this information. Should be in the wp_postmeta but is not there.
All other fields are in the database (send print) how can I get this data?
Thanks
As I mentioned above, the Repeating Field groups is based on post type, each instance of Field group is a single post, for example:
1) You need to get the related posts first, you can use Types new API functiontoolset_get_related_posts () to get the related posts of repeating field group:
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_get_related_posts
You will be able to get the related post IDs
2) Then use post ID to get the post meta value, render each post's custom field with Types function types_render_field():
https://toolset.com/documentation/customizing-sites-using-php/functions/
More help:
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/#displaying-repeatable-field-groups
See screenshot:
hidden link