PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
core
<?php function wilcity_sc_render_contact_us($atts){ $atts = \WILCITY_SC\SCHelpers::mergeIsAppRenderingAttr($atts); if ( $atts['isApp'] ){ echo '%SC%' . json_encode($atts) . '%SC%'; return ''; } ?> <div class="row <?php echo esc_attr(trim($atts['extra_class'])); ?>"> <?php if(!empty($atts['contact_info'])) : ?> <div class="col-md-4 col-lg-4"> <div class="content-box_module__333d9"> <header class="content-box_header__xPnGx clearfix"> <div class="wil-float-left"> <h4 class="content-box_title__1gBHS"> <i class="la la-info-circle"></i> <span><?php echo esc_html($atts['contact_info_heading']); ?></span> </h4> </div> </header> <div class="content-box_body__3tSRB"> <?php foreach ($atts['contact_info'] as $oContactInfo): $oContactInfo = is_array($oContactInfo) ? (object)$oContactInfo : $oContactInfo; ?> <div class="icon-box-1_module__uyg5F one-text-ellipsis mt-20 mt-sm-15"> <div class="icon-box-1_block1__bJ25J"> <?php if ( $oContactInfo->type == 'email' ) : ?> <a href="mailto:<?php echo esc_attr($oContactInfo->link); ?>" target="<?php echo esc_attr($oContactInfo->target); ?>"> <?php elseif ( $oContactInfo->type == 'phone' ) : ?> <a href="tel:<?php echo esc_attr($oContactInfo->link); ?>" target="<?php echo esc_attr($oContactInfo->target); ?>"> <?php else: ?> <a href="<?php echo esc_attr($oContactInfo->link); ?>" target="<?php echo esc_attr($oContactInfo->target); ?>"> <?php endif; ?> <div class="icon-box-1_icon__3V5c0 rounded-circle"> <i class="<?php echo esc_attr($oContactInfo->icon); ?>"></i> </div> <div class="icon-box-1_text__3R39g"><?php echo esc_html($oContactInfo->info); ?></div> </a> </div> </div> <?php endforeach; ?> </div> </div> </div> <?php else: ?> <div> <?php endif; ?> <div class="col-md-8 col-lg-8"> <div class="content-box_module__333d9"> <header class="content-box_header__xPnGx clearfix"> <div class="wil-float-left"> <h4 class="content-box_title__1gBHS"><i class="la la-paper-plane"></i><span><?php echo esc_html($atts['contact_form_heading']); ?></span></h4> </div> </header> <div class="content-box_body__3tSRB"> <?php if ( !empty($atts['contact_form_7']) ){ $aParse = explode(':', $atts['contact_form_7']); echo do_shortcode("[contact-form-7 id='".$aParse[0]."']"); }else if (!empty($atts['contact_form_shortcode'])){ echo do_shortcode($atts['contact_form_shortcode']); }else{ esc_html_e('Please select the contact form.', 'wilcity-shortcodes'); } ?> </div> </div> </div> </div> <?php }
[+]
..
[-] wilcity_render_event_item.php
[edit]
[-] wilcity_render_team_intro_slider.php
[edit]
[-] wilcity_render_modern_term_boxes.php
[edit]
[-] wilcity_listing_slider_item.php
[edit]
[-] wilcity_render_author_slider.php
[edit]
[-] wilcity_render_term_box.php
[edit]
[-] wilcity_render_testimonial_item.php
[edit]
[-] wilcity_render_rectangle_term_boxes.php
[edit]
[-] wilcity_render_rectangle_term_box.php
[edit]
[-] wilcity_render_restaunrant_menu_item.php
[edit]
[-] wilcity_render_hero_search_form.php
[edit]
[-] wilcity_render_grid_post.php
[edit]
[-] wilcity_render_events_grid.php
[edit]
[-] wilcity_render_listings_tabs.php
[edit]
[-] wilcity_render_map.php
[edit]
[-] wilcity_render_modern_term_box.php
[edit]
[-] wilcity_render_contact_us.php
[edit]
[-] wilcity_render_hero.php
[edit]
[-] wilcity_render_restaurant_list_menu.php
[edit]
[-] wilcity_render_terms_slider.php
[edit]
[-] wilcity_terms_box.php
[edit]
[-] wilcity_render_image_box.php
[edit]
[-] wilcity_render_intro_box.php
[edit]
[-] wilcity_render_wiloke_wave.php
[edit]
[-] wilcity_render_restaurant_listing.php
[edit]
[-] wilcity_render_grid.php
[edit]
[-] wilcity_post_slider_item.php
[edit]
[-] wilcity_render_term_masonry_item.php
[edit]
[-] wilcity_render_slider.php
[edit]
[-] wilcity_render_team_intro_slider_item.php
[edit]
[-] wilcity_widget_list_style.php
[edit]
[-] wilcity_render_term_masonry_items.php
[edit]
[-] wilcity_render_grid_item.php
[edit]
[-] wilcity_render_box_icon.php
[edit]
[-] wilcity_render_new_grid.php
[edit]
[-] wilcity_render_heading_ribbon.php
[edit]
[-] wilcity_render_testimonials.php
[edit]
[-] wilcity_render_post_types.php
[edit]
[-] wilcity_event_slider_item.php
[edit]
[-] wilcity_render_heading.php
[edit]
[-] wilcity_render_term_boxes.php
[edit]
[-] wilcity_render_restaurant_listings.php
[edit]
[-] wilcity_render_full_width_list_item.php
[edit]