Home › Forums › Add-ons › Repeater Field › Using get_post_meta as Fallback on Repeaters › Reply To: Using get_post_meta as Fallback on Repeaters
One thing i could say is, both the repeater and flexible content fields save their data in this format:
$ParentName_$RowNumber_$ChildName
the values of testimonial for the first and second row are saved into this 2 DB-Fields.
'testimonials_0_testimonial' //for first row
'testimonials_1_testimonial' //for second row
maybe that help.
else: debug $rows => that means: look what inside $rows is.
echo '<pre>';
print_r( $rows);
echo '</pre>';
probably it is not array like you expect (because each subfield has it own db-row)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.