Guest User

Untitled

a guest
Feb 10th, 2018
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- Galerie -->
  2. <?php
  3.  
  4. $images = get_field('reihe_episoden_galerie');
  5.  
  6. if( $images ): ?>
  7.         <?php foreach( $images as $image ): ?>
  8.            
  9.              <div class="gallery-acf">
  10.                <a itemprop="image" rel="lightbox" href="<?php echo $image['url']; ?>">
  11.                      <img itemprop="thumbnailURL" src="<?php echo $image['sizes']['thumbnail']; ?>" alt="<?php echo $image['alt']; ?>" />
  12.                 </a>
  13.                 <br />
  14.                 <?php echo $image['caption']; ?>
  15.             </div>
  16.         <?php endforeach; ?>
  17.    
  18. <?php endif; ?>
  19. <!-- END Galerie -->
RAW Paste Data