can_use_premium_code() ){ if(1===$section_enable ) : ?>

'page', 'posts_per_page'=> absint( $total_items ), 'post__in' => $team_posts, 'orderby' =>'post__in', ); elseif( $content_type == 'team_post' ) : for( $i=1; $i<=$total_items; $i++ ) : $team_posts[] = get_theme_mod( 'team_post_'.$i ); endfor; $args = array ( 'post_type' => 'post', 'posts_per_page'=> absint( $total_items ), 'post__in' => $team_posts, 'orderby' =>'post__in', 'ignore_sticky_posts' => true, ); endif; $post_loop = new WP_Query($args); if ( $post_loop->have_posts() ) : ?>
'; $i= 0; while ($post_loop->have_posts()) : $post_loop->the_post(); $i++; $facebook_url = get_theme_mod( 'facebook_url_'.$i); $twitter_url = get_theme_mod( 'twitter_url_'.$i); $linkedin_url = get_theme_mod( 'linkedin_url_'.$i); $instagram_url = get_theme_mod( 'instagram_url_'.$i); ?>
<?php the_title(); ?>
'; ?>
'; foreach( $teams as $team ){ $image = ( isset( $team['image'] ) && $team['image'] ) ? $team['image'] : ''; $name = ( isset( $team['name'] ) && $team['name'] ) ? $team['name'] : ''; $position = ( isset( $team['position'] ) && $team['position'] ) ? $team['position'] : ''; $facebook_link = ( isset( $team['facebook_link'] ) && $team['facebook_link'] ) ? $team['facebook_link'] : ''; $twitter_link = ( isset( $team['twitter_link'] ) && $team['twitter_link'] ) ? $team['twitter_link'] : ''; $instagram_link = ( isset( $team['instagram_link'] ) && $team['instagram_link'] ) ? $team['instagram_link'] : ''; $linkedin_link = ( isset( $team['linkedin_link'] ) && $team['linkedin_link'] ) ? $team['linkedin_link'] : ''; ?>
<?php echo esc_html($name); ?>

'; ?>