PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
default-sc
<?php function wilcityRenderBoxIcon1($aAtts) { $aAtts = shortcode_atts( [ 'wrapper_classes' => 'icon-box-1_module__uyg5F', 'inner_wrapper' => 'icon-box-1_block1__bJ25J', 'content_classes' => 'icon-box-1_text__3R39g', 'icon_classes' => 'icon-box-1_icon__3V5c0', 'icon' => 'la la-leaf', 'margin' => 'mb-10', 'icon_style' => 'rounded-circle', 'name' => '', 'link' => '', 'target' => '_self', 'color' => '' ], $aAtts ); $wrapperClasses = $aAtts['wrapper_classes'].' '.$aAtts['margin']; $iconClasses = $aAtts['icon_classes'].' '.$aAtts['icon_style']; ob_start(); ?> <div class="<?php echo esc_attr($wrapperClasses); ?>"> <div class="<?php echo esc_attr($aAtts['inner_wrapper']); ?>"> <?php if (!empty($aAtts['icon'])) : ?> <?php if (empty($aAtts['color'])) : ?> <div class="<?php echo esc_attr($iconClasses); ?>"> <i class="<?php echo esc_attr($aAtts['icon']); ?>"></i> </div> <?php else: ?> <div style="color: <?php echo esc_attr($aAtts['color']); ?>" class="<?php echo esc_attr($iconClasses); ?>"> <i class="<?php echo esc_attr($aAtts['icon']); ?>"></i> </div> <?php endif; ?> <?php endif; ?> <div class="<?php echo esc_attr($aAtts['content_classes']); ?>"> <?php if (!empty($aAtts['link'])): ?> <a target="<?php echo esc_attr($aAtts['target']); ?>" href="<?php echo esc_url($aAtts['link']); ?>"> <?php echo esc_html($aAtts['name']); ?> </a> <?php else: ?> <?php echo esc_html($aAtts['name']); ?> <?php endif; ?> </div> </div> </div> <?php $content = ob_get_contents(); ob_end_clean(); return $content; } add_shortcode('wilcity_render_box_icon1', 'wilcityRenderBoxIcon1');
[+]
..
[-] 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]