%PDF- %PDF-
Direktori : /var/www/html/higroup/wp-content/themes/evenex/template-parts/blog/contents/ |
Current File : /var/www/html/higroup/wp-content/themes/evenex/template-parts/blog/contents/content-speakers.php |
<?php $speaker_designation = get_field('speaker_designation'); $speaker_comapny_name = get_field('speaker_comapny_name'); $speaker_photo = get_field('speaker_profile_photo'); $speaker_color = get_field('speaker_color'); $speaker_socials = get_field('speaker_social_media'); $speaker_color_value = $speaker_color == '' ? '#5dbf7c' : $speaker_color; ?> <div class="col-lg-4"> <div class="spekaer-box-style" style="--speaker-color: <?php echo esc_attr($speaker_color_value);?>"> <?php if ($speaker_photo != '') { ?> <figure class="speaker-image"> <a href="<?php echo esc_url(get_the_permalink()); ?>"> <img src="<?php echo esc_url($speaker_photo['url']); ?> " alt="<?php esc_attr(the_title_attribute()); ?>"> <span class="speaker-hover-btn"><?php echo esc_html__('Read More', 'evenex');?></span> </a> </figure><!-- speaker photo --> <?php } ?> <div class="speaker-footer-content"> <h2 class="speaker-title"> <a href="<?php echo esc_url(get_the_permalink()); ?>"><?php echo esc_html(get_the_title()); ?></a> </h2> <?php if ($speaker_designation != '') { ?> <p><?php echo esc_html($speaker_designation); ?></p> <?php } ?> <?php if ($speaker_comapny_name != '') { ?> <p><?php echo esc_html($speaker_comapny_name); ?></p> <?php } ?> <div class="text-right"> <div class="details-btn-wraper"> <span class="round-icon-btn"><i class="xs-icon xs-icon-plus"></i></span> <ul class="speakers-social-lists"> <?php foreach ($speaker_socials as $speaker_social) { ?> <li> <a href="<?php echo esc_url($speaker_social['website_link']); ?>"><i class="<?php echo esc_attr($speaker_social['social_icon']); ?>"></i></a> </li> <?php } ?> </ul> </div> </div> </div> </div> </div>