PluginProbe
Easy Elements for Elementor – Addons & Website Templates / 1.4.7
Easy Elements for Elementor – Addons & Website Templates v1.4.7
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 / default.php

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

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