Support

Account

Home › Forums › Add-ons › Repeater Field › Displaying repeater field data › Reply To: Displaying repeater field data

  • <?php while (the_repeater_field('top_links') ): ?> 
                            <li><a href="<?php the_sub_field( 'link_url'); ?>" target="_blank"><?php echo wp_get_attachment_image( get_sub_field( 'link_image' ), 'full' ) ; ?></a></li>
                        <?php endwhile ?>