WordPress.org

Ready to get started?Download WordPress

Forums

Advance Custom Fields - Repeater (1 post)

  1. catlikethief118
    Member
    Posted 1 year ago #

    Hello,

    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 link 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; ?>
    </div>

    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

  • RSS feed for this topic
  • Started 1 year ago by catlikethief118
  • This topic is not resolved
  • WordPress version: 3.3.2