PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-mobile-app
/
kingcomposer-sc
<?php use WILCITY_SC\SCHelpers; $atts = shortcode_atts( array( 'post_type' => 'event', 'orderby' => 'post_date', 'img_size' => 'wilcity_img_360x200', 'posts_per_page' => 6, 'style' => 'grid', 'bg_color' => '' ), $atts ); $aArgs = SCHelpers::parseArgs($atts); $query = new WP_Query($aArgs); if ( !$query->have_posts() ){ wp_reset_postdata(); return ''; } $aResponse = array(); while ( $query->have_posts() ){ $query->the_post(); $aListing = apply_filters('wilcity/mobile/render_event_on_mobile', $atts, $query->post); unset($aListing['aMetaData']); unset($aListing['aSections']); unset($aListing['coverImg']); unset($aListing['logo']); unset($aListing['oAddress']); unset($aListing['oCustomSettings']); unset($aListing['oGallery']); unset($aListing['oIcon']); unset($aListing['oReview']); unset($aListing['oSocialNetworks']); unset($aListing['oTerm']); unset($aListing['oVideos']); unset($aListing['timezone']); $aResponse[] = $aListing; } wp_reset_postdata(); echo '%SC%' . json_encode( array( 'oSettings' => $atts, 'TYPE' => 'EVENTS', 'oResults' => $aResponse ) ) . '%SC%'; return '';
[+]
..
[-] wilcity_google_admods.php
[edit]
[-] wilcity_app_listings_on_mobile.php
[edit]
[-] wilcity_kc_events_mobile.php
[edit]
[-] wilcity_app_heading.php
[edit]
[-] wilcity_app_term_boxes.php
[edit]
[-] wilcity_app_hero.php
[edit]