Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
lynchestinegroup.com
/
wp-content
/
themes
/
koncrete
/
template-parts
/
team
/
Editing: content-team-1.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ namespace radiustheme\Koncrete; $prefix = Constants::$theme_prefix; $thumb_size = "{$prefix}-size4"; $post_class = Helper::has_sidebar() ? 'col-md-6 col-lg-4' : 'col-md-6 col-lg-4 col-xl-3'; ?> <section class="team-wrap-layout3"> <div class=""> <div class="row gutters-10"> <?php while ( have_posts() ) : the_post(); ?> <?php $thumb = Helper::generate_thumbnail_image( get_the_ID(), $thumb_size, true ); $designation = get_post_meta( get_the_ID(), "{$prefix}_team_designation", true ); $socials = get_post_meta( get_the_ID(), "{$prefix}_team_socials", true ); ?> <div id="post-<?php the_ID(); ?>" <?php post_class($post_class); ?>> <div class="team-box-layout2"> <?php if ($thumb): ?> <div class="item-img-wrapper d-flex justify-content-center p-4"> <div class="item-img"> <img src="<?php echo esc_url($thumb); ?>" alt="<?php the_title_attribute(); ?>" class="img-fluid"> </div> </div> <?php endif ?> <div class="item-content-team"> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <div class="subtitle"><?php echo esc_html($designation) ?></div> <p> <?php $content = Helper::generate_excerpt(get_post(), 10); echo esc_html($content); ?> </p> <?php if (count($socials) ): ?> <ul class="item-social"> <?php foreach (Helper::team_social_infos() as $social_info): ?> <?php if ($link = $socials[$social_info['key']]): ?> <li> <a href="<?php echo esc_url($link); ?>"> <i class="<?php echo esc_attr( $social_info['icon'] ); ?>"></i> </a> </li> <?php endif ?> <?php endforeach ?> </ul> <?php endif ?> </div> </div> </div> <?php endwhile; ?> </div> <div class="pagination-layout1"> <?php get_template_part( 'template-parts/pagination' ) ?> </div> </div> </section>
Save
Cancel