PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
default-sc
<?php function wilcityRenderListFeatureItem($aOption) { ?> <?php if (empty($aOption['oIcon']['color'])) : ?> <div class="icon-box-1_icon__3V5c0 rounded-circle"> <i style="color: #fff" class="<?php echo esc_attr($aOption['oIcon']['icon']); ?>"></i> </div> <?php else: ?> <div class="icon-box-1_icon__3V5c0 rounded-circle"> <i style="color: <?php echo esc_attr($aOption['oIcon']['color']); ?>" class="<?php echo esc_attr($aOption['oIcon']['icon']); ?>"></i> </div> <?php endif; } function wilcityListFeaturesSC($atts) { $aAtts = shortcode_atts( [ 'options' => '', 'wrapper_classes' => 'col-sm-4 col-sm-4-clear', 'extra_class' => '', 'return_format' => 'html' ], $atts ); if (empty($aAtts['options'])) { return ''; } $aOptions = json_decode($aAtts['options'], true); $aOptions = apply_filters('wilcity/wilcity-shortcodes/filter/list-features', $aOptions, $aAtts); if (empty($aOptions)) { return ''; } if (isset($aAtts['returnFormat']) && $aAtts['returnFormat'] === 'json') { return json_encode($aOptions); } $class = 'row'; $class .= ' '.$aAtts['extra_class']; ?> <div class="<?php echo esc_attr($class); ?>"> <?php foreach ($aOptions as $aOption) : ?> <div class="<?php echo esc_attr($aAtts['wrapper_classes']); ?>"> <div class="icon-box-1_module__uyg5F three-text-ellipsis mt-20 mt-sm-15"> <div class="icon-box-1_block1__bJ25J"> <?php if (!empty($aOption['oIcon']['icon'])) : ?> <?php wilcityRenderListFeatureItem($aOption); ?> <?php endif; ?> <?php if (!isset($aOption['unChecked']) || $aOption['unChecked'] == 'no') : ?> <div class="icon-box-1_text__3R39g"><?php echo esc_html($aOption['name']); ?></div> <?php else: ?> <div class="icon-box-1_text__3R39g un-checked" style="text-decoration: line-through"><?php echo esc_html($aOption['name']); ?></div> <?php endif; ?> </div> </div> </div> <?php endforeach; ?> </div> <?php } add_shortcode('wilcity_list_features', 'wilcityListFeaturesSC');
[+]
..
[-] 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]