Support

Account

Home Forums General Issues How to show only one row using the_sub_field Reply To: How to show only one row using the_sub_field

  • You can also use get_field('counter_repeater'); which will return an array and then target whichever line you need.

    $array = get_field('counter_repeater');
    echo $array[2]['counter_number'];

    Cleaner than strings I’d imagine.