PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
core
<?php function wilcity_render_team_intro_slider_item($oInfo, $aArgs){ if ( $aArgs['get_by'] == 'custom' ){ if ( !empty($oInfo->social_networks) ){ $aParseSocial = explode(',', $oInfo->social_networks); $aSocialNetworks = array(); foreach ($aParseSocial as $rawSocial){ $rawSocial = trim($rawSocial); $aParseSocialItem = explode(':', $rawSocial); $aSocialNetworks[$aParseSocialItem[0]] = $aParseSocialItem[1]; } } } if ( isset($aArgs['pageBuilder']) && $aArgs['pageBuilder'] == 'elementor' && $aArgs['get_by'] == 'custom' ){ $picture = $oInfo->picture['url']; $avatar = $oInfo->avatar['url']; }else{ $picture = $oInfo->picture; $avatar = $oInfo->avatar; } $avatar = is_numeric($avatar) ? wp_get_attachment_image_url($avatar, array(100, 100)) : $avatar; $picture = is_numeric($picture) ? wp_get_attachment_image_url($picture, 'large') : $picture; ?> <!-- team_module__AckMk --> <div class="team_module__AckMk"> <header class="team_header__jAQl_ bg-cover" style="background-image: url('<?php echo esc_url($picture); ?>')"> <img src="<?php echo esc_url($picture); ?>" alt="<?php echo esc_attr($oInfo->display_name); ?>"/> </header> <div class="team_body__236m6"> <div class="team_thumb__ST807 bg-cover" style="background-image: url('<?php echo esc_url($avatar); ?>')"></div> <h2 class="team_name__2LMUU"><?php echo esc_html($oInfo->display_name); ?></h2><span class="team_work__2Fxrh"><?php echo esc_html($oInfo->position); ?></span> <div class="team_text__3qce9"><?php echo esc_html($oInfo->intro); ?></div> <!-- social-icon_module__HOrwr --> <?php if ( isset($aSocialNetworks) && !empty($aSocialNetworks) ) : ?> <div class="social-icon_module__HOrwr social-icon_style-2__17BFy"> <?php foreach ($aSocialNetworks as $name => $link): ?> <a class="social-icon_item__3SLnb" href="<?php echo esc_url($link); ?>"><i class="fa fa-<?php echo esc_attr($name); ?>"></i></a> <?php endforeach; ?> </div><!-- End / social-icon_module__HOrwr --> <?php endif; ?> </div> </div><!-- End / team_module__AckMk --> <?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]