Home › Forums › Add-ons › Repeater Field › Get specific row from options page repeater › Reply To: Get specific row from options page repeater
Not really. You have to loop through the entire repeater and check the values to see if it’s the one you want to show, unless you know what row you want and then you can add a counter
$counter == 0;
while (have_rows('repeater')) {
$counter++;
if ($counter == $the_row_i_want) {
// output 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.