????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././././home/tempvsty/peekmysite.com/wp-content/themes/CherryFramework/loop/ |
Upload File : |
<?php /* Loop Name: Single Team */ ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post();
$teampos = get_post_meta( $post->ID, 'my_team_pos', true );
$team_email = sanitize_email( get_post_meta( $post->ID, 'my_team_email', true ) );
$teaminfo = get_post_meta( $post->ID, 'my_team_info', true );
?>
<div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
<article class="team-holder single-post">
<div class="page-header">
<h1><?php the_title(); ?></h1>
<?php if ( isset($teampos) ) { ?>
<span class="page-desc"><?php echo esc_html( $teampos ); ?></span>
<?php } ?>
</div>
<?php if(has_post_thumbnail()) {
$thumb = get_post_thumbnail_id();
$img_url = wp_get_attachment_url( $thumb,'thumbnail'); //get img URL
$image = aq_resize( $img_url, 120, 120, true ); //resize & crop img
?>
<figure class="featured-thumbnail">
<img src="<?php echo $image ?>" alt="<?php the_title(); ?>" />
</figure>
<?php } ?>
<div class="team-content post-content">
<?php the_content(); ?>
<div class="clear"></div>
<?php if ( !empty( $team_email ) && is_email( $team_email ) ) {
echo '<p><span class="team-email"><a href="mailto:' . antispambot( $team_email, 1 ) . '">' . antispambot( $team_email ) . ' </a></span></p>';
} ?>
<?php if ( !empty( $teaminfo ) ) {
echo '<p><span class="team-info">' . esc_html( $teaminfo ) . '</span><p>';
} ?>
<?php cherry_get_post_networks() ?>
</div><!--.post-content-->
</article>
</div><!-- #post-## -->
<?php endwhile; /* end loop */ endif; ?>