So we have a template file per post type that is used everywhere on the site.
But when trying to use them with a repeater row they don’t work.
while ( have_rows('row','acf_options_home') ) : the_row();
get_template_part('templates/content');
in content.php we have
<div class="entry-summary">
<?php the_excerpt(); ?>
</div>
but the excerpt is empty because the post data hasn’t been set. How can we use our templates that work everywhere else with repeater rows?
any help appreciated!
Does one of the sub fields of the repeater contain information on what post the excerpt should come from?