PluginProbe
Easy Elements for Elementor – Addons & Website Templates / 1.4.8
Easy Elements for Elementor – Addons & Website Templates v1.4.8
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 / testimonials-grid / skins / skin5.php

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

65 lines 2.5 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
7 <div class="ee--tstml-inner-wrap <?php echo esc_attr($skin); ?>">
8 <?php if ( ! empty( $logo_data ) ) : ?>
9 <div class="eel-company-logo">
10 <img
11 src="<?php echo esc_url( $logo_data[0] ); ?>"
12 width="<?php echo esc_attr( $logo_data[1] ); ?>"
13 height="<?php echo esc_attr( $logo_data[2] ); ?>"
14 alt="<?php echo esc_attr( $logo_alt ); ?>"
15 title="<?php echo esc_attr( $logo_title ); ?>"
16 loading="lazy"
17 decoding="async"
18 fetchpriority="low"
19 >
20 </div>
21 <?php endif; ?>
22
23 <?php if ( ! empty( $item['description'] ) ) : ?>
24 <div class="eel-description"><?php echo esc_html( $item['description'] ); ?></div>
25 <?php endif; ?>
26 <div class="eel-author-wrap">
27 <?php
28 if ( $settings['show_image'] === 'yes' && $image_data ) : ?>
29 <div class="eel-picture">
30 <img
31 src="<?php echo esc_url( $image_data[0] ); ?>"
32 width="<?php echo esc_attr( $image_data[1] ); ?>"
33 height="<?php echo esc_attr( $image_data[2] ); ?>"
34 alt="<?php echo esc_attr( $alt ); ?>"
35 title="<?php echo esc_attr( $title ); ?>"
36 loading="lazy"
37 decoding="async" fetchpriority="low">
38 </div>
39 <?php endif; ?>
40
41 <div class="eel-author">
42 <?php if ( ! empty( $item['name'] ) ) : ?>
43 <div class="eel-name"><?php echo esc_html( $item['name'] ); ?></div>
44 <?php endif; ?>
45 </div>
46
47 <?php if ( ! empty( $item['rating'] ) && $settings['show_rating'] === 'yes' ) : ?>
48 <div class="eel-rating" aria-label="Rating: <?php echo intval( $item['rating'] ); ?> out of 5">
49 <?php
50 $easyel_rating = intval( $item['rating'] );
51 for ( $easyel_i = 1; $easyel_i <= 5; $easyel_i++ ) {
52 echo '<span class="star' . ( $easyel_i <= $easyel_rating ? ' filled' : '' ) . '">' . ( $easyel_i <= $easyel_rating ? '�
53 ' : '' ) . '</span>';
54 }
55 ?>
56 </div>
57 <?php endif; ?>
58 <div class="eel-rating">
59 <?php if ( ! empty( $item['designation'] ) ) : ?>
60 <em class="eel-designation"><?php echo esc_html( $item['designation'] ); ?></em>
61 <?php endif; ?>
62 </div>
63 </div>
64 </div>
65