?> <?php /* Start the Loop */ ?> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('content/content', get_post_type()); ?> <?php $galleryimages = get_attachments_gallery('full', false); if ($galleryimages) { // pull in Flexslider wp_enqueue_script('flexslider', get_template_directory_uri() . '/lib/flexslider/jquery.flexslider-min.js', 'jquery', '2.5.0', true); ?> <div id="photo-slider" class="flexslider"> <ul class="slides"> <?php foreach ($galleryimages as $image) { ?> <li class="photo-item"> <?php print $image; ?> </li>
?> <?php /* Start the Loop */ ?> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('content/content', get_post_type()); ?> <?php $galleryimages = get_attachments_gallery('square'); if ($galleryimages) { ?> <div id="photo-grid" class="pswp-triggers row"> <?php foreach ($galleryimages as $image) { ?> <div class="photo-item ripple g3"> <?php print $image; ?> </div> <?php
?> <?php /* Start the Loop */ ?> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('content/content', get_post_type()); ?> <?php $galleryimages = get_attachments_gallery(); if ($galleryimages) { // pull in Packery wp_enqueue_script('packery', get_template_directory_uri() . '/lib/packery.pkgd.min.js', 'jquery', '1.2.4', true); ?> <div id="photo-grid" class="packed row"> <?php foreach ($galleryimages as $image) { ?> <div class="photo-item ripple g3"> <?php print $image; ?> </div>