Advance Custom Fields - Repeater (1 post)

  1. Joe
    Posted 3 years ago #


    I am using Advance Custom Fields repeater feature for an image banner on the top of my secondary pages and i seem to be getting issues with the images displaying. I get that broken image symbol and am going no where while fixing it.

    the code i have for the custom field is:

    <div id="images">
    <?php if( get_field('repeater') ): ?>

    <?php while( has_sub_field('repeater') ): ?>

    <img src="<?php the_sub_field('image'); ?>" />

    <?php endwhile; ?>

    <?php endif; ?>

    and i get that wonderful broken icon when i view the page though the images seem to list fine on the backend. any help here would be appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic