Support

Account

Home Forums ACF PRO Structured Data Recipe (ingredients) Reply To: Structured Data Recipe (ingredients)

  • Yes, it would. Something like

    
    if (have_rows('my_repeater_field')) {
      while (have_rows('my_repeater_field')) {
        the_row();
        ?>
          <span="ingredients">
            <?php the_sub_field('ingredient'); ?>
          </span>
        <?php 
      }
    }
    

    see http://www.advancedcustomfields.com/resources/have_rows/