PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.6
ShopBuilder – WooCommerce Builder For Elementor v3.2.6
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
shopbuilder / templates / elementor / general / testimonial / layout4.php

layout4.php in ShopBuilder – WooCommerce Builder For Elementor 3.2.6, at templates/elementor/general/testimonial/layout4.php

71 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template: Testimonial
4 *
5 * @package RadiusTheme\SB
6 */
7
8 /**
9 * Template variables:
10 *
11 * @var $testimonial array
12 * @var $instance object
13 * @var $has_designation boolean
14 * @var $display_author_image boolean
15 * @var $display_quote_icon boolean
16 * @var $has_rating boolean
17 * @var $display_author_rating boolean
18 * @var $author_designation string
19 * @var $author_name string
20 * @var $author_description string
21 * @var $author_name_html_tag string
22 * @var $author_rating string
23 * @var $grid_classes string
24 * array
25 */
26
27 // Do not allow directly accessing this file.
28
29 use RadiusTheme\SB\Helpers\Fns;
30
31 if ( ! defined( 'ABSPATH' ) ) {
32 exit( 'This script cannot be accessed directly.' );
33 }
34 ?>
35 <div class="<?php echo esc_attr( $grid_classes ); ?>">
36 <div class="rtsb-testimonial-item">
37 <div class="rtsb-testimonial-content">
38 <?php if ( $has_rating ) { ?>
39 <div class="rtsb-rating">
40 <div class="rtsb-rating-inner">
41 <div class="rtsb-star-rating">
42 <span style="--rtsb-testimonial-rating:<?php echo esc_attr( $author_rating * 20 ); ?>%"></span>
43 </div>
44 </div>
45 </div>
46 <?php } ?>
47 <?php if ( $author_description ) { ?>
48 <div class="rtsb-testimonial-description">
49 <?php Fns::print_html( $author_description ); ?>
50 </div>
51 <?php } ?>
52 </div>
53 <div class="rtsb-testimonial-author">
54 <?php if ( $display_author_image ) { ?>
55 <div class="rtsb-testimonial-author-img">
56 <?php Fns::print_html( $instance->render_author_image( $testimonial ) ); ?>
57 </div>
58 <?php } ?>
59 <?php if ( $author_name ) { ?>
60 <<?php Fns::print_validated_html_tag( $author_name_html_tag ); ?> class="rtsb-testimonial-author-name rtsb-tag">
61 <?php Fns::print_html( $author_name ); ?>
62 </<?php Fns::print_validated_html_tag( $author_name_html_tag ); ?>>
63 <?php } ?>
64 <?php if ( $has_designation ) { ?>
65 <span class="rtsb-testimonial-author-designation"><?php Fns::print_html( $author_designation ); ?></span>
66 <?php } ?>
67 </div>
68 </div>
69 </div>
70
71