PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
default-sc
<?php use WilokeListingTools\Framework\Helpers\GetSettings; use WilokeListingTools\Frontend\SingleListing; use WilokeListingTools\Controllers\SearchFormController; add_shortcode('wilcity_sidebar_list', 'wilcityRenderSidebarList'); function wilcityRenderSidebarList($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/list', '', $post, $aAtts); } $query = new WP_Query($aAtts['aArgs']); if ( !$query->have_posts() ){ wp_reset_postdata(); return ''; } $size = apply_filters('wilcity/listing-sidebar-list/image/size', 'thumbnail'); ob_start(); ?> <div class="wil-single-sidebar-list-wrapper content-box_module__333d9"> <?php wilcityRenderSidebarHeader($aAtts['name'], $aAtts['icon']); ?> <div class="content-box_body__3tSRB"> <div class="row row-fix-10"> <?php while ($query->have_posts()){ $query->the_post(); SingleListing::setListingPromotionShownUp($query->post->ID); ?> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="widget-listing2_module__2KKG0 widget-listing2_list__1y7xK"> <a href="<?php echo esc_url(get_permalink($query->post->ID)); ?>"> <div class="widget-listing2_container__2auAC"> <div class="widget-listing2_thumb__1GXhh bg-cover" style="background-image: url(<?php echo esc_url(GetSettings::getFeaturedImg($query->post->ID, $size)); ?>)"></div> <div class="widget-listing2_content__3pCvW"> <h3 class="widget-listing2_title__2UZx9"><?php echo get_the_title($query->post->ID); ?></h3> <div class="widget-listing2_metaData__2XG_K"> <?php \WILCITY_SC\SCHelpers::renderSidebarMetaData($query->post, $aAtts); ?> </div> </div> </div> </a> </div> </div> <?php } wp_reset_postdata(); ?> </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]