PluginProbe
AWSM Team – Team Showcase Plugin / trunk
AWSM Team – Team Showcase Plugin vtrunk
trunk 1.0 1.1 1.1.2 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4
awsm-team / templates / list.php

list.php in AWSM Team – Team Showcase Plugin trunk, at templates/list.php

42 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * List Preset Template.
4 *
5 * @package awsm-team
6 */
7
8 ?>
9 <div id="<?php echo esc_attr( $this->add_id( array( 'awsm-team', $id ) ) ); ?>" class="awsm-grid-wrapper">
10 <?php if ( $team->have_posts() ) : ?>
11 <div class="awsm-grid <?php echo esc_attr( $this->item_style( $options ) ); ?>">
12 <?php
13 while ( $team->have_posts() ) :
14 $team->the_post();
15 $teamdata = $this->get_options( 'awsm_team_member', $team->post->ID );
16 ?>
17 <div id="<?php echo esc_attr( $this->add_id( array( 'awsm-member', $id, $team->post->ID ) ) ); ?>" class="awsm-grid-card">
18 <figure>
19 <?php echo $this->get_team_thumbnail( $team->post->ID ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
20 <figcaption>
21 <div class="awsm-personal-info">
22 <h3><?php the_title(); ?></h3>
23 <?php $this->checkprint( '<span>%s</span>', $teamdata['awsm-team-designation'] ); ?>
24 </div> <!-- .awsm-personal-info -->
25 <div class="awsm-contact-info">
26 <?php
27 the_content();
28 include $this->settings['plugin_path'] . 'templates/partials/social.php';
29 ?>
30 </div> <!-- .awsm-contact-info -->
31 </figcaption>
32 <!-- </span> -->
33 </figure>
34 </div>
35 <?php
36 endwhile;
37 wp_reset_postdata();
38 ?>
39 </div><!-- .grid -->
40 <?php endif; ?>
41 </div>
42