Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ACF Example 3
// check if the repeater field has rows of data
if( have_rows('app') ):
// loop through the rows of data
while ( have_rows('app') ) : the_row(); ?>
<p><strong><?php the_sub_field('item'); ?></strong> <strong>{<?php the_sub_field('price');?>}</strong><br/>
<em><?php the_sub_field('description'); ?></em>
<?php endwhile;
else :
// no rows found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.