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 / skin2.php

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

122 lines 7.3 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 <div class="grid-item">
7 <div class="ee--team-img">
8 <?php if ( $image_data ) : ?>
9 <div class="eel-team-img-area">
10 <?php if ( $action_type === 'link' && $link ) : ?>
11 <a href="<?php echo esc_url( $link ); ?>"
12 <?php if ( $target ) : ?>target="<?php echo esc_attr( $target ); ?>"<?php endif; ?>
13 <?php if ( $nofollow ) : ?>rel="<?php echo esc_attr( $nofollow ); ?>"<?php endif; ?>>
14 <?php elseif ( $action_type === 'popup' ) : ?>
15 <a href="#<?php echo esc_attr($unique_id); ?>" class="eel-popup-trigger" data-popup-id="<?php echo esc_attr($unique_id); ?>">
16 <?php endif; ?>
17 <div class="eel-team-img-box">
18 <img class="eel-team-img"
19 src="<?php echo esc_url( $image_data[0] ); ?>"
20 width="<?php echo esc_attr( $image_data[1] ); ?>"
21 height="<?php echo esc_attr( $image_data[2] ); ?>"
22 alt="<?php echo esc_attr( $alt ); ?>"
23 title="<?php echo esc_attr( $title ); ?>"
24 loading="lazy"
25 decoding="async" fetchpriority="<?php echo esc_attr( $fetchpriority ); ?>">
26 <div class="eel-image-below-bg"></div>
27 <div class="eel-image-overlay"></div>
28 </div>
29 <?php if ( ($action_type === 'link' && $link) || $action_type === 'popup' ) : ?>
30 </a>
31 <?php endif; ?>
32 <?php if($settings['content_show'] == 'inside'):?>
33 <div class="eel-name-deg-wrap <?php echo esc_attr( $settings['content_show'] )?>">
34 <?php if ( ! empty( $name ) ) :
35 echo wp_kses_post( $name );
36 endif; ?>
37 <?php if ( ! empty( $designation ) ) : ?>
38 <div class="eel-designation"><?php echo esc_html( $designation ); ?></div>
39 <?php endif; ?>
40 <?php if ( ! empty( $details ) ) : ?>
41 <div class="eel-team-description"><?php echo nl2br( esc_html( $details ) ); ?></div>
42 <?php endif; ?>
43 <?php if ( $settings['social_links'] && $settings['show_social_icon'] == 'yes' && $settings['social_icon_position'] == 'default' ): ?>
44 <div class="eel-team-grid-social <?php echo esc_attr( $settings['social_icon_position'].' '.$settings['social_icon_show'] )?>">
45 <?php if( $settings['social_icon_show'] =='hover_show' && !empty( $settings['social_hover_icon']['value']) ): ?>
46 <div class="eel-team-social-hover">
47 <a href="#">
48 <?php \Elementor\Icons_Manager::render_icon( $settings['social_hover_icon'], [ 'aria-hidden' => 'true' ] ); ?>
49 </a>
50 </div>
51 <?php endif;?>
52 <ul>
53 <?php foreach ( $settings['social_links'] as $easyel_item ):?>
54 <li>
55 <a href="<?php echo esc_attr( $easyel_item['link_url']['url'] )?>">
56 <?php \Elementor\Icons_Manager::render_icon( $easyel_item['icon'], [ 'aria-hidden' => 'true' ] ); ?>
57 </a>
58 </li>
59 <?php endforeach; ?>
60 </ul>
61 </div>
62 <?php endif; ?>
63 </div>
64 <?php endif; ?>
65 </div>
66 <?php endif; ?>
67 <?php if($settings['content_show'] != 'inside'):?>
68 <div class="eel-name-deg-wrap">
69 <?php if ( ! empty( $name ) ) :
70 echo wp_kses_post( $name );
71 endif; ?>
72 <?php if ( ! empty( $designation ) ) : ?>
73 <div class="eel-designation"><?php echo esc_html( $designation ); ?></div>
74 <?php endif; ?>
75 <?php if ( ! empty( $details ) ) : ?>
76 <div class="eel-team-description"><?php echo nl2br( esc_html( $details ) ); ?></div>
77 <?php endif; ?>
78 <?php if ( $settings['social_links'] && $settings['show_social_icon'] == 'yes' && $settings['social_icon_position'] == 'default' ): ?>
79 <div class="eel-team-grid-social <?php echo esc_attr( $settings['social_icon_position'].' '.$settings['social_icon_show'] )?>">
80 <?php if( $settings['social_icon_show'] =='hover_show' && !empty( $settings['social_hover_icon']['value']) ): ?>
81 <div class="eel-team-social-hover">
82 <a href="#">
83 <?php \Elementor\Icons_Manager::render_icon( $settings['social_hover_icon'], [ 'aria-hidden' => 'true' ] ); ?>
84 </a>
85 </div>
86 <?php endif;?>
87 <ul>
88 <?php foreach ( $settings['social_links'] as $easyel_item ):?>
89 <li>
90 <a href="<?php echo esc_attr( $easyel_item['link_url']['url'] )?>">
91 <?php \Elementor\Icons_Manager::render_icon( $easyel_item['icon'], [ 'aria-hidden' => 'true' ] ); ?>
92 </a>
93 </li>
94 <?php endforeach; ?>
95 </ul>
96 </div>
97 <?php endif; ?>
98 </div>
99 <?php endif; ?>
100 <?php if ( $settings['social_links'] && $settings['show_social_icon'] == 'yes' && $settings['social_icon_position'] != 'default' ): ?>
101 <div class="eel-team-grid-social <?php echo esc_attr( $settings['social_icon_position'].' '.$settings['social_icon_show'] )?>">
102 <?php if( $settings['social_icon_show'] =='hover_show' && !empty( $settings['social_hover_icon']['value']) ): ?>
103 <div class="eel-team-social-hover">
104 <a href="#">
105 <?php \Elementor\Icons_Manager::render_icon( $settings['social_hover_icon'], [ 'aria-hidden' => 'true' ] ); ?>
106 </a>
107 </div>
108 <?php endif;?>
109 <ul>
110 <?php foreach ( $settings['social_links'] as $easyel_item ):?>
111 <li>
112 <a href="<?php echo esc_attr( $easyel_item['link_url']['url'] )?>">
113 <?php \Elementor\Icons_Manager::render_icon( $easyel_item['icon'], [ 'aria-hidden' => 'true' ] ); ?>
114 </a>
115 </li>
116 <?php endforeach; ?>
117 </ul>
118 </div>
119 <?php endif; ?>
120 </div>
121 </div>
122