Home › Forums › Add-ons › Repeater Field › Identifying row by shortcode attribute › Reply To: Identifying row by shortcode attribute
if you do get_field($repeater);
this should return an array containing a nested array for each row.
// assumes $row = the row you want to get
$rows = get_field($repeater);
$values = $rows[$row - 1];
echo $values[$text_field];
echo $values[$texteares_field];
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.