| 1 |
<div id="<?php echo $this->add_id(array('awsm-team',$id));?>" class="awsm-grid-wrapper"> |
| 2 |
<?php if ($team->have_posts()): ?> |
| 3 |
<div class="awsm-grid <?php echo $this->item_style($options);?>"> |
| 4 |
<?php |
| 5 |
while ($team->have_posts()): $team->the_post(); |
| 6 |
$teamdata = $this->get_options('awsm_team_member', $team->post->ID);?> |
| 7 |
<div id="<?php echo $this->add_id(array('awsm-member',$id,$team->post->ID));?>" class="awsm-grid-card"> |
| 8 |
<figure> |
| 9 |
<!-- <span class="awsm-grid-holder"> --> |
| 10 |
<img src="<?php echo $this->team_thumbnail($team->post->ID);?>" alt="<?php the_title();?>"> |
| 11 |
<figcaption> |
| 12 |
<div class="awsm-personal-info"> |
| 13 |
<h3><?php the_title();?></h3> |
| 14 |
<?php $this->checkprint('<span>%s</span>', $teamdata['awsm-team-designation']);?> |
| 15 |
</div> <!-- .awsm-personal-info --> |
| 16 |
<div class="awsm-contact-info"> |
| 17 |
<?php |
| 18 |
the_content(); |
| 19 |
include( $this->settings['plugin_path'].'templates/partials/social.php' ); |
| 20 |
?> |
| 21 |
</div> <!-- .awsm-contact-info --> |
| 22 |
</figcaption> |
| 23 |
<!-- </span> --> |
| 24 |
<!-- .awsm-grid-holder --> |
| 25 |
</figure> |
| 26 |
</div> |
| 27 |
<?php endwhile; wp_reset_postdata();?> |
| 28 |
</div><!-- .grid --> |
| 29 |
<?php endif;?> |
| 30 |
</div> |