Support

Account

Home Forums Add-ons Repeater Field get_sub_field outside (have_rows) Reply To: get_sub_field outside (have_rows)

  • <?php if( get_field('great_repeater') ): ?>
    
    	<?php while( has_sub_field('great_repeater') ): ?>
    
    		<?php 
    
    		$select = get_sub_field('sub_field_1');
    
    		?>
    
    			<?php foreach( $select['choices'] as $k => $v ): ?>
    				ifelse
    			<?php endforeach; ?>
    
    	<?php endwhile; ?>
    
    <?php endif; ?>