* defined below in the args attribute. Please referance the theme docs for more info */ $slider_data_args = array('filter_tag' => 'wpex_portfolio_single_gallery'); ?> <div id="portfolio-single-gallery" class="portfolio-post-slider wpex-clr"> <div class="wpex-slider-preloaderimg"> <?php // Display first image as a placeholder while the others load wpex_get_portfolio_post_thumbnail(array('attachment' => $attachments[0], 'alt' => get_post_meta($attachments[0], '_wp_attachment_image_alt', true), 'schema_markup' => true)); ?> </div><!-- .wpex-slider-preloaderimg --> <div class="wpex-slider slider-pro" <?php wpex_slider_data($slider_data_args); ?> > <div class="wpex-slider-slides sp-slides <?php if ($lightbox_enabled) { echo 'lightbox-group'; } ?> "> <?php // Loop through attachments foreach ($attachments as $attachment) { ?>
* defined below in the args attribute. Please referance the theme docs for more info */ $args = array('filter_tag' => 'wpex_portfolio_single_gallery'); ?> <div class="portfolio-post-slider clr"> <div class="wpex-slider-preloaderimg"> <?php // Display first image as a placeholder while the others load wpex_get_portfolio_post_thumbnail(array('attachment' => $attachments[0], 'alt' => get_post_meta($attachments[0], '_wp_attachment_image_alt', true), 'schema_markup' => true)); ?> </div><!-- .wpex-slider-preloaderimg --> <div class="wpex-slider slider-pro" <?php wpex_slider_data($args); ?> > <div class="wpex-slider-slides sp-slides <?php if ($lightbox_enabled) { echo 'lightbox-group'; } ?> "> <?php // Loop through attachments foreach ($attachments as $attachment) { ?>