Looping over ACF repeater fields

I have created a custom post type (in ACF) for events. Each event has one or more speakers. I am trying to create a layout for the event. There are several Infos per speaker (name, affiliation, job title, picture…). Since the number of speakers is variable, I have set up the “speaker” field as a “repeater” element in ACF, and I collect each speaker’s info in subfields.
In my layout for the event, I want to have a section about the speaker(s). I want to design it a certain way (that works nicely) and I want to populate that section with the info drawn from the CPT. This also works well when I specifically draw the subfield-info of, say, the first speaker (example:
{{dc:acf:field field=“speaker_0_speakername”}}).
My problem: since the number of speakers is variable, the section (or row or grid, whatever my design is) about speaker 1 shall be repeated for each speaker, with the appropriate data pulled from this event’s speaker ACF.
As far as I can tell, a looper provider cannot (yet?) be set to an ACF Repeater element. Do you maybe have a solution or workaround that already works?
Thank you!

This might not help, but for one of my projects I also needed to use a repeating field.
Until ACF repeating fields are supported you could try something similar to the solution I used, but you will of course need to modify it to your needs…
In my child theme functions.php I added this code to create a new shortcode called “prosjekt_partners”.
This displays an ACF repeating field called “samarbeidspartnere”, with sub-fields: partner_navn and partner_link.
It’s basic, but it works for me and I hope it helps. I’m sure other people here have better solutions but I thought I’d offer it anyway… Here’s my code:

// Shortcode for displaying ACF field - repeating content
// Used for listing "Samarbeidspartnere" in prosjekt template...
// ----------------------------------------------------------------
function prosjekt_partners_shortcode(){
if ( is_single() && in_the_loop() && is_main_query() ) {
	// Check rows exists.
	if( have_rows('samarbeidspartnere') ):
		echo '<div class="x-text partner-heading"><p>Partnere:</p></div>';
		echo '<div class="x-text partner-text"><ul>';
		// Loop through rows.
		while( have_rows('samarbeidspartnere') ) : the_row();
			// Load sub field values.
			$sub_value1 = get_sub_field('partner_navn');
			$sub_value2 = get_sub_field('partner_link');
			if ( $sub_value2 ) {
				$sub_value1 = '<a href='. $sub_value2 .' target="_blank">'.$sub_value1.'</a>';
			}
			echo '<li>'.$sub_value1.'</li>';
		// End loop.
		endwhile;
		echo '</div></ul>';

	// No value.
	else :
		// Do something...
	endif;
	return;
}
else {
	return 'Project partners will be here';
}
}
add_shortcode('prosjekt_partners','prosjekt_partners_shortcode');

Hi @strita,

We’re definitely planning on revisiting ACF Repeaters (and hopefully nested repeaters) in another release but unfortunately they’re not supported in the current version.

Thanks @spedney for sharing your code example!