PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
default-sc
<?php use \WilokeListingTools\Framework\Helpers\GetSettings; use WilokeListingTools\Frontend\SingleListing; add_shortcode('wilcity_sidebar_slider', 'wilcityRenderSidebarSlider'); function wilcityRenderSidebarSlider($aArgs){ global $post; $aAtts = is_array($aArgs['atts']) ? $aArgs['atts'] : \WILCITY_SC\SCHelpers::decodeAtts($aArgs['atts']); $aAtts = wp_parse_args( $aAtts, array( 'name' => '', 'style' => 'list', 'icon' => 'la la-clock-o', 'desc' => '', 'aArgs' => '', 'aMetaData' => array('rating', 'address') ) ); if ( isset($aAtts['isMobile']) ){ return apply_filters('wilcity/mobile/sidebar/promotions', '', $post, $aAtts); } $query = new WP_Query($aAtts['aArgs']); if ( !$query->have_posts() ){ wp_reset_postdata(); return ''; } // 4013 $size = apply_filters('wilcity/listing-sidebar-slider/image/size', 'wilcity_290x165'); ob_start(); ?> <div class="wil-single-sidebar-slider-wrapper content-box_module__333d9"> <?php wilcityRenderSidebarHeader($aAtts['name'], $aAtts['icon']); ?> <div class="content-box_body__3tSRB"> <div class="swiper__module swiper-container swiper--button-abs" data-options='{"slidesPerView":"auto","spaceBetween":10,speed:1000,"autoplay":true,"loop":true}'> <div class="swiper-wrapper"> <?php while ( $query->have_posts() ){ SingleListing::setListingPromotionShownUp($query->post->ID); $query->the_post(); wilcity_render_grid_item($query->post, array('img_size'=>$size, 'isSlider'=>true,'style'=>'default')); } wp_reset_postdata(); ?> </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> </div> </div> <?php $content = ob_get_contents(); ob_end_clean(); return $content; }
[+]
..
[-] 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]