Skip to content

Instantly share code, notes, and snippets.

@daronspence
Created June 7, 2017 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daronspence/08e708c4391ea3ddc6fb9d54ec84e66b to your computer and use it in GitHub Desktop.
Save daronspence/08e708c4391ea3ddc6fb9d54ec84e66b to your computer and use it in GitHub Desktop.
<?php if( have_rows('partners_logos', $acfw) ): ?>
<?php while( have_rows('partners_logos', $acfw) ): the_row(); ?>
<div class="col-md-6">
<img src="<?php the_sub_field('logo', $acfw); ?>" alt="" class="img-responsive">
</div>
<?php endwhile; ?>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment