Viewing File: /home/maglabs/valvtec1/wp-content/themes/indobi/inc/sections/team.php
<?php
$data = indobi_el()->merge_options([
'text_heading' => [],
'sub_heading' => [],
'posts_per_page' => [],
], $data);
?>
<!-- team-area -->
<section class="team-area2 fix p-relative pt-105 pb-80" style="background: #00173c;">
<div class="container">
<div class="row">
<div class="col-lg-12 p-relative">
<div class="section-title center-align mb-50 text-center wow fadeInDown animated" data-animation="fadeInDown" data-delay=".4s">
<h2>
<?php echo html_entity_decode($data['text_heading'])?>
</h2>
</div>
</div>
</div>
<div class="row team-active">
<?php $advanced= new wp_Query(array(
'post_type'=>'team',
'posts_per_page' => $data['posts_per_page'],
));
while( $advanced->have_posts() ) : $advanced->the_post();
$terms_area = get_the_terms(get_the_id(),'category');
$terms = array();
foreach($terms_area as $term) :
$terms[] = $term->slug;
?>
<?php endforeach; ?>
<div class="col-xl-4">
<div class="single-team mb-40" >
<div class="team-thumb">
<div class="brd">
<?php the_post_thumbnail(); ?>
</div>
</div>
<div class="team-info">
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
<p>
<?php
$teamposition = rwmb_meta('indobizc_post_team_postions');
echo html_entity_decode ($teamposition);
?>
</p>
<div class="team-social">
<?php
$postsocial = rwmb_meta('indobizc_post_social');
echo html_entity_decode ($postsocial);
?>
</div>
</div>
</div>
</div>
<?php endwhile; ?>
</div>
</div>
</section>
<!-- team-area-end -->
Back to Directory
File Manager