Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get acf repeater field

if( have_rows('rating_field') ):
  while ( have_rows('rating_field') ) : the_row();
    $title = the_sub_field('rating_title');
    $number = the_sub_field('rating_number');

    echo $title;
    echo $number;
  endwhile;
else :
endif;
 
PREVIOUS NEXT
Tagged: #acf #repeater #field
ADD COMMENT
Topic
Name
6+6 =