PluginProbe ʕ •ᴥ•ʔ
Spider Elements – Premium Elementor Widgets & Addons Library / 1.1.0
Spider Elements – Premium Elementor Widgets & Addons Library v1.1.0
trunk 1.0.0 1.1.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.7.0 1.8.0 1.9.0
spider-elements / widgets / templates / testimonials / testimonial-7.php
spider-elements / widgets / templates / testimonials Last commit date
testimonial-1.php 2 years ago testimonial-10.php 2 years ago testimonial-11.php 2 years ago testimonial-2.php 2 years ago testimonial-3.php 2 years ago testimonial-4.php 2 years ago testimonial-5.php 2 years ago testimonial-6.php 2 years ago testimonial-7.php 2 years ago testimonial-8.php 2 years ago testimonial-9.php 2 years ago
testimonial-7.php
77 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly.
4 }
5 ?>
6 <div class="feedback-section-five">
7 <div class="feedback-slider-one testimonial-slider-<?php echo esc_attr( $testimonial_id ); ?>">
8 <?php if ( ! empty( $testimonials6 ) ) {
9 foreach ( $testimonials6 as $item ) {
10 $rating_data = $this->get_rating( $item[ 'author_rating' ] );
11 $textual_rating = $rating_data[ 0 ] . '/' . $rating_data[ 1 ];
12 ?>
13 <div class="item elementor-repeater-item-<?php echo esc_attr( $item[ '_id' ] ); ?>">
14 <div class="feedback-block-one feedback-block-three">
15 <?php spel_dynamic_image( $item[ 'company_image' ], 'full', [ 'class' => 'quote-icon' ] ) ?>
16 <?php
17 if ( 'star_fontawesome' === $settings[ 'star_style' ] ) {
18 if ( 'outline' === $settings[ 'unmarked_star_style' ] ) {
19 $icon = '&#xE933;';
20 }
21 } elseif ( 'star_unicode' === $settings[ 'star_style' ] ) {
22 $icon = '&#9733;';
23
24 if ( 'outline' === $settings[ 'unmarked_star_style' ] ) {
25 $icon = '&#9734;';
26 }
27 }
28
29 $this->add_render_attribute( 'icon_wrapper', [
30 'class' => 'star-rating',
31 'title' => $textual_rating,
32 'itemscope' => '',
33 'itemprop' => 'reviewRating',
34 ] );
35
36 $schema_rating = '<span itemprop="ratingValue" class="elementor-screen-only">' . $textual_rating . '</span>';
37 $stars_element = '<div ' . $this->get_render_attribute_string( 'icon_wrapper' ) . '>' . $this->render_stars( $icon, $item[ 'author_rating' ] ) . ' ' . $schema_rating . '</div>';
38 ?>
39 <div class="review">
40 <?php if ( ! \Elementor\Utils::is_empty( $item[ 'author_rating_title' ] ) ) : ?>
41 <div class="text-md fw-500"><?php echo esc_html( $item[ 'author_rating_title' ] ); ?></div>
42 <?php endif; ?>
43
44 <?php if ( $testimonial_ratting_icon == 'yes' ) : ?>
45 <?php echo wp_kses_post($stars_element) ?>
46 <?php endif; ?>
47 </div>
48 <?php
49 if ( ! empty( $item[ 'review_content' ] ) ) { ?>
50 <h3><?php echo esc_html( $item[ 'review_content' ] ) ?></h3>
51 <?php
52 }
53 if ( ! empty( $item[ 'author_name' ] ) ) { ?>
54 <div class="block-footer ezd-d-flex ezd-align-items-center ezd-justify-content-between pt-35 lg-pt-10">
55 <div class="ezd-d-flex ezd-align-items-center">
56 <div class="name">
57 <?php echo esc_html( $item[ 'author_name' ] ); ?>
58 <span><?php echo esc_html( $item[ 'author_position' ] ); ?></span>
59 </div>
60 </div>
61 <?php spel_dynamic_image( $item[ 'author_image' ], 'full', [ 'class' => 'author-img ezd-rounded-circle' ] ) ?>
62 </div>
63 <?php
64 }
65 ?>
66 </div>
67 </div>
68 <?php
69 }
70 }
71 ?>
72 </div>
73 <ul class="slider-arrows slick-arrow-one d-flex justify-content-center">
74 <li class="prev_f"><i class="arrow_left"></i></li>
75 <li class="next_f"><i class="arrow_right"></i></li>
76 </ul>
77 </div>