PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
default-sc
<?php function wilcityRenderHeaderSlider(){ global $wiloke, $wilcityGallerySettings; ?> <header class="listing-detail_header__18Cfs hasSlider"> <!-- swiper__module swiper-container --> <div class="swiper__module swiper-container swiper--button-pill swiper--button-abs-outer swiper--button-mobile-disable" data-options='{"autoplay": <?php echo abs($wiloke->aThemeOptions['listing_slider_autoplay']); ?>, "slidesPerView":3,"spaceBetween":4,"breakpoints":{"640":{"slidesPerView":1,"spaceBetween":4},"992":{"slidesPerView":2,"spaceBetween":4},"1200":{"slidesPerView":3,"spaceBetween":4},"1400":{"slidesPerView":3,"spaceBetween":4}}}'> <div class="swiper-wrapper"> <?php foreach ($wilcityGallerySettings as $id => $url): ?> <div class="listing-detail_itemOverlay__1F_RJ"> <?php $imgUrl = wp_get_attachment_image_url($id, $wiloke->aThemeOptions['listing_slider_img_size']); ?> <div class="listing-detail_sliderItem__3k2pH bg-cover" style="background-image: url(<?php echo esc_attr($imgUrl); ?>);"> <img src="<?php echo esc_url($imgUrl); ?>" alt="<?php echo esc_attr(get_the_title($id)); ?>"> </div> <?php $caption = get_post_field('post_excerpt', $id); if ( !empty($caption) ) : ?> <div class="listing-detail_caption__TrVbq"><?php echo esc_html($caption); ?></div> <?php endif; ?> </div> <?php endforeach; ?> </div> <div class="swiper-button-custom"> <div class="swiper-button-prev-custom"><i class='la la-angle-left'></i></div> <div class="swiper-button-next-custom"><i class='la la-angle-right'></i></div> </div> <div class="full-load"> <div class="pill-loading_module__3LZ6v pos-a-center"> <div class="pill-loading_loader__3LOnT"></div> </div> </div> </div><!-- End / swiper__module swiper-container --> </header> <?php } add_shortcode('wilcity_render_header_slider', 'wilcityRenderHeaderSlider');
[+]
..
[-] wilcity-sidebar-single-price.php
[edit]
[-] wilcity-sidebar-list.php
[edit]
[-] wilcity-sidebar-business-hours.php
[edit]
[-] wilcity-header-slider.php
[edit]
[-] wilcity-author-profile.php
[edit]
[-] wilcity-sidebar-bookingcombannercreator.php
[edit]
[-] wilcity-sidebar-grid.php
[edit]
[-] wilcity-sidebar-categories.php
[edit]
[-] wilcity-sidebar-woocommerce-booking.php
[edit]
[-] wilcity-sidebar-slider.php
[edit]
[-] wilcity-thankyou-addlisting-pending.php
[edit]
[-] wilcity-gallery.php
[edit]
[-] wilcity-list-features.php
[edit]
[-] wilcity-group-properties.php
[edit]
[-] wilcity-sidebar-coupon.php
[edit]
[-] wilcity-listing-social-networks.php
[edit]
[-] wilcity-sidebar-header.php
[edit]
[-] wilcity-sidebar-taxonomy.php
[edit]
[-] wilcity-sidebar-statistics.php
[edit]
[-] wilcity-thankyou-promotion.php
[edit]
[-] wilcity-googlemap.php
[edit]
[-] wilcity-sidebar-terms-box.php
[edit]
[-] wilcity-sidebar-custom.php
[edit]
[-] wilcity-sharing-posts.php
[edit]
[-] wilcity-get-coupon.php
[edit]
[-] wilcity-google-adsense-in-article.php
[edit]
[-] wilcity-google-adsense.php
[edit]
[-] wilcity-sidebar-business-info.php
[edit]
[-] wilcity-pricing.php
[edit]
[-] wilcity-sidebar-price-range.php
[edit]
[-] wilcity-sidebar-related-listings.php
[edit]
[-] wilcity-sidebar-claim.php
[edit]
[-] wilcity-sidebar-my-products.php
[edit]
[-] wilcity-custom-login.php
[edit]
[-] wilcity-my-bank-account.php
[edit]
[-] wilcity-render-box-icon1.php
[edit]
[-] wilcity-sidebar-tags.php
[edit]
[-] wilcity-sidebar-google-adsense.php
[edit]
[-] wilcity-thankyou-addlisting-approved.php
[edit]