<?php if($int_points_and_data): $i = 0; ?>
<?php while(has_sub_field('points_and_data')): $i++; ?>
<div><?php echo $i; ?><?php the_sub_field( 'sub_field_name' );?></div>
<?php endwhile; ?>
<?php endif; ?>
Add numbers to each element in a repeater.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.