WordPress   

Get repeater field values inside a group field in ACF WordPress

<?php
while ( have_rows( 'group_field_name' ) ) : the_row();
	while ( have_rows( 'repeater_field_name' ) ) : the_row();
	
		if (get_sub_field( 'repeater_subfield_1_name')):
			the_sub_field( 'repeater_subfield_1_name' );
		endif 
		
		if (get_sub_field( 'repeater_subfield_2_name')): 
			the_sub_field( 'repeater_subfield_2_name' ); 
		endif 
		
		if (get_sub_field( 'repeater_subfield_3_name')): 
			the_sub_field( 'repeater_subfield_3_name' ); 
		endif 
		
	endwhile;
endwhile;
?>
Need Professional Support for Your Website Problems?

Whether you're facing website issues or struggling with code implementation, our team is here to assist. Hire us to get your website back on track.

Hire Us