SHARE
TWEET

Untitled

a guest Feb 27th, 2020 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php $columnNumber++?> <div class="et_pb_row et_pb_row_<?php echo $columnNumber++ ?> et_pb_gutters2 wcf_gallery_row">
  2.     <div class="et_pb_column et_pb_column_4_4 et_pb_column_<?php echo $columnNumber++ ?>">
  3.         <div
  4.             class="et_pb_module et_pb_gallery et_pb_gallery_<?php echo $columnNumber++ ?> et_pb_gallery_grid et_pb_bg_layout_light clearfix">
  5.             <div class="et_pb_gallery_items et_post_gallery clearfix" data-per_page="20">
  6.                 <?php $images = get_field('acf_gallery_field'); foreach($images as $image): ?> <div
  7.                     class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light" style="display: block;">
  8.                     <div class="et_pb_gallery_image landscape" style="display: table-cell"> <a
  9.                             href="<?php echo $image['url'];?>" title="gallery"> <img src="<?php echo $image['url'];?>"
  10.                                 alt="gallery"> <span class="et_overlay et_pb_inline_icon" data-icon="U"><img
  11.                                     src="<?php echo esc_url($image['sizes']['thumbnail']); ?>"
  12.                                     alt="<?php echo esc_attr($image['alt']); ?>" />
  13.                             </span></a>
  14.                     </div>
  15.                 </div> <?php endforeach; ?> </div>
  16.         </div>
  17.     </div>
  18. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top