PATH:
home
/
letacommog
/
lesfinessaveurs
/
wp-content
/
themes
/
Avada
/
templates
<?php /** * ElasticSlider template. * * @author ThemeFusion * @copyright (c) Copyright by ThemeFusion * @link http://theme-fusion.com * @package Avada * @subpackage Core * @since 5.1 */ if ( ! Avada()->settings->get( 'status_eslider' ) ) { return; } $args = array( 'post_type' => 'themefusion_elastic', 'posts_per_page' => -1, 'suppress_filters' => 0, ); $args['tax_query'][] = array( 'taxonomy' => 'themefusion_es_groups', 'field' => 'slug', 'terms' => $term, ); $query = fusion_cached_query( $args ); $count = 1; ?> <?php if ( $query->have_posts() ) : ?> <div id="ei-slider" class="ei-slider"> <div class="fusion-slider-loading"><?php esc_attr_e( 'Loading...', 'Avada' ); ?></div> <ul class="ei-slider-large"> <?php while ( $query->have_posts() ) : ?> <?php $query->the_post(); ?> <li style="<?php echo ( $count > 0 ) ? 'opacity: 0;' : ''; ?>"> <?php the_post_thumbnail( 'full', array( 'title' => '', 'alt' => get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true ), ) ); ?> <div class="ei-title"> <?php $caption1 = get_post_meta( get_the_ID(), 'pyre_caption_1', true ); $caption2 = get_post_meta( get_the_ID(), 'pyre_caption_2', true ); ?> <?php if ( $caption1 ) : ?> <h2><?php echo esc_textarea( $caption1 ); ?></h2> <?php endif; ?> <?php if ( $caption2 ) : ?> <h3><?php echo esc_textarea( $caption2 ); ?></h3> <?php endif; ?> </div> </li> <?php $count ++; ?> <?php endwhile; ?> </ul> <ul class="ei-slider-thumbs" style="display: none;"> <li class="ei-slider-element">Current</li> <?php while ( $query->have_posts() ) : ?> <?php $query->the_post(); ?> <li> <a href="#"><?php the_title(); ?></a> <?php the_post_thumbnail( 'full', array( 'title' => '', 'alt' => get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true ), ) ); ?> </li> <?php endwhile; ?> </ul> </div> <?php wp_reset_postdata(); endif; /* Omit closing PHP tag to avoid "Headers already sent" issues. */
[+]
..
[-] side-header.php
[edit]
[-] sidebar-2.php
[edit]
[-] header-v5.php
[edit]
[-] header-v2.php
[edit]
[-] logo.php
[edit]
[-] header-1.php
[edit]
[-] wc-top-user-container.php
[edit]
[-] wc-before-shop-item-buttons.php
[edit]
[-] wc-product-title.php
[edit]
[-] privacy-bar.php
[edit]
[-] menu-mobile-flyout.php
[edit]
[-] wc-thumbnail-clean.php
[edit]
[-] related-posts.php
[edit]
[-] wc-product-search-form.php
[edit]
[-] wc-before-single-product-summary-close.php
[edit]
[-] pages-rich-snippets.php
[edit]
[-] wc-show-details-button.php
[edit]
[-] blog-post-date.php
[edit]
[-] footer-content.php
[edit]
[-] title-bar.php
[edit]
[-] wc-after-shop-item-buttons.php
[edit]
[-] social-sharing.php
[edit]
[-] wc-product-loop-outofstock-flash.php
[edit]
[-] header-secondary-main-menu.php
[edit]
[-] wc-cart-shipping-calc.php
[edit]
[-] header-v3.php
[edit]
[-] layerslider.php
[edit]
[-] header-v4.php
[edit]
[-] wc-before-shop-loop-item-title-close.php
[edit]
[-] wc-after-single-product-summary.php
[edit]
[-] wc-view-order.php
[edit]
[-] blog-layout.php
[edit]
[-] wc-stock.php
[edit]
[-] post-format-box.php
[edit]
[-] wc-rollover-buttons-linebreak.php
[edit]
[-] footer-social-icons.php
[edit]
[-] footer-copyright-notice.php
[edit]
[-] wc-catalog-ordering.php
[edit]
[-] wc-add-product-wrappers-open.php
[edit]
[-] wc-before-shop-loop-item-title-open.php
[edit]
[-] wc-proceed-to-checkout.php
[edit]
[-] menu-mobile-search.php
[edit]
[-] wc-after-container.php
[edit]
[-] elasticslider.php
[edit]
[-] wc-thumbnail-classic.php
[edit]
[-] header-4.php
[edit]
[-] wc-cart-collaterals.php
[edit]
[-] header-3.php
[edit]
[-] revslider.php
[edit]
[-] wc-before-single-product-summary-open.php
[edit]
[-] header-v7.php
[edit]
[-] wc-before-checkout-form.php
[edit]
[-] author-info.php
[edit]
[-] menu-mobile-modern.php
[edit]
[-] wc-checkout-coupon-form.php
[edit]
[-] wc-single-title.php
[edit]
[-] wc-add-product-wrappers-close.php
[edit]
[-] header-v1.php
[edit]
[-] sidebar-1.php
[edit]
[-] header-v6.php
[edit]
[-] header-secondary.php
[edit]
[-] header-2.php
[edit]
[-] header-content-3.php
[edit]
[-] menu-mobile-main.php
[edit]
[-] wc-add-product-border.php
[edit]