PluginProbe
Easy Elements for Elementor – Addons & Website Templates / 1.5.0
Easy Elements for Elementor – Addons & Website Templates v1.5.0
1.5.3 1.5.2 1.5.1 1.5.0 1.4.9 1.4.6 1.4.7 1.4.8 1.4.5 1.4.4 1.4.3 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 All 47 releases
easy-elements / widgets / team-grid / skins / skin5.php

skin5.php in Easy Elements for Elementor – Addons & Website Templates 1.5.0, at widgets/team-grid/skins/skin5.php

93 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4 }
5
6 $easyel_email = $settings['team_email'] ?? '';
7 $easyel_phone = $settings['team_phone'] ?? '';
8 $easyel_show_contact = ! empty( $settings['show_contact_info'] ) && 'yes' === $settings['show_contact_info'] && ( $easyel_email || $easyel_phone );
9 ?>
10 <div class="grid-item">
11 <div class="ee--team-img skin5">
12 <?php if ( $image_data ) : ?>
13 <div class="eel-team-img-area">
14 <?php if ( $action_type === 'link' && $link ) : ?>
15 <a href="<?php echo esc_url( $link ); ?>"
16 <?php if ( $target ) : ?>target="<?php echo esc_attr( $target ); ?>"<?php endif; ?>
17 <?php if ( $nofollow ) : ?>rel="<?php echo esc_attr( $nofollow ); ?>"<?php endif; ?>>
18 <?php elseif ( $action_type === 'popup' ) : ?>
19 <a href="#<?php echo esc_attr( $unique_id ); ?>" class="eel-popup-trigger" data-popup-id="<?php echo esc_attr( $unique_id ); ?>">
20 <?php endif; ?>
21 <div class="eel-team-img-box">
22 <img class="eel-team-img"
23 src="<?php echo esc_url( $image_data[0] ); ?>"
24 width="<?php echo esc_attr( $image_data[1] ); ?>"
25 height="<?php echo esc_attr( $image_data[2] ); ?>"
26 alt="<?php echo esc_attr( $alt ); ?>"
27 title="<?php echo esc_attr( $title ); ?>"
28 loading="lazy"
29 decoding="async" fetchpriority="<?php echo esc_attr( $fetchpriority ); ?>">
30 <div class="eel-image-below-bg"></div>
31 <div class="eel-image-overlay"></div>
32 <div class="eel-image-content <?php echo $details ? 'has-description' : ''; ?>">
33 <?php if ( ! empty( $details ) ) : ?>
34 <div class="eel-description"><?php echo nl2br( esc_html( $details ) ); ?></div>
35 <?php endif; ?>
36 </div>
37 </div>
38 <?php if ( ( $action_type === 'link' && $link ) || $action_type === 'popup' ) : ?>
39 </a>
40 <?php endif; ?>
41
42 <div class="eel-name-deg-wrap">
43 <div class="eel-author-content">
44 <?php if ( ! empty( $name ) ) :
45 echo wp_kses_post( $name );
46 endif; ?>
47 <?php if ( ! empty( $designation ) ) : ?>
48 <div class="eel-designation"><?php echo esc_html( $designation ); ?></div>
49 <?php endif; ?>
50 </div>
51 <?php if ( $easyel_show_contact ) : ?>
52 <div class="eel-author-contact">
53 <div class="eel-contact-inner">
54 <?php if ( $easyel_email ) : ?>
55 <div class="eel-team-email eel-contact-item">
56 <div class="eel-contact-icon">
57 <?php
58 if ( ! empty( $settings['team_email_icon']['value'] ) ) {
59 \Elementor\Icons_Manager::render_icon(
60 $settings['team_email_icon'],
61 [ 'aria-hidden' => 'true' ]
62 );
63 }
64 ?>
65 </div>
66 <?php echo esc_html( $easyel_email ); ?>
67 </div>
68 <?php endif; ?>
69
70 <?php if ( $easyel_phone ) : ?>
71 <div class="eel-team-phone eel-contact-item">
72 <div class="eel-contact-icon">
73 <?php
74 if ( ! empty( $settings['team_phone_icon']['value'] ) ) {
75 \Elementor\Icons_Manager::render_icon(
76 $settings['team_phone_icon'],
77 [ 'aria-hidden' => 'true' ]
78 );
79 }
80 ?>
81 </div>
82 <?php echo esc_html( $easyel_phone ); ?>
83 </div>
84 <?php endif; ?>
85 </div>
86 </div>
87 <?php endif; ?>
88 </div>
89 </div>
90 <?php endif; ?>
91 </div>
92 </div>
93