Support

Account

Home Forums Add-ons Repeater Field Repeater w/ 4 Groups, cannot get field values Reply To: Repeater w/ 4 Groups, cannot get field values

  • I’ve tried looping through the groups with:

    
    	<?php if( have_rows('column1') ): ?>
    	    <?php while( have_rows('column1') ): the_row(); 
    	        the_sub_field('type');
    	        the_sub_field('image')['url'];
    	        the_sub_field('text');
    	        ?>
    	    <?php endwhile; ?>
    	<?php endif; ?>
    

    and

    
    	<?php $column1 = get_sub_field('column1'); ?>
    		
    	<?php if( $column1 ): ?>
    		<?php echo $column1['text']; ?>
    
    		// let's see if the value is in the sub_field()			
    	        <?php the_sub_field('type'); ?>
    	        <?php the_sub_field('image')['url']; ?>
    	        <?php the_sub_field('text'); ?>
    	<?php endif; ?>
    

    🙁