Created
June 21, 2016 22:17
-
-
Save chodorowicz/5a414f84f6d5b333e867bd1966b4393a to your computer and use it in GitHub Desktop.
ACF WordPress repeater field #WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if(get_field('gallery_images')): ?> | |
<?php while(the_repeater_field('gallery_images')): ?> | |
<img src="<?php the_sub_field('image'); ?>" alt="<?php the_sub_field('alt'); ?>" /> | |
<?php endwhile; ?> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment