Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

acf repeater

<?php if( have_rows('repeater_field_name') ): while ( have_rows('repeater_field_name') ) : the_row(); ?>
  <?php the_sub_field('sub_field_name'); ?>
<?php endwhile; else : endif; ?>
Source by www.advancedcustomfields.com #
 
PREVIOUS NEXT
Tagged: #acf #repeater
ADD COMMENT
Topic
Name
4+7 =