Support

Account

Home Forums General Issues Not showing content of Repeater Field Reply To: Not showing content of Repeater Field

  • <?php 
    $images = get_field(‘bkg_slide_gallery’, 'option');
    if( $images ): ?>
    <ul class="clearfix row">
    <?php foreach( $images as $image ): ?>
    <li>
    <img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
    <p><?php echo $image['caption']; ?></p>
    </li>
    <?php endforeach; ?>
    </ul>
    <?php endif; ?>