Hi there,
I’ve set up a Repeater tab fields (see screenshot) but I can’t get it to display.
Can someone have a look at my code to see what I’m doing wrong please (I pinched the code from this site).
Many thanks
https://screenshots.firefox.com/z7FigEjgWTMvKY1G/ageingdj.com
(there are two tabs set up)
<?php if( have_rows(‘prodtab’) ): ?>
<?php while( have_rows(‘prodtab’) ): the_row();
// vars
$image = get_sub_field(‘prodimage2’);
$content = get_sub_field(‘prodtax’);
$link = get_sub_field(‘proddetails2’);
?>
<?php if( $link ): ?>
“>
<?php endif; ?>
” alt=”<?php echo $image[‘alt’] ?>” />
<?php if( $link ): ?>
<?php endif; ?>
<?php echo $content; ?>
<?php endwhile; ?>
<?php endif; ?>