/home/awneajlw/public_html/decenttraders.online/wp-content/themes/minimalin/single-team.php
<?php get_header();
$data = \MINIMALIN\Includes\Classes\Common::instance()->data('single-team')->get(); 
do_action( 'minimalin_banner', $data )
?>

<?php while (have_posts()) : the_post(); ?>

<!--
=====================================================
    Team Details
=====================================================
-->

<!-- team-details -->
<section class="team-details">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-xl-6 col-lg-6 col-md-6 image-column">
                <?php if(has_post_thumbnail()):?>
                <div class="image-box">
                    <figure class="image image-1"><?php the_post_thumbnail('minimalin_370x505'); ?></figure>
                </div>
                <?php endif; ?>
            </div>
            <div class="col-xl-6 col-lg-6 col-md-6 content-column">
                <div class="content-box">
                    <h2><span><?php esc_html_e('Hi, I am', 'minimalin');?></span> <?php the_title(); ?></h2>
                    <span class="designation special-font"><?php echo (get_post_meta( get_the_id(), 'designation', true ));?></span>
                    <div class="text">
                        <?php the_content();?>                        
                    </div>
                    <div class="contact-inner">
                        <h4><?php esc_html_e('Contact me', 'minimalin');?></h4>
                        <h6><a href="mailto:<?php echo (get_post_meta( get_the_id(), 'team_email', true ));?>"><?php echo (get_post_meta( get_the_id(), 'team_email', true ));?></a></h6>
                        <?php
							$icons = get_post_meta(get_the_id(), 'team_social_media_tabs', true); if ($icons) : 
						?>
                        <ul class="social-links clearfix">
                        	<?php
								for ( $i=0; $i < count( $icons['select_social_media'] ); $i++ ) {
								$social_icon = ( isset( $icons['select_social_media'][$i] ) && !empty( $icons['select_social_media'][$i] ) ) ? $icons['select_social_media'][$i] : '';
								$social_link = ( isset( $icons['link_social_media'][$i] ) && !empty( $icons['link_social_media'][$i] ) ) ? $icons['link_social_media'][$i] : '';
							?>
							<li><a target="_blank" href="<?php echo esc_url($social_link); ?>"><span class="<?php echo esc_attr(str_replace("", " ", $social_icon)); ?>"></span></a></li>
							<?php } ?>
                        </ul>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- team-details end -->


<?php endwhile; ?>

<?php get_footer(); ?>