Real Testimonials - Version 2.5.2

Version Description

  • Mar 05, 2022 =
  • New: Gutenberg Block has been added to insert the shortcode.
Download this release

Release Info

Developer shapedplugin
Plugin Icon 128x128 Real Testimonials
Version 2.5.2
Comparing to
See all releases

Code changes from version 2.5.1 to 2.5.2

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shapedplugin.com/donate
4
  Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews, real testimonials
5
  Requires at least: 4.0
6
  Tested up to: 5.9
7
- Stable tag: 2.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -318,6 +318,9 @@ Thank you!
318
 
319
  == Changelog ==
320
 
 
 
 
321
  = 2.5.1 - Feb 24, 2022 =
322
  * Fix: Video embedding in testimonial content issue.
323
  * Removed: Setting menu link from admin tap bar.
4
  Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews, real testimonials
5
  Requires at least: 4.0
6
  Tested up to: 5.9
7
+ Stable tag: 2.5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
318
 
319
  == Changelog ==
320
 
321
+ = 2.5.2 - Mar 05, 2022 =
322
+ * New: Gutenberg Block has been added to insert the shortcode.
323
+
324
  = 2.5.1 - Feb 24, 2022 =
325
  * Fix: Video embedding in testimonial content issue.
326
  * Removed: Setting menu link from admin tap bar.
src/Admin/GutenbergBlock/Sp_Testimonial_Free_Gutenberg_Block_Init.php ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace ShapedPlugin\TestimonialFree\Admin\GutenbergBlock;
4
+
5
+ /**
6
+ * The plugin gutenberg block Initializer.
7
+ *
8
+ * @link https://shapedplugin.com/
9
+ * @since 2.5.1
10
+ *
11
+ * @package testimonial_free
12
+ * @subpackage testimonial_free/Admin
13
+ * @author ShapedPlugin <support@shapedplugin.com>
14
+ */
15
+
16
+ // Exit if accessed directly.
17
+ if ( ! defined( 'ABSPATH' ) ) {
18
+ exit;
19
+ }
20
+
21
+ if ( ! class_exists( 'Sp_Testimonial_Free_Gutenberg_Block_Init' ) ) {
22
+ /**
23
+ * Sp_Testimonial_free_Gutenberg_Block_Init class.
24
+ */
25
+ class Sp_Testimonial_Free_Gutenberg_Block_Init {
26
+ /**
27
+ * Script and style suffix
28
+ *
29
+ * @since 2.5.3
30
+ * @access protected
31
+ * @var string
32
+ */
33
+ protected $suffix;
34
+ /**
35
+ * Custom Gutenberg Block Initializer.
36
+ */
37
+ public function __construct() {
38
+ $this->suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG || defined( 'WP_DEBUG' ) && WP_DEBUG ? '' : '.min';
39
+ add_action( 'init', array( $this, 'sptf_gutenberg_shortcode_block' ) );
40
+ add_action( 'enqueue_block_editor_assets', array( $this, 'sptf_block_editor_assets' ) );
41
+ }
42
+
43
+ /**
44
+ * Register block editor script for backend.
45
+ */
46
+ public function sptf_block_editor_assets() {
47
+ wp_enqueue_script(
48
+ 'sp-testimonial-free-shortcode-block',
49
+ plugins_url( '/GutenbergBlock/build/index.js', dirname( __FILE__ ) ),
50
+ array( 'jquery', 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components' ),
51
+ SP_TFREE_VERSION,
52
+ true
53
+ );
54
+
55
+ /**
56
+ * Register block editor css file enqueue for backend.
57
+ */
58
+
59
+ $setting_options = get_option( 'sp_testimonial_pro_options' );
60
+ $dequeue_slick_css = isset( $setting_options['tf_dequeue_slick_css'] ) ? $setting_options['tf_dequeue_slick_css'] : true;
61
+ $dequeue_fa_css = isset( $setting_options['tf_dequeue_fa_css'] ) ? $setting_options['tf_dequeue_fa_css'] : true;
62
+ $custom_css = isset( $setting_options['custom_css'] ) ? $setting_options['custom_css'] : '';
63
+ // CSS Files.
64
+ if ( $dequeue_slick_css ) {
65
+ wp_enqueue_style( 'tfree-slick', SP_TFREE_URL . 'Frontend/assets/css/slick.min.css', array(), SP_TFREE_VERSION );
66
+ }
67
+ if ( $dequeue_fa_css ) {
68
+ wp_enqueue_style( 'tfree-font-awesome', SP_TFREE_URL . 'Frontend/assets/css/font-awesome.min.css', array(), SP_TFREE_VERSION );
69
+ }
70
+ wp_enqueue_style( 'tfree-deprecated-style', SP_TFREE_URL . 'Frontend/assets/css/deprecated-style.min.css', array(), SP_TFREE_VERSION );
71
+ wp_enqueue_style( 'tfree-style', SP_TFREE_URL . 'Frontend/assets/css/style.min.css', array(), SP_TFREE_VERSION );
72
+
73
+ }
74
+ /**
75
+ * Shortcode list.
76
+ *
77
+ * @return array
78
+ */
79
+ public function sptf_post_list() {
80
+ $shortcodes = get_posts(
81
+ array(
82
+ 'post_type' => 'spt_shortcodes',
83
+ 'post_status' => 'publish',
84
+ 'posts_per_page' => 9999,
85
+ )
86
+ );
87
+
88
+ if ( count( $shortcodes ) < 1 ) {
89
+ return array();
90
+ }
91
+
92
+ return array_map(
93
+ function ( $shortcode ) {
94
+ return (object) array(
95
+ 'id' => absint( $shortcode->ID ),
96
+ 'title' => esc_html( $shortcode->post_title ),
97
+ );
98
+ },
99
+ $shortcodes
100
+ );
101
+ }
102
+
103
+ /**
104
+ * Register Gutenberg shortcode block.
105
+ */
106
+ public function sptf_gutenberg_shortcode_block() {
107
+ /**
108
+ * Register block editor js file enqueue for backend.
109
+ */
110
+ wp_register_script( 'tfree-slick-min-js', SP_TFREE_URL . 'Frontend/assets/js/slick.min.js', array( 'jquery' ), SP_TFREE_VERSION, true );
111
+ wp_register_script( 'tfree-slick-active', SP_TFREE_URL . 'Frontend/assets/js/sp-slick-active.min.js', array( 'jquery' ), SP_TFREE_VERSION, true );
112
+
113
+ wp_localize_script(
114
+ 'tfree-slick-active',
115
+ 'sp_testimonial_free',
116
+ array(
117
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
118
+ 'url' => esc_url( SP_TFREE_URL ),
119
+ 'loadScript' => SP_TFREE_URL . 'Frontend/assets/js/sp-slick-active.min.js',
120
+ 'link' => esc_url( admin_url( 'post-new.php?post_type=spt_shortcodes' ) ),
121
+ 'shortCodeList' => $this->sptf_post_list(),
122
+ )
123
+ );
124
+ /**
125
+ * Register Gutenberg block on server-side.
126
+ */
127
+ register_block_type(
128
+ 'sp-testimonial-free/shortcode',
129
+ array(
130
+ 'attributes' => array(
131
+ 'shortcode' => array(
132
+ 'type' => 'string',
133
+ 'default' => '',
134
+ ),
135
+ 'showInputShortcode' => array(
136
+ 'type' => 'boolean',
137
+ 'default' => true,
138
+ ),
139
+ 'preview' => array(
140
+ 'type' => 'boolean',
141
+ 'default' => false,
142
+ ),
143
+ 'is_admin' => array(
144
+ 'type' => 'boolean',
145
+ 'default' => is_admin(),
146
+ ),
147
+ ),
148
+ 'example' => array(
149
+ 'attributes' => array(
150
+ 'preview' => true,
151
+ ),
152
+ ),
153
+ // Enqueue blocks.editor.build.js in the editor only.
154
+ 'editor_script' => array(
155
+ 'tfree-slick-min-js',
156
+ 'tfree-slick-active',
157
+ ),
158
+ // Enqueue blocks.editor.build.css in the editor only.
159
+ 'editor_style' => array(),
160
+ 'render_callback' => array( $this, 'sp_testimonial_free_render_shortcode' ),
161
+ )
162
+ );
163
+ }
164
+
165
+ /**
166
+ * Render callback.
167
+ *
168
+ * @param string $attributes Shortcode.
169
+ * @return string
170
+ */
171
+ public function sp_testimonial_free_render_shortcode( $attributes ) {
172
+ $class_name = '';
173
+ if ( ! empty( $attributes['className'] ) ) {
174
+ $class_name = 'class="' . $attributes['className'] . '"';
175
+ }
176
+
177
+ if ( ! $attributes['is_admin'] ) {
178
+ return '<div class="' . $class_name . '">' . do_shortcode( '[sp_testimonial id="' . sanitize_text_field( $attributes['shortcode'] ) . '"]' ) . '</div>';
179
+ }
180
+
181
+ $post_id = $attributes['shortcode'];
182
+ $outline = '';
183
+ $setting_options = get_option( 'sp_testimonial_pro_options' );
184
+ $shortcode_data = get_post_meta( $post_id, 'sp_tpro_shortcode_options', true );
185
+ $custom_css = isset( $setting_options['custom_css'] ) ? $setting_options['custom_css'] : '';
186
+ include SP_TFREE_PATH . 'Frontend/Views/partials/dynamic-style.php';
187
+ if ( ! empty( $custom_css ) ) {
188
+ $outline .= $custom_css;
189
+ }
190
+ $style = '<style>' . $outline . '</style>';
191
+
192
+ return $style . '<div id="' . uniqid() . '" class="' . $class_name . '">' . do_shortcode( '[sp_testimonial id="' . sanitize_text_field( $attributes['shortcode'] ) . '"]' ) . '</div>';
193
+ }
194
+ }
195
+ }
src/Admin/GutenbergBlock/assets/real-testimonials-logo.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:v="https://vecta.io/nano" width="50" height="37px" viewBox="0"><path d="M43.7 0H25.4c-1.2 0-2.1 1-2.1 2.1v9.4c0 1.2 1 2.1 2.1 2.1H27v3.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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 800 400" style="enable-background:new 0 0 800 400;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#F1F0F0;}
7
+ .st1{font-family:'Lato-Regular';}
8
+ .st2{font-size:14.9836px;}
9
+ .st3{fill:#FFAE04;}
10
+ .st4{fill:#454545;}
11
+ .st5{fill:#DDDDDD;}
12
+ .st6{clip-path:url(#SVGID_00000003824958074306133630000001819006103956741545_);fill:#DDDDDD;}
13
+ .st7{clip-path:url(#SVGID_00000088840730293719118230000003659760275026017426_);}
14
+ .st8{fill-rule:evenodd;clip-rule:evenodd;fill:#F5BE92;}
15
+ .st9{fill-rule:evenodd;clip-rule:evenodd;fill:#92653D;}
16
+
17
+ .st10{fill-rule:evenodd;clip-rule:evenodd;fill:#4C9DD2;stroke:#4C9DD2;stroke-width:1.084;stroke-linejoin:round;stroke-miterlimit:10;}
18
+ .st11{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;stroke:#FFFFFF;stroke-width:2;stroke-miterlimit:10;}
19
+ .st12{fill:#92653D;}
20
+ .st13{fill:#FFFFFF;}
21
+ .st14{fill:url(#SVGID_00000064338656314452411860000017495436709136342961_);}
22
+ .st15{fill:#624A2E;}
23
+ .st16{fill:url(#SVGID_00000099622314584637638780000012620157537881258914_);}
24
+ .st17{fill:#E48F67;}
25
+ .st18{fill-rule:evenodd;clip-rule:evenodd;fill:#0A6F90;}
26
+ .st19{font-family:'Lato-Heavy';}
27
+ .st20{font-size:13.9756px;}
28
+ .st21{font-family:'Lato-Bold';}
29
+ </style>
30
+ <rect class="st0" width="800" height="400"/>
31
+ <text transform="matrix(1 0 0 1 120.5981 193.1677)" class="st1 st2">I was looking for a really good testimonial plugin for our business website and was not</text>
32
+ <text transform="matrix(1 0 0 1 122.1704 213.1701)" class="st1 st2">having any luck finding one I liked or fulfilled our requirements. I was about to give up</text>
33
+ <text transform="matrix(1 0 0 1 133.4385 233.0851)" class="st1 st2">and then I came across Testimonial-Best Testimonials Showcase Plugin for Word</text>
34
+ <text transform="matrix(1 0 0 1 656.6494 233.0851)" class="st1 st2">-</text>
35
+ <text transform="matrix(1 0 0 1 214.6714 253.0881)" class="st1 st2">Press. I bought the best testimonial plugin. Easy Enough!</text>
36
+ <path d="M270.9,161.1c0.5,0,1-0.1,1.3-0.2c0.3-0.1,0.7-0.2,1-0.3v-2.2h-1.5c-0.2,0-0.3,0-0.3-0.1s-0.1-0.2-0.1-0.3v-1.2h4v4.9
37
+ c-0.3,0.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3-0.3,0.7-0.6,0.4l-4.8-2.9
193
+ l-4.8,2.9c-0.3,0.2-0.8-0.1-0.6-0.4l1.3-5.4l-4.2-3.7c-0.3-0.3-0.2-0.7,0.3-0.8l5.6-0.4l2.2-5.2C362,295.6,362.5,295.6,362.6,295.9
194
+ L362.6,295.9L362.6,295.9z M381,295.9l2.2,5.2l5.6,0.4c0.3,0,0.5,0.5,0.3,0.8l-4.2,3.7l1.3,5.4c0.1,0.3-0.3,0.7-0.6,0.4l-4.8-2.9
195
+ l-4.8,2.9c-0.3,0.2-0.8-0.1-0.6-0.4l1.3-5.4l-4.2-3.7c-0.3-0.3-0.2-0.7,0.3-0.8l5.6-0.4l2.2-5.2C380.4,295.6,380.8,295.6,381,295.9
196
+ L381,295.9L381,295.9z"/>
197
+ <g>
198
+ <path id="C" class="st3" d="M399.4,295.9l2.2,5.2l5.6,0.4c0.3,0,0.5,0.5,0.3,0.8l-4.2,3.7l1.3,5.4c0.1,0.3-0.3,0.7-0.6,0.4
199
+ l-4.8-2.9l-4.8,2.9c-0.3,0.2-0.8-0.1-0.6-0.4l1.3-5.4l-4.2-3.7c-0.3-0.3-0.2-0.7,0.3-0.8l5.6-0.4l2.2-5.2
200
+ C398.7,295.6,399.3,295.6,399.4,295.9L399.4,295.9L399.4,295.9z"/>
201
+ </g>
202
+ <g>
203
+ <path id="C_00000073696687815720123780000006864986927739546557_" class="st3" d="M417.9,295.9l2.2,5.2l5.6,0.4
204
+ c0.3,0,0.5,0.5,0.3,0.8l-4.2,3.7l1.3,5.4c0.1,0.3-0.3,0.7-0.6,0.4l-4.8-2.9l-4.8,2.9c-0.3,0.2-0.8-0.1-0.6-0.4l1.3-5.4l-4.2-3.7
205
+ c-0.3-0.3-0.2-0.7,0.3-0.8l5.6-0.4l2.2-5.2C417.2,295.6,417.7,295.6,417.9,295.9L417.9,295.9L417.9,295.9z"/>
206
+ </g>
207
+ <path class="st3" d="M436.2,295.9l2.2,5.2l5.6,0.4c0.3,0,0.5,0.5,0.3,0.8l-4.2,3.7l1.3,5.4c0.1,0.3-0.3,0.7-0.6,0.4l-4.8-2.9
208
+ l-4.8,2.9c-0.3,0.2-0.8-0.1-0.6-0.4l1.3-5.4l-4.2-3.7c-0.3-0.3-0.2-0.7,0.3-0.8l5.6-0.4l2.2-5.2
209
+ C435.6,295.6,436.1,295.6,436.2,295.9L436.2,295.9L436.2,295.9z"/>
210
+ </g>
211
+ <path class="st4" d="M84.5,195.8l4.6-4.6c0.1-0.1,0.2-0.3,0.2-0.4s-0.1-0.3-0.2-0.4l-0.4-0.4c-0.1-0.1-0.3-0.2-0.4-0.2
212
+ c-0.2,0-0.3,0.1-0.4,0.2l-5.5,5.5c-0.1,0.1-0.2,0.3-0.2,0.4c0,0.2,0.1,0.3,0.2,0.4l5.5,5.5c0.1,0.1,0.3,0.2,0.4,0.2
213
+ c0.2,0,0.3-0.1,0.4-0.2l0.4-0.4c0.3-0.3,0.3-0.7,0-1L84.5,195.8z M713.5,195.8l-4.6,4.6c-0.1,0.1-0.2,0.3-0.2,0.4
214
+ c0,0.2,0.1,0.3,0.2,0.4l0.4,0.4c0.1,0.1,0.3,0.2,0.4,0.2c0.2,0,0.3-0.1,0.4-0.2l5.5-5.5c0.1-0.1,0.2-0.3,0.2-0.4
215
+ c0-0.2-0.1-0.3-0.2-0.4l-5.5-5.5c-0.1-0.1-0.3-0.2-0.4-0.2c-0.2,0-0.3,0.1-0.4,0.2l-0.4,0.4c-0.3,0.3-0.3,0.7,0,1L713.5,195.8z"/>
216
+ <circle class="st5" cx="399.1" cy="93" r="34"/>
217
+ <g>
218
+ <defs>
219
+ <circle id="SVGID_1_" cx="399.1" cy="93" r="34"/>
220
+ </defs>
221
+ <clipPath id="SVGID_00000108280082501635699630000003463699815181568685_">
222
+ <use xlink:href="#SVGID_1_" style="overflow:visible;"/>
223
+ </clipPath>
224
+
225
+ <circle style="clip-path:url(#SVGID_00000108280082501635699630000003463699815181568685_);fill:#DDDDDD;" cx="399.1" cy="93" r="34"/>
226
+ </g>
227
+ <g>
228
+ <defs>
229
+ <circle id="SVGID_00000174602202915880750170000016429643379152666005_" cx="399.1" cy="93" r="34"/>
230
+ </defs>
231
+ <clipPath id="SVGID_00000062155540826679638740000012072978943426342561_">
232
+ <use xlink:href="#SVGID_00000174602202915880750170000016429643379152666005_" style="overflow:visible;"/>
233
+ </clipPath>
234
+ <g style="clip-path:url(#SVGID_00000062155540826679638740000012072978943426342561_);">
235
+ <g>
236
+ <g>
237
+
238
+ <ellipse transform="matrix(0.9499 -0.3126 0.3126 0.9499 -7.9968 125.1527)" class="st8" cx="386.3" cy="87.5" rx="1.8" ry="3.1"/>
239
+
240
+ <ellipse transform="matrix(0.3129 -0.9498 0.9498 0.3129 199.9391 451.3207)" class="st8" cx="411.9" cy="87.5" rx="3.1" ry="1.8"/>
241
+ </g>
242
+ <path class="st9" d="M408.1,71.8c2.6,0.4,4.1,2.2,4.7,4.6c1.7,6.4-1.7,20.2-13.5,20.4c-6,0.1-10.4-1.5-12-6.4s-2.3-12.8,1.2-17.2
243
+ C392.8,67.6,402,67.6,408.1,71.8z"/>
244
+ <path class="st10" d="M394.2,104.2c-11,4.8-14.3,7.4-15.5,8.6c-2,1.7-3.1,8.6-4.4,14.2h49.8c-1.2-5.6-2.2-12.5-4.2-14.2
245
+ c-1.3-1.1-4.5-3.7-15.5-8.5L394.2,104.2z"/>
246
+ <g>
247
+ <path class="st8" d="M393.8,94.6v13.1c3,3.5,7.8,3.6,10.7,0v-13C404.5,88,393.8,88,393.8,94.6z"/>
248
+ <path class="st8" d="M399.2,72.8c-17.9,0-11.4,23.3-10.3,25.1c1.3,1.9,7.4,5.2,10.3,5.2s9-3.8,10.3-5.7
249
+ C410.6,95.6,417.1,72.8,399.2,72.8z"/>
250
+ </g>
251
+ <path class="st9" d="M390.4,78.3c3.1,1.9,5.6-1,8.4,0.3c2.9,1.2,11-2.1,12.7,10.8c2.7-9.3-1.8-17.2-12.1-17.6
252
+ c-10.9-0.4-15.4,8.1-12.3,17.4C386.9,84.2,388.1,80.9,390.4,78.3z"/>
253
+ <g>
254
+ <path class="st11" d="M393.3,104.1l-3.8,2l5.5,7.6l4.2-3.9L393.3,104.1z"/>
255
+ <path class="st11" d="M405,104.1l3.8,2l-5.5,7.6l-4.2-3.9L405,104.1z"/>
256
+ </g>
257
+ </g>
258
+ <path class="st12" d="M390.2,77.6c0.3,1.6,2.5,1.7,3.8,1.9c2.4,0.3,5.4-0.7,7.3-2.1c0.2-0.1,0.1-0.3-0.1-0.3
259
+ c-2.1-0.1-4,1.3-6.1,1.5c-1.5,0.1-3.6-0.1-4.8-1.1C390.3,77.4,390.2,77.5,390.2,77.6L390.2,77.6L390.2,77.6L390.2,77.6z"/>
260
+ <path class="st13" d="M391.8,89.2c0,0,0.6,1,2.4,1s2.1-0.9,2.1-1.1c0,0-0.7-1.1-2.1-1.1S391.8,89.2,391.8,89.2z"/>
261
+
262
+ <radialGradient id="SVGID_00000096040663437055093100000005027823866415895960_" cx="394.1435" cy="-57.1136" r="1.0211" gradientTransform="matrix(1 0 0 -1 0 31.8898)" gradientUnits="userSpaceOnUse">
263
+ <stop offset="0" style="stop-color:#624A2E"/>
264
+ <stop offset="3.600000e-02" style="stop-color:#6D5633"/>
265
+ <stop offset="0.122" style="stop-color:#816B3D"/>
266
+ <stop offset="0.223" style="stop-color:#907C45"/>
267
+ <stop offset="0.348" style="stop-color:#9B884A"/>
268
+ <stop offset="0.523" style="stop-color:#A18F4D"/>
269
+ <stop offset="1" style="stop-color:#A3914E"/>
270
+ </radialGradient>
271
+ <circle style="fill:url(#SVGID_00000096040663437055093100000005027823866415895960_);" cx="394.1" cy="89" r="1"/>
272
+ <path class="st15" d="M394.1,88c0.5,0,1,0.4,1,1c0,0.5-0.4,1-1,1c-0.5,0-1-0.4-1-1C393.2,88.5,393.7,88,394.1,88 M394.1,87.9
273
+ c-0.6,0-1.1,0.5-1.1,1.1c0,0.6,0.5,1.1,1.1,1.1s1.1-0.5,1.1-1.1C395.2,88.4,394.8,87.9,394.1,87.9L394.1,87.9z"/>
274
+ <circle cx="394.1" cy="89" r="0.4"/>
275
+ <path class="st13" d="M406.4,89.2c0,0-0.6,1-2.4,1c-1.7,0-2.1-0.9-2.1-1.1c0,0,0.7-1.1,2.1-1.1C405.5,87.9,406.4,89.2,406.4,89.2z
276
+ "/>
277
+
278
+ <radialGradient id="SVGID_00000059990277127371376940000010667031064363735470_" cx="-1135.6523" cy="-57.1136" r="1.0211" gradientTransform="matrix(-1 0 0 -1 -731.5322 31.8898)" gradientUnits="userSpaceOnUse">
279
+ <stop offset="0" style="stop-color:#624A2E"/>
280
+ <stop offset="3.600000e-02" style="stop-color:#6D5633"/>
281
+ <stop offset="0.122" style="stop-color:#816B3D"/>
282
+ <stop offset="0.223" style="stop-color:#907C45"/>
283
+ <stop offset="0.348" style="stop-color:#9B884A"/>
284
+ <stop offset="0.523" style="stop-color:#A18F4D"/>
285
+ <stop offset="1" style="stop-color:#A3914E"/>
286
+ </radialGradient>
287
+ <circle style="fill:url(#SVGID_00000059990277127371376940000010667031064363735470_);" cx="404.2" cy="89" r="1"/>
288
+ <path class="st15" d="M404.2,88c0.5,0,1,0.4,1,1c0,0.5-0.4,1-1,1c-0.5,0-1-0.4-1-1C403.2,88.5,403.6,88,404.2,88 M404.2,87.9
289
+ c-0.6,0-1.1,0.5-1.1,1.1c0,0.6,0.5,1.1,1.1,1.1s1.1-0.5,1.1-1.1C405.2,88.4,404.8,87.9,404.2,87.9L404.2,87.9z"/>
290
+ <circle cx="404.2" cy="89" r="0.4"/>
291
+ <path class="st17" d="M397.2,93.9c-0.3,0.2-0.3,0.4-0.1,0.7c0.5,0.3,1.1,0.3,1.7,0.3c0.6,0,1.3-0.1,1.8-0.3
292
+ c0.3-0.2,0.4-0.7,0.1-0.9c-0.1,0-0.2,0-0.2,0.1s0.1,0.3,0.1,0.3c0,0.2-0.3,0.3-0.3,0.3c-0.3,0.2-0.8,0.2-1.2,0.2
293
+ C398.7,94.6,396.8,94.7,397.2,93.9L397.2,93.9z M395.8,98.5c1.9,1.4,5,1,6.8-0.3c0.1,0,0-0.1-0.1-0.1
294
+ C400.2,99.1,398.1,99.4,395.8,98.5C395.8,98.3,395.8,98.4,395.8,98.5L395.8,98.5L395.8,98.5L395.8,98.5z"/>
295
+ <path class="st12" d="M389.8,85.1c2.2-0.3,4.4-0.6,6.4,0.5c0.2,0.1,0.3-0.2,0.2-0.3C394.7,84.2,391.6,83.8,389.8,85.1
296
+ C389.8,85,389.8,85.1,389.8,85.1z M408.3,85c-1.7-1.2-4.9-0.8-6.6,0.3c-0.2,0.1,0,0.4,0.2,0.3C404,84.4,406.2,84.7,408.3,85
297
+ C408.3,85.1,408.3,85,408.3,85z"/>
298
+ <path class="st18" d="M404.1,93.4h0.3c2.8-0.3,3.4-1.5,3.8-3.1c0.3-1.7,0.3-2.4,0.8-2.4c0.3-0.1,0.4-0.5,0.4-1s0-0.5-0.5-0.7
299
+ c-0.4-0.2-2.8-0.3-4.5-0.3v0.4c1.4-0.1,2.7,0.1,3.1,0.3c0.9,0.6,0.6,3.3-0.1,4.7c-0.5,1-1.9,1.4-3.1,1.5L404.1,93.4L404.1,93.4
300
+ L404.1,93.4z M398.9,86.9c-0.6,0-3.1-0.7-4.9-0.9h-0.3v0.4c1.5,0.1,3,0.3,3.4,1.1c0.9,1.2-0.7,4.4-2,5.1c-0.4,0.2-1,0.3-1.6,0.3
301
+ v0.4c2.4,0,3.2-1.7,3.6-2.3c0.5-1,0.4-2.5,1.8-2.6c1.4,0,1.2,1.5,1.7,2.5c0.3,0.6,1,2.4,3.5,2.3v-0.4c-0.6,0-1.2-0.1-1.7-0.3
302
+ c-1.3-0.7-2.6-3.8-1.7-5.1c0.5-0.8,2-1.1,3.5-1.1v-0.4h-0.3C402.3,86.1,400.4,86.8,398.9,86.9L398.9,86.9L398.9,86.9z M393.7,86
303
+ c-1.7-0.1-4.1,0.1-4.5,0.3c-0.5,0.2-0.6,0.3-0.6,0.7s0,0.9,0.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,0.2-0.1,0.3c-0.6,0-1.2,0.1-1.7,0.3c-1.2,0.4-1.3,1.6-1.2,2.6c-1.2,0.3-2.4,2.1-1.8,3.1c0.1,0.3,0.2,0.7,0.4,1
322
+ c-0.5,0.1-1,0.4-1.1,0.9c-0.8,0.8-0.8,2.4,0,3.2c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0.1,0.2,0.1,0.2,0.1c0.4,0.1,1-0.3,0.7-0.8
323
+ c-0.3-0.4-0.3-1-0.3-1.5c0-0.2,0.1-0.3,0.2-0.4h0.2c0.3,0,0.4-0.3,0.5-0.4c0.1,0,0.2,0,0.2-0.1c0.5-0.1,0.4-0.7,0.1-1
324
+ c0.2-0.2,0.3-0.5,0-0.8c-0.5-0.7,0.1-1.7,0.8-2.2C388.8,74.5,389,74.5,389.1,74.2L389.1,74.2L389.1,74.2z"/>
325
+ </g>
326
+ </g>
327
+ <text transform="matrix(1 0 0 1 343.9541 284.7043)" class="st19 st20">Mechiel Couvaras</text>
328
+ <text transform="matrix(1 0 0 1 340.6562 336.1613)" class="st21 st20">CEO - SmartGeeky</text>
329
+ </svg>
src/Admin/GutenbergBlock/build/index.asset.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php return array('dependencies' => array('wp-block-editor', 'wp-element', 'wp-escape-html'), 'version' => 'd8e14ca43719eadb75511724be9a3faa');
src/Admin/GutenbergBlock/build/index.js ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******/ (function() { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ var __webpack_modules__ = ({
4
+
5
+ /***/ "./src/shortcode/blockIcon.js":
6
+ /*!************************************!*\
7
+ !*** ./src/shortcode/blockIcon.js ***!
8
+ \************************************/
9
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10
+
11
+ __webpack_require__.r(__webpack_exports__);
12
+ /* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/escape-html */ "@wordpress/escape-html");
13
+ /* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0__);
14
+ const el = wp.element.createElement;
15
+
16
+ const icons = {};
17
+ icons.sprtfIcon = el('img', {
18
+ src: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_0__.escapeAttribute)(sp_testimonial_free.url + 'Admin/GutenbergBlock/assets/real-testimonials-logo.svg')
19
+ });
20
+ /* harmony default export */ __webpack_exports__["default"] = (icons);
21
+
22
+ /***/ }),
23
+
24
+ /***/ "./src/shortcode/dynamicShortcode.js":
25
+ /*!*******************************************!*\
26
+ !*** ./src/shortcode/dynamicShortcode.js ***!
27
+ \*******************************************/
28
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
29
+
30
+ __webpack_require__.r(__webpack_exports__);
31
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
32
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
33
+ /* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/escape-html */ "@wordpress/escape-html");
34
+ /* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1__);
35
+
36
+
37
+ /**
38
+ * Shortcode select component.
39
+ */
40
+
41
+ const {
42
+ __
43
+ } = wp.i18n;
44
+ const {
45
+ Fragment
46
+ } = wp.element;
47
+ const el = wp.element.createElement;
48
+
49
+ const DynamicShortcodeInput = _ref => {
50
+ let {
51
+ attributes: {
52
+ shortcode
53
+ },
54
+ shortCodeList,
55
+ shortcodeUpdate
56
+ } = _ref;
57
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(Fragment, null, el('div', {
58
+ className: 'sprtf-gutenberg-shortcode editor-styles-wrapper'
59
+ }, el('select', {
60
+ className: 'sprtf-shortcode-selector',
61
+ onChange: e => shortcodeUpdate(e),
62
+ value: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1__.escapeAttribute)(shortcode)
63
+ }, el('option', {
64
+ value: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1__.escapeAttribute)('0')
65
+ }, (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1__.escapeHTML)(__('-- Select a view (shortcode) --', 'testimonial-pro'))), shortCodeList.map(shortcode => {
66
+ var title = shortcode.title.length > 30 ? shortcode.title.substring(0, 25) + '.... #(' + shortcode.id + ')' : shortcode.title + ' #(' + shortcode.id + ')';
67
+ return el('option', {
68
+ value: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1__.escapeAttribute)(shortcode.id.toString()),
69
+ key: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1__.escapeAttribute)(shortcode.id.toString())
70
+ }, (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_1__.escapeHTML)(title));
71
+ }))));
72
+ };
73
+
74
+ /* harmony default export */ __webpack_exports__["default"] = (DynamicShortcodeInput);
75
+
76
+ /***/ }),
77
+
78
+ /***/ "@wordpress/block-editor":
79
+ /*!*************************************!*\
80
+ !*** external ["wp","blockEditor"] ***!
81
+ \*************************************/
82
+ /***/ (function(module) {
83
+
84
+ module.exports = window["wp"]["blockEditor"];
85
+
86
+ /***/ }),
87
+
88
+ /***/ "@wordpress/element":
89
+ /*!*********************************!*\
90
+ !*** external ["wp","element"] ***!
91
+ \*********************************/
92
+ /***/ (function(module) {
93
+
94
+ module.exports = window["wp"]["element"];
95
+
96
+ /***/ }),
97
+
98
+ /***/ "@wordpress/escape-html":
99
+ /*!************************************!*\
100
+ !*** external ["wp","escapeHtml"] ***!
101
+ \************************************/
102
+ /***/ (function(module) {
103
+
104
+ module.exports = window["wp"]["escapeHtml"];
105
+
106
+ /***/ })
107
+
108
+ /******/ });
109
+ /************************************************************************/
110
+ /******/ // The module cache
111
+ /******/ var __webpack_module_cache__ = {};
112
+ /******/
113
+ /******/ // The require function
114
+ /******/ function __webpack_require__(moduleId) {
115
+ /******/ // Check if module is in cache
116
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
117
+ /******/ if (cachedModule !== undefined) {
118
+ /******/ return cachedModule.exports;
119
+ /******/ }
120
+ /******/ // Create a new module (and put it into the cache)
121
+ /******/ var module = __webpack_module_cache__[moduleId] = {
122
+ /******/ // no module.id needed
123
+ /******/ // no module.loaded needed
124
+ /******/ exports: {}
125
+ /******/ };
126
+ /******/
127
+ /******/ // Execute the module function
128
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
129
+ /******/
130
+ /******/ // Return the exports of the module
131
+ /******/ return module.exports;
132
+ /******/ }
133
+ /******/
134
+ /************************************************************************/
135
+ /******/ /* webpack/runtime/compat get default export */
136
+ /******/ !function() {
137
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
138
+ /******/ __webpack_require__.n = function(module) {
139
+ /******/ var getter = module && module.__esModule ?
140
+ /******/ function() { return module['default']; } :
141
+ /******/ function() { return module; };
142
+ /******/ __webpack_require__.d(getter, { a: getter });
143
+ /******/ return getter;
144
+ /******/ };
145
+ /******/ }();
146
+ /******/
147
+ /******/ /* webpack/runtime/define property getters */
148
+ /******/ !function() {
149
+ /******/ // define getter functions for harmony exports
150
+ /******/ __webpack_require__.d = function(exports, definition) {
151
+ /******/ for(var key in definition) {
152
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
153
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
154
+ /******/ }
155
+ /******/ }
156
+ /******/ };
157
+ /******/ }();
158
+ /******/
159
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
160
+ /******/ !function() {
161
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
162
+ /******/ }();
163
+ /******/
164
+ /******/ /* webpack/runtime/make namespace object */
165
+ /******/ !function() {
166
+ /******/ // define __esModule on exports
167
+ /******/ __webpack_require__.r = function(exports) {
168
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
169
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
170
+ /******/ }
171
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
172
+ /******/ };
173
+ /******/ }();
174
+ /******/
175
+ /************************************************************************/
176
+ var __webpack_exports__ = {};
177
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
178
+ !function() {
179
+ /*!**********************!*\
180
+ !*** ./src/index.js ***!
181
+ \**********************/
182
+ __webpack_require__.r(__webpack_exports__);
183
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
184
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
185
+ /* harmony import */ var _shortcode_blockIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./shortcode/blockIcon */ "./src/shortcode/blockIcon.js");
186
+ /* harmony import */ var _shortcode_dynamicShortcode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./shortcode/dynamicShortcode */ "./src/shortcode/dynamicShortcode.js");
187
+ /* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/escape-html */ "@wordpress/escape-html");
188
+ /* harmony import */ var _wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__);
189
+ /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
190
+ /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__);
191
+
192
+
193
+
194
+
195
+
196
+ const {
197
+ __
198
+ } = wp.i18n;
199
+ const {
200
+ registerBlockType
201
+ } = wp.blocks;
202
+ const {
203
+ PanelBody,
204
+ PanelRow
205
+ } = wp.components;
206
+ const {
207
+ Fragment
208
+ } = wp.element;
209
+ const ServerSideRender = wp.serverSideRender;
210
+ const el = wp.element.createElement;
211
+ /**
212
+ * Register: aa Gutenberg Block.
213
+ */
214
+
215
+ registerBlockType("sp-testimonial-free/shortcode", {
216
+ title: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeHTML)(__("Real Testimonials", "testimonial-free")),
217
+ description: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeHTML)(__("Use Real Testimonials to insert a view shortcode (testimonials) in your page", "testimonial-free")),
218
+ icon: _shortcode_blockIcon__WEBPACK_IMPORTED_MODULE_1__["default"].sprtfIcon,
219
+ category: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeHTML)("common"),
220
+ supports: {
221
+ html: true
222
+ },
223
+ edit: props => {
224
+ const {
225
+ attributes,
226
+ setAttributes
227
+ } = props;
228
+ var shortCodeList = sp_testimonial_free.shortCodeList;
229
+
230
+ let scriptLoad = shortcodeId => {
231
+ let sprtfBlockLoaded = false;
232
+ let sprtfBlockLoadedInterval = setInterval(function () {
233
+ let uniqId = jQuery("#sp-testimonial-free-wrapper-" + shortcodeId).parents().attr("id");
234
+
235
+ if (document.getElementById(uniqId)) {
236
+ jQuery.getScript(sp_testimonial_free.loadScript);
237
+ jQuery('#sp-testimonial-preloader-' + shortcodeId).css({
238
+ 'opacity': 0,
239
+ 'display': 'none'
240
+ });
241
+ jQuery('#sp-testimonial-free-' + shortcodeId).animate({
242
+ opacity: 1
243
+ }, 600);
244
+ sprtfBlockLoaded = true;
245
+ uniqId = "";
246
+ }
247
+
248
+ if (sprtfBlockLoaded) {
249
+ clearInterval(sprtfBlockLoadedInterval);
250
+ }
251
+
252
+ if (0 == shortcodeId) {
253
+ clearInterval(sprtfBlockLoadedInterval);
254
+ }
255
+ }, 10);
256
+ };
257
+
258
+ let updateShortcode = updateShortcode => {
259
+ setAttributes({
260
+ shortcode: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeAttribute)(updateShortcode.target.value)
261
+ });
262
+ };
263
+
264
+ let shortcodeUpdate = e => {
265
+ updateShortcode(e);
266
+ let shortcodeId = (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeAttribute)(e.target.value);
267
+ scriptLoad(shortcodeId);
268
+ };
269
+
270
+ document.addEventListener("readystatechange", event => {
271
+ if (event.target.readyState === "complete") {
272
+ let shortcodeId = (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeAttribute)(attributes.shortcode);
273
+ scriptLoad(shortcodeId);
274
+ }
275
+ });
276
+
277
+ if (attributes.preview) {
278
+ return el('div', {
279
+ className: 'sprtf_shortcode_block_preview_image'
280
+ }, el('img', {
281
+ src: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeAttribute)(sp_testimonial_free.url + "Admin/GutenbergBlock/assets/rt-block-preview.svg")
282
+ }));
283
+ }
284
+
285
+ if (shortCodeList.length === 0) {
286
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(Fragment, null, el("div", {
287
+ className: "components-placeholder components-placeholder is-large sprtf_block_shortcode"
288
+ }, el("div", {
289
+ className: "components-placeholder__label"
290
+ }, el("img", {
291
+ className: 'block-editor-block-icon',
292
+ src: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeAttribute)(sp_testimonial_free.url + 'Admin/GutenbergBlock/assets/real-testimonials-logo.svg')
293
+ }), el("h4", {}, (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeHTML)(__("Real Testimonials", "testimonial-free")))), el("div", {
294
+ className: "sprtf_block_shortcode_text"
295
+ }, (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeHTML)(__("No view shortcode found. ", "testimonial-free")), el("a", {
296
+ href: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeAttribute)(sp_testimonial_free.link)
297
+ }, (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeHTML)(__("Create a view now!", "testimonial-free"))))));
298
+ }
299
+
300
+ if (!attributes.shortcode || attributes.shortcode == 0) {
301
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InspectorControls, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(PanelBody, {
302
+ title: "Select a view (shortcode)"
303
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_shortcode_dynamicShortcode__WEBPACK_IMPORTED_MODULE_2__["default"], {
304
+ attributes: attributes,
305
+ shortCodeList: shortCodeList,
306
+ shortcodeUpdate: shortcodeUpdate
307
+ })))), el('div', {
308
+ className: 'components-placeholder components-placeholder is-large sprtf_block_shortcode'
309
+ }, el('div', {
310
+ className: 'components-placeholder__label'
311
+ }, el('img', {
312
+ className: 'block-editor-block-icon',
313
+ src: (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeAttribute)(sp_testimonial_free.url + 'Admin/GutenbergBlock/assets/real-testimonials-logo.svg')
314
+ }), (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeHTML)(__("Real Testimonial", "testimonial-free"))), el('div', {
315
+ className: 'components-placeholder__instructions'
316
+ }, (0,_wordpress_escape_html__WEBPACK_IMPORTED_MODULE_3__.escapeHTML)(__("Select a view (shortcode)", "testimonial-free"))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_shortcode_dynamicShortcode__WEBPACK_IMPORTED_MODULE_2__["default"], {
317
+ attributes: attributes,
318
+ shortCodeList: shortCodeList,
319
+ shortcodeUpdate: shortcodeUpdate
320
+ })));
321
+ }
322
+
323
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InspectorControls, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(PanelBody, {
324
+ title: "Real Testimonials Block Settings"
325
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_shortcode_dynamicShortcode__WEBPACK_IMPORTED_MODULE_2__["default"], {
326
+ attributes: attributes,
327
+ shortCodeList: shortCodeList,
328
+ shortcodeUpdate: shortcodeUpdate
329
+ })))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(ServerSideRender, {
330
+ block: "sp-testimonial-free/shortcode",
331
+ attributes: attributes
332
+ }));
333
+ },
334
+
335
+ save() {
336
+ // Rendering in PHP
337
+ return null;
338
+ }
339
+
340
+ });
341
+ }();
342
+ /******/ })()
343
+ ;
344
+ //# sourceMappingURL=index.js.map
src/Admin/GutenbergBlock/build/index.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"index.js","mappings":";;;;;;;;;;;;;AAAA,MAAMA,EAAE,GAAGC,EAAE,CAACC,OAAH,CAAWC,aAAtB;AACA;AACA,MAAMG,KAAK,GAAG,EAAd;AACAA,KAAK,CAACC,SAAN,GAAkBP,EAAE,CAAC,KAAD,EAAQ;AAACQ,EAAAA,GAAG,EAAEJ,uEAAe,CAAEK,mBAAmB,CAACC,GAApB,GAA0B,wDAA5B;AAArB,CAAR,CAApB;AACA,+DAAeJ,KAAf;;;;;;;;;;;;;;;;;ACJA;AACA;AACA;AACC;AACA,MAAM;AAAEK,EAAAA;AAAF,IAASV,EAAE,CAACW,IAAlB;AACA,MAAM;AAAEC,EAAAA;AAAF,IAAeZ,EAAE,CAACC,OAAxB;AACA,MAAMF,EAAE,GAAGC,EAAE,CAACC,OAAH,CAAWC,aAAtB;;AAEA,MAAMW,qBAAqB,GAAG;AAAA,MAAE;AAA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AEE,aAFjB;AAGE,uBAAe,EAAEC;AAHnB,QANA,CAbN,CADF;AA6BD;;AAED,WACE,kEAAC,QAAD,QAEE,kEAAC,sEAAD,QACI,kEAAC,SAAD;AAAW,WAAK,EAAC;AAAjB,OACI,kEAAC,QAAD,QACE,kEAAC,mEAAD;AACE,gBAAU,EAAEH,UADd;AAEE,mBAAa,EAAEE,aAFjB;AAGE,qBAAe,EAAEC;AAHnB,MADF,CADJ,CADJ,CAFF,EAaE,kEAAC,gBAAD;AACE,WAAK,EAAC,+BADR;AAEE,gBAAU,EAAEH;AAFd,MAbF,CADF;AAoBD,GAhJgD;;AAiJjDwD,EAAAA,IAAI,GAAG;AACL;AACA,WAAO,IAAP;AACD;;AApJgD,CAAlC,CAAjB,C","sources":["webpack://real-testimonial-free-gutenberg-shortcode-block/./src/shortcode/blockIcon.js","webpack://real-testimonial-free-gutenberg-shortcode-block/./src/shortcode/dynamicShortcode.js","webpack://real-testimonial-free-gutenberg-shortcode-block/external window [\"wp\",\"blockEditor\"]","webpack://real-testimonial-free-gutenberg-shortcode-block/external window [\"wp\",\"element\"]","webpack://real-testimonial-free-gutenberg-shortcode-block/external window [\"wp\",\"escapeHtml\"]","webpack://real-testimonial-free-gutenberg-shortcode-block/webpack/bootstrap","webpack://real-testimonial-free-gutenberg-shortcode-block/webpack/runtime/compat get default export","webpack://real-testimonial-free-gutenberg-shortcode-block/webpack/runtime/define property getters","webpack://real-testimonial-free-gutenberg-shortcode-block/webpack/runtime/hasOwnProperty shorthand","webpack://real-testimonial-free-gutenberg-shortcode-block/webpack/runtime/make namespace object","webpack://real-testimonial-free-gutenberg-shortcode-block/./src/index.js"],"sourcesContent":["const el = wp.element.createElement;\r\nimport { escapeAttribute, escapeHTML } from \"@wordpress/escape-html\";\r\nconst icons = {};\r\nicons.sprtfIcon = el('img', {src: escapeAttribute( sp_testimonial_free.url + 'Admin/GutenbergBlock/assets/real-testimonials-logo.svg' ) })\r\nexport default icons;","/**\r\n * Shortcode select component.\r\n */\r\n import { escapeAttribute, escapeHTML } from \"@wordpress/escape-html\";\r\n const { __ } = wp.i18n;\r\n const { Fragment } = wp.element;\r\n const el = wp.element.createElement;\r\n \r\n const DynamicShortcodeInput = ( { attributes : { shortcode }, shortCodeList, shortcodeUpdate } ) => (\r\n <Fragment>\r\n {el('div', {className: 'sprtf-gutenberg-shortcode editor-styles-wrapper'},\r\n el('select', {className: 'sprtf-shortcode-selector', onChange: e => shortcodeUpdate(e), value: escapeAttribute( shortcode ) },\r\n el('option', {value: escapeAttribute( '0' )}, escapeHTML( __( '-- Select a view (shortcode) --', 'testimonial-pro' ))),\r\n shortCodeList.map( shortcode => {\r\n var title = (shortcode.title.length > 30) ? shortcode.title.substring(0,25) + '.... #(' + shortcode.id + ')' : shortcode.title + ' #(' + shortcode.id + ')';\r\n return el('option', {value: escapeAttribute( shortcode.id.toString() ), key: escapeAttribute( shortcode.id.toString() )}, escapeHTML( title ) )\r\n })\r\n )\r\n )}\r\n </Fragment>\r\n );\r\n \r\n export default DynamicShortcodeInput;","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"escapeHtml\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import icons from \"./shortcode/blockIcon\";\r\nimport DynamicShortcodeInput from \"./shortcode/dynamicShortcode\";\r\nimport { escapeAttribute, escapeHTML } from \"@wordpress/escape-html\";\r\nimport { InspectorControls } from '@wordpress/block-editor';\r\n\r\nconst { __ } = wp.i18n;\r\nconst { registerBlockType } = wp.blocks;\r\nconst { PanelBody, PanelRow } = wp.components;\r\nconst { Fragment } = wp.element;\r\nconst ServerSideRender = wp.serverSideRender;\r\nconst el = wp.element.createElement;\r\n\r\n/**\r\n * Register: aa Gutenberg Block.\r\n */\r\nregisterBlockType(\"sp-testimonial-free/shortcode\", {\r\n title: escapeHTML( __(\"Real Testimonials\", \"testimonial-free\") ),\r\n description: escapeHTML( __(\r\n \"Use Real Testimonials to insert a view shortcode (testimonials) in your page\",\r\n \"testimonial-free\"\r\n )),\r\n icon: icons.sprtfIcon,\r\n category: escapeHTML(\"common\"),\r\n supports: {\r\n html: true,\r\n },\r\n edit: (props) => {\r\n const { attributes, setAttributes } = props;\r\n var shortCodeList = sp_testimonial_free.shortCodeList;\r\n\r\n let scriptLoad = (shortcodeId) => {\r\n let sprtfBlockLoaded = false;\r\n let sprtfBlockLoadedInterval = setInterval(function () {\r\n let uniqId = jQuery(\"#sp-testimonial-free-wrapper-\" + shortcodeId)\r\n .parents()\r\n .attr(\"id\");\r\n if ( document.getElementById( uniqId ) ) {\r\n jQuery.getScript( sp_testimonial_free.loadScript );\r\n\r\n jQuery('#sp-testimonial-preloader-' + shortcodeId).css({ 'opacity': 0, 'display': 'none' });\r\n jQuery('#sp-testimonial-free-' + shortcodeId).animate({ opacity: 1 }, 600);\r\n sprtfBlockLoaded = true;\r\n uniqId = \"\";\r\n }\r\n if (sprtfBlockLoaded) {\r\n clearInterval(sprtfBlockLoadedInterval);\r\n }\r\n if (0 == shortcodeId) {\r\n clearInterval(sprtfBlockLoadedInterval);\r\n }\r\n }, 10);\r\n };\r\n\r\n let updateShortcode = (updateShortcode) => {\r\n setAttributes({ shortcode: escapeAttribute(updateShortcode.target.value) });\r\n };\r\n\r\n let shortcodeUpdate = (e) => {\r\n updateShortcode(e);\r\n let shortcodeId = escapeAttribute(e.target.value);\r\n scriptLoad(shortcodeId);\r\n };\r\n\r\n document.addEventListener(\"readystatechange\", (event) => {\r\n if (event.target.readyState === \"complete\") {\r\n let shortcodeId = escapeAttribute(attributes.shortcode);\r\n scriptLoad(shortcodeId);\r\n }\r\n });\r\n\r\n if( attributes.preview ) {\r\n return (\r\n el('div', {className: 'sprtf_shortcode_block_preview_image'},\r\n el('img', { src: escapeAttribute( sp_testimonial_free.url + \"Admin/GutenbergBlock/assets/rt-block-preview.svg\" )})\r\n )\r\n )\r\n }\r\n\r\n if ( shortCodeList.length === 0 ) {\r\n return (\r\n <Fragment>\r\n {el(\r\n \"div\",\r\n { className: \"components-placeholder components-placeholder is-large sprtf_block_shortcode\" },\r\n el(\r\n \"div\",\r\n { className: \"components-placeholder__label\" },\r\n el(\"img\", { className: 'block-editor-block-icon',\r\n src: escapeAttribute( sp_testimonial_free.url + 'Admin/GutenbergBlock/assets/real-testimonials-logo.svg' ),\r\n }),\r\n el(\"h4\", {}, escapeHTML(__(\"Real Testimonials\", \"testimonial-free\")))\r\n ),\r\n el(\r\n \"div\",\r\n { className: \"sprtf_block_shortcode_text\" },\r\n escapeHTML(__(\"No view shortcode found. \", \"testimonial-free\")),\r\n el(\r\n \"a\",\r\n { href: escapeAttribute(sp_testimonial_free.link) },\r\n escapeHTML( __(\"Create a view now!\", \"testimonial-free\") )\r\n )\r\n )\r\n )}\r\n </Fragment>\r\n );\r\n }\r\n\r\n if ( ! attributes.shortcode || attributes.shortcode == 0 ) {\r\n return (\r\n <Fragment>\r\n <InspectorControls>\r\n <PanelBody title=\"Select a view (shortcode)\">\r\n <PanelRow>\r\n <DynamicShortcodeInput\r\n attributes={attributes}\r\n shortCodeList={shortCodeList}\r\n shortcodeUpdate={shortcodeUpdate}\r\n />\r\n </PanelRow>\r\n </PanelBody>\r\n </InspectorControls>\r\n {\r\n el('div', {className: 'components-placeholder components-placeholder is-large sprtf_block_shortcode'}, \r\n el('div', {className: 'components-placeholder__label'},\r\n el('img', { className: 'block-editor-block-icon', src: escapeAttribute( sp_testimonial_free.url + 'Admin/GutenbergBlock/assets/real-testimonials-logo.svg')}),\r\n escapeHTML( __(\"Real Testimonial\", \"testimonial-free\") )\r\n ),\r\n el('div', {className: 'components-placeholder__instructions'}, escapeHTML( __(\"Select a view (shortcode)\", \"testimonial-free\") ) ),\r\n <DynamicShortcodeInput\r\n attributes={attributes}\r\n shortCodeList={shortCodeList}\r\n shortcodeUpdate={shortcodeUpdate}\r\n />\r\n )\r\n }\r\n </Fragment>\r\n );\r\n }\r\n\r\n return (\r\n <Fragment>\r\n\r\n <InspectorControls>\r\n <PanelBody title=\"Real Testimonials Block Settings\">\r\n <PanelRow>\r\n <DynamicShortcodeInput\r\n attributes={attributes}\r\n shortCodeList={shortCodeList}\r\n shortcodeUpdate={shortcodeUpdate}\r\n />\r\n </PanelRow>\r\n </PanelBody>\r\n </InspectorControls>\r\n <ServerSideRender\r\n block=\"sp-testimonial-free/shortcode\"\r\n attributes={attributes}\r\n />\r\n </Fragment>\r\n );\r\n },\r\n save() {\r\n // Rendering in PHP\r\n return null;\r\n },\r\n});\r\n"],"names":["el","wp","element","createElement","escapeAttribute","escapeHTML","icons","sprtfIcon","src","sp_testimonial_free","url","__","i18n","Fragment","DynamicShortcodeInput","attributes","shortcode","shortCodeList","shortcodeUpdate","className","onChange","e","value","map","title","length","substring","id","toString","key","InspectorControls","registerBlockType","blocks","PanelBody","PanelRow","components","ServerSideRender","serverSideRender","description","icon","category","supports","html","edit","props","setAttributes","scriptLoad","shortcodeId","sprtfBlockLoaded","sprtfBlockLoadedInterval","setInterval","uniqId","jQuery","parents","attr","document","getElementById","getScript","loadScript","css","animate","opacity","clearInterval","updateShortcode","target","addEventListener","event","readyState","preview","href","link","save"],"sourceRoot":""}
src/Admin/Sp_Testimonial_Free_Gutenberg_Block.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The plugin gutenberg block.
4
+ *
5
+ * @link https://shapedplugin.com/
6
+ * @since 2.5.1
7
+ *
8
+ * @package Testimonial_Free
9
+ * @subpackage Testimonial_Free/Admin
10
+ * @author ShapedPlugin <support@shapedplugin.com>
11
+ */
12
+
13
+ namespace ShapedPlugin\TestimonialFree\Admin;
14
+
15
+ if ( ! defined( 'ABSPATH' ) ) {
16
+ exit; // Exit if accessed directly.
17
+ }
18
+
19
+ if ( ! class_exists( 'Gutenberg_Block' ) ) {
20
+
21
+ /**
22
+ * Custom Gutenberg Block.
23
+ */
24
+ class Sp_Testimonial_Free_Gutenberg_Block {
25
+
26
+ /**
27
+ * Block Initializer.
28
+ */
29
+ public function __construct() {
30
+ new GutenbergBlock\Sp_Testimonial_Free_Gutenberg_Block_Init();
31
+ }
32
+
33
+ }
34
+ }
src/Admin/assets/css/admin.css CHANGED
@@ -750,8 +750,30 @@ div#sp_tpro_live_preview {
750
  #sp_tpro_shortcode_options.postbox #sp_tpro_live_preview .postbox-header {
751
  display: block;
752
  }
753
-
754
  .sp-testimonial-column-image {
755
  width: 50px;
756
  height: auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
757
  }
750
  #sp_tpro_shortcode_options.postbox #sp_tpro_live_preview .postbox-header {
751
  display: block;
752
  }
 
753
  .sp-testimonial-column-image {
754
  width: 50px;
755
  height: auto;
756
+ }
757
+ /* Gutenberg selector field style */
758
+ .sprtf-gutenberg-shortcode.editor-styles-wrapper {
759
+ padding: 0;
760
+ line-height: 24px;
761
+ }
762
+
763
+ .editor-styles-wrapper .sprtf_block_shortcode img {
764
+ box-shadow: none;
765
+ }
766
+
767
+ .block-editor-page .editor-styles-wrapper select.sprtf-shortcode-selector,
768
+ .block-editor-page select.sprtf-shortcode-selector,
769
+ .block-editor-page select.sprtf-shortcode-selector:focus,
770
+ .block-editor-page select.sprtf-shortcode-selector:focus-visible {
771
+ width: 250px;
772
+ padding: 5px;
773
+ border: 1px solid #ccc;
774
+ font-size: 13px;
775
+ padding-right: 25px;
776
+ }
777
+ .block-editor-page .editor-styles-wrapper i{
778
+ font-style: normal;
779
  }
src/Admin/assets/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .text-center{text-align:center}.spt-main-class .spftestimonial-header-inner h1{color:#444;font-size:22px;font-weight:600}.spt-main-class .spftestimonial-sticky .spftestimonial-header-inner{z-index:20}.spt-main-class .spftestimonial-metabox .spftestimonial-nav{position:inherit;float:none;width:100%;background:#f1f1f1}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li{display:inline-block}.spt-main-class .spftestimonial-nav ul li a{text-transform:uppercase;font-weight:600}.spt-main-class .spftestimonial-metabox .spftestimonial-content{margin-left:0}.spt-main-class .spftestimonial-metabox{margin:-6px -12px -12px -12px}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li a{background-color:#1595ce;font-size:14px;padding:15px 15px;line-height:1.4;color:#fff;border-right:1px solid #e2e2e1;font-weight:600;border-bottom:0}#sp_tpro_shortcode_options_new .spftestimonial-metabox .spftestimonial-nav ul li a{font-size:13px;text-transform:uppercase;padding:16px 15px}.spt-main-class .spftestimonial-nav ul li .spftestimonial-active:after{display:none}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active{color:#444;background-color:#fff;box-shadow:0 3px 0 0 #1595ce inset}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active .fa{color:#1595ce}.spt-main-class .spftestimonial-metabox .spftestimonial-nav-background{display:none}.spt-main-class.spftestimonial-theme-light .spftestimonial-container{border:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4!important;margin-bottom:0;padding:15px 15px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#f8fdff;padding:13px 15px 13px 24px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav-background{border-right:1px solid #ccd0d4}.spt-main-class .spftestimonial-desc-text,.spt-main-class .spftestimonial-text-subtitle{font-style:italic}.spftestimonial-metabox .sp-tpro-banner{background-color:#0a73a7;padding:22px 28px;overflow:hidden;background-image:-webkit-gradient(linear,left top,right top,from(#0a73a7),to(#1595ce));background-image:linear-gradient(to right,#0a73a7,#1595ce)}.spftestimonial-metabox .sp-tpro-logo{float:left}.spftestimonial-metabox .sp-tpro-logo img{display:block;width:182px}.spftestimonial-metabox .sp-tpro-short-links{float:right;line-height:30px}.spftestimonial-metabox .sp-tpro-short-links a{color:#fff;text-decoration:none;margin-left:16px;font-size:15px;font-weight:600}.spftestimonial-metabox .sp-tpro-short-links a i.fa{margin-right:7px}.sp-testimonial-shortcode-divider{height:20px;background:#f1f1f1;border-top:1px solid #ddd}.spftestimonial-metabox .tpro_shortcode{display:inline-flex;width:100%;background-color:#fffdfd}.tpro_shortcode .tpro-col-lg-6{border-right:1px solid #ddd;width:50%}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content{padding:42px 16px}.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content{padding:42px 16px 0 16px}.shortcode.column-shortcode .sp_tfree_input{border:1px solid #cbcbcb;cursor:pointer}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;background-image:url(../images/copy.svg);background-size:16px;background-position:10px center;background-repeat:no-repeat}.tpro_shortcode .tpro-col-lg-6:last-child{border-right:none}.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title{font-weight:500;font-size:17px!important;padding-top:0!important;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 p{margin-top:2px;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 .back-image{max-width:100%;display:block;margin:0 auto}.tpro_shortcode .tpro-col-lg-6 textarea{border-color:transparent;box-shadow:none;background-color:#eee;padding:4px 6px;resize:none;text-align:center;max-width:100%}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border-width:1px;border-style:solid;border-color:#cbcbcb;cursor:pointer}@media (max-width:1200px){.spftestimonial-metabox .tpro_shortcode{display:block}.tpro_shortcode .tpro-col-lg-6{width:100%;display:block;border-bottom:1px solid #ddd;border-right:none}.tpro_shortcode .tpro-col-lg-6:last-child{padding-bottom:42px}}.sp-testimonial-shortcode{background-color:rgba(82,179,217,.11);padding:8px 12px;display:inline-block;margin-left:8px}.selectable{-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.js #sp_tpro_meta_options.postbox .handlediv,.js #sp_tpro_meta_options.postbox .hndle,.js #sp_tpro_meta_options.postbox .postbox-header,.js #sp_tpro_shortcode_options.postbox .handlediv,.js #sp_tpro_shortcode_options.postbox .hndle,.js #sp_tpro_shortcode_options.postbox .postbox-header{display:none}.sp-testimonial-font-color .wp-picker-container,.sp-testimonial-font-load .spftestimonial--switcher,.spftestimonial-field-typography .spftestimonial--block .chosen-container,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--font-size,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--letter-spacing,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--line-height,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-bottom,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-left,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-right,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-top{pointer-events:none;opacity:.6}.sp-testimonial-text-center{text-align:center}div.sp-testimonial-help .wp-badge{border:none;background:url(../images/icon-256.png) right no-repeat;background-size:128px 128px;box-shadow:none;height:auto;padding-top:128px}.about-wrap.sp-testimonial-help [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.about-wrap [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.sp-testimonial-help [class$="-col"] .col{flex:1;align-self:flex-start}.sp-testimonial-help .col{margin-top:40px}.sp-testimonial-help.about-wrap [class$="-col"] .col+.col{margin-left:0}.sp-testimonial-help.about-wrap .help-section[class$="-col"] .col+.col{margin-left:20px}div.sp-testimonial-help .headline-feature.feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;max-width:100%;height:0;text-align:center}div.sp-testimonial-help .headline-feature.feature-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}div.sp-testimonial-help .feature-section .sp-testimonial-feature{background-color:#fff;padding:20px 20px;border:1px solid #ddd}div.sp-testimonial-help .feature-section .sp-testimonial-feature h3{font-size:16px;margin-top:18px}div.sp-testimonial-help .feature-section i.sp-testimonial-font-icon{font-size:30px;display:block;color:#1595ce}div.sp-testimonial-help .sp-testimonial-features .feature-section span.dashicons{font-size:22px;color:#fff;background-color:#1595ce;width:28px;height:28px;line-height:28px;border-radius:50%;margin-right:10px}div.sp-testimonial-help .sp-testimonial-features .feature-section{margin-bottom:40px;margin-left:-2%}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature h3{margin-top:0}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature p{margin-bottom:0}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}div.sp-testimonial-help .sp-testimonial-features .feature-section.three-col .col{min-width:31.3%;max-width:31.3%;margin-top:20px;padding-left:2%}div.sp-testimonial-help .sp-testimonial-features .sp-testimonial-subtitle{font-size:1.2em;margin-bottom:26px}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer{position:fixed;bottom:0;background:#fff;width:calc(100% - 195px);z-index:9;margin-left:-25px;text-align:center;border:1px solid #dfdfdf;padding:15px 0;border-bottom:none}div.sp-testimonial-help .sp-testimonial-features h2{font-size:2.5em;font-weight:400}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer a.button{margin:0 8px}.sp-testimonial-upgrade>h1{font-size:2.5em;color:#444;font-weight:300}.sp-testimonial-upgrade>h1 span{font-weight:400}.sp-testimonial-upgrade .about-text{margin-bottom:0}.sp-testimonial-upgrade ul{margin-top:0}.about-wrap.sp-testimonial-upgrade .about-text{min-height:60px}.about-wrap.sp-testimonial-upgrade hr{order:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.sp-testimonial-upgrade .sp-testimonial-features .feature-section{margin-bottom:40px;display:flex;flex-wrap:wrap}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature h3{margin-top:0}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature p{margin-bottom:0}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}.sp-testimonial-upgrade .sp-testimonial-features .feature-section.three-col .col{min-width:32%;max-width:32%;margin-top:20px;display:flex;align-self:auto}.sp-testimonial-upgrade .sp-testimonial-features .sp-testimonial-subtitle{font-size:1.2em;margin-bottom:26px}.sp-testimonial-upgrade .sp-testimonial-features h2,.sp-testimonial-upgrade .sp-tfree-promo-video-title{font-size:2.2em;font-weight:400}.sp-testimonial-join-community h2{font-size:2em}.sp-testimonial-upgrade .sp-testimonial-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}.sp-testimonial-upgrade .sp-testimonial-upgrade-sticky-footer a.button{margin:0 8px}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn{display:inline-block;padding:0 20px 0 0}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn a,.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn{text-decoration:none;text-align:center;font-size:16px}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn a:focus{outline:0}.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn,.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:first-child a{background:#1595ce;padding:0 15px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:500}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:last-child a{text-decoration:underline}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn a i{margin-left:4px}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:last-child a i{font-size:14px}.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn{display:inline-block}#sp-testimonial-review-notice{padding:15px 15px 15px 0;background-color:#fff;border-radius:3px;margin:20px 20px 0 0;margin-bottom:20px}#sp-testimonial-review-notice .sp-testimonial-plugin-icon{float:left;line-height:90px;text-align:center;width:100px;height:100px;margin-right:15px}#sp-testimonial-review-notice .sp-testimonial-plugin-icon img{max-width:83px;vertical-align:middle}#sp-testimonial-review-notice .sp-testimonial-notice-text{overflow:hidden}#sp-testimonial-review-notice .sp-testimonial-notice-text h3{font-size:24px;margin:0 0 5px;font-weight:400;line-height:1}#sp-testimonial-review-notice .sp-testimonial-notice-text p{margin:10px 0 10px 0;font-size:13px}#sp-testimonial-review-notice .sp-testimonial-notice-text p.sp-testimonial-review-actions{margin:10px 0 2px 0}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a{text-decoration:none;margin-right:8px;color:#63a37b;display:inline-block;position:relative}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a span{padding-right:2px}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a.button{color:#fff}@media (max-width:960px){div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer{width:calc(100%)}}@media screen and (max-width:782px){div.sp-testimonial-help .three-col .col{min-width:48%!important;max-width:48%!important;margin-left:0!important}}@media (max-width:500px){div.sp-testimonial-help .wp-badge{background-position-x:center}div.sp-testimonial-help .three-col .col{min-width:100%!important;max-width:100%!important;margin-top:1em}}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border:1px solid #cbcbcb}.sp-testimonial-copy-btn{display:inline-block;height:15px;line-height:38px;margin-bottom:-4px;margin-right:-30px;cursor:pointer;position:relative;z-index:99}.sp-testimonial-after-copy-text{bottom:0;opacity:0;z-index:9999999;position:fixed;width:230px;left:180px;text-align:center;padding:15px 15px;line-height:15px;color:#fff;border-radius:3px;background:#32373c;border:1px solid #32373c}.sp-testimonial-after-copy-text .fa-check-circle{font-size:14px;margin-right:2px;color:#5db62e}.post-type-spt_shortcodes #sp-testimonial-show-preview{position:fixed;right:144px;bottom:30px;z-index:1001;width:155px;text-align:center;padding:10px 0;background:#54b154;color:#fff;border-radius:3px;text-decoration:none;display:block;font-weight:500;text-transform:uppercase;letter-spacing:.2px;margin:0;box-sizing:border-box;border-color:#44a944;overflow:hidden}.post-type-spt_testimonial #sp-testimonial-show-preview,.post-type-spt_testimonial_form #sp-testimonial-show-preview{display:none}div#sp_tpro_live_preview{padding:0;margin:-7px -13px 6px}#sp_tpro_shortcode_options.postbox #sp_tpro_live_preview .postbox-header{display:block}.sp-testimonial-column-image{width:50px;height:auto}
1
+ .text-center{text-align:center}.spt-main-class .spftestimonial-header-inner h1{color:#444;font-size:22px;font-weight:600}.spt-main-class .spftestimonial-sticky .spftestimonial-header-inner{z-index:20}.spt-main-class .spftestimonial-metabox .spftestimonial-nav{position:inherit;float:none;width:100%;background:#f1f1f1}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li{display:inline-block}.spt-main-class .spftestimonial-nav ul li a{text-transform:uppercase;font-weight:600}.spt-main-class .spftestimonial-metabox .spftestimonial-content{margin-left:0}.spt-main-class .spftestimonial-metabox{margin:-6px -12px -12px -12px}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li a{background-color:#1595ce;font-size:14px;padding:15px 15px;line-height:1.4;color:#fff;border-right:1px solid #e2e2e1;font-weight:600;border-bottom:0}#sp_tpro_shortcode_options_new .spftestimonial-metabox .spftestimonial-nav ul li a{font-size:13px;text-transform:uppercase;padding:16px 15px}.spt-main-class .spftestimonial-nav ul li .spftestimonial-active:after{display:none}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active{color:#444;background-color:#fff;box-shadow:0 3px 0 0 #1595ce inset}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active .fa{color:#1595ce}.spt-main-class .spftestimonial-metabox .spftestimonial-nav-background{display:none}.spt-main-class.spftestimonial-theme-light .spftestimonial-container{border:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4!important;margin-bottom:0;padding:15px 15px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#f8fdff;padding:13px 15px 13px 24px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav-background{border-right:1px solid #ccd0d4}.spt-main-class .spftestimonial-desc-text,.spt-main-class .spftestimonial-text-subtitle{font-style:italic}.spftestimonial-metabox .sp-tpro-banner{background-color:#0a73a7;padding:22px 28px;overflow:hidden;background-image:-webkit-gradient(linear,left top,right top,from(#0a73a7),to(#1595ce));background-image:linear-gradient(to right,#0a73a7,#1595ce)}.spftestimonial-metabox .sp-tpro-logo{float:left}.spftestimonial-metabox .sp-tpro-logo img{display:block;width:182px}.spftestimonial-metabox .sp-tpro-short-links{float:right;line-height:30px}.spftestimonial-metabox .sp-tpro-short-links a{color:#fff;text-decoration:none;margin-left:16px;font-size:15px;font-weight:600}.spftestimonial-metabox .sp-tpro-short-links a i.fa{margin-right:7px}.sp-testimonial-shortcode-divider{height:20px;background:#f1f1f1;border-top:1px solid #ddd}.spftestimonial-metabox .tpro_shortcode{display:inline-flex;width:100%;background-color:#fffdfd}.tpro_shortcode .tpro-col-lg-6{border-right:1px solid #ddd;width:50%}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content{padding:42px 16px}.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content{padding:42px 16px 0 16px}.shortcode.column-shortcode .sp_tfree_input{border:1px solid #cbcbcb;cursor:pointer}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;background-image:url(../images/copy.svg);background-size:16px;background-position:10px center;background-repeat:no-repeat}.tpro_shortcode .tpro-col-lg-6:last-child{border-right:none}.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title{font-weight:500;font-size:17px!important;padding-top:0!important;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 p{margin-top:2px;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 .back-image{max-width:100%;display:block;margin:0 auto}.tpro_shortcode .tpro-col-lg-6 textarea{border-color:transparent;box-shadow:none;background-color:#eee;padding:4px 6px;resize:none;text-align:center;max-width:100%}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border-width:1px;border-style:solid;border-color:#cbcbcb;cursor:pointer}@media (max-width:1200px){.spftestimonial-metabox .tpro_shortcode{display:block}.tpro_shortcode .tpro-col-lg-6{width:100%;display:block;border-bottom:1px solid #ddd;border-right:none}.tpro_shortcode .tpro-col-lg-6:last-child{padding-bottom:42px}}.sp-testimonial-shortcode{background-color:rgba(82,179,217,.11);padding:8px 12px;display:inline-block;margin-left:8px}.selectable{-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.js #sp_tpro_meta_options.postbox .handlediv,.js #sp_tpro_meta_options.postbox .hndle,.js #sp_tpro_meta_options.postbox .postbox-header,.js #sp_tpro_shortcode_options.postbox .handlediv,.js #sp_tpro_shortcode_options.postbox .hndle,.js #sp_tpro_shortcode_options.postbox .postbox-header{display:none}.sp-testimonial-font-color .wp-picker-container,.sp-testimonial-font-load .spftestimonial--switcher,.spftestimonial-field-typography .spftestimonial--block .chosen-container,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--font-size,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--letter-spacing,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--line-height,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-bottom,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-left,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-right,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-top{pointer-events:none;opacity:.6}.sp-testimonial-text-center{text-align:center}div.sp-testimonial-help .wp-badge{border:none;background:url(../images/icon-256.png) right no-repeat;background-size:128px 128px;box-shadow:none;height:auto;padding-top:128px}.about-wrap.sp-testimonial-help [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.about-wrap [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.sp-testimonial-help [class$="-col"] .col{flex:1;align-self:flex-start}.sp-testimonial-help .col{margin-top:40px}.sp-testimonial-help.about-wrap [class$="-col"] .col+.col{margin-left:0}.sp-testimonial-help.about-wrap .help-section[class$="-col"] .col+.col{margin-left:20px}div.sp-testimonial-help .headline-feature.feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;max-width:100%;height:0;text-align:center}div.sp-testimonial-help .headline-feature.feature-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}div.sp-testimonial-help .feature-section .sp-testimonial-feature{background-color:#fff;padding:20px 20px;border:1px solid #ddd}div.sp-testimonial-help .feature-section .sp-testimonial-feature h3{font-size:16px;margin-top:18px}div.sp-testimonial-help .feature-section i.sp-testimonial-font-icon{font-size:30px;display:block;color:#1595ce}div.sp-testimonial-help .sp-testimonial-features .feature-section span.dashicons{font-size:22px;color:#fff;background-color:#1595ce;width:28px;height:28px;line-height:28px;border-radius:50%;margin-right:10px}div.sp-testimonial-help .sp-testimonial-features .feature-section{margin-bottom:40px;margin-left:-2%}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature h3{margin-top:0}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature p{margin-bottom:0}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}div.sp-testimonial-help .sp-testimonial-features .feature-section.three-col .col{min-width:31.3%;max-width:31.3%;margin-top:20px;padding-left:2%}div.sp-testimonial-help .sp-testimonial-features .sp-testimonial-subtitle{font-size:1.2em;margin-bottom:26px}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer{position:fixed;bottom:0;background:#fff;width:calc(100% - 195px);z-index:9;margin-left:-25px;text-align:center;border:1px solid #dfdfdf;padding:15px 0;border-bottom:none}div.sp-testimonial-help .sp-testimonial-features h2{font-size:2.5em;font-weight:400}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer a.button{margin:0 8px}.sp-testimonial-upgrade>h1{font-size:2.5em;color:#444;font-weight:300}.sp-testimonial-upgrade>h1 span{font-weight:400}.sp-testimonial-upgrade .about-text{margin-bottom:0}.sp-testimonial-upgrade ul{margin-top:0}.about-wrap.sp-testimonial-upgrade .about-text{min-height:60px}.about-wrap.sp-testimonial-upgrade hr{order:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.sp-testimonial-upgrade .sp-testimonial-features .feature-section{margin-bottom:40px;display:flex;flex-wrap:wrap}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature h3{margin-top:0}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature p{margin-bottom:0}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}.sp-testimonial-upgrade .sp-testimonial-features .feature-section.three-col .col{min-width:32%;max-width:32%;margin-top:20px;display:flex;align-self:auto}.sp-testimonial-upgrade .sp-testimonial-features .sp-testimonial-subtitle{font-size:1.2em;margin-bottom:26px}.sp-testimonial-upgrade .sp-testimonial-features h2,.sp-testimonial-upgrade .sp-tfree-promo-video-title{font-size:2.2em;font-weight:400}.sp-testimonial-join-community h2{font-size:2em}.sp-testimonial-upgrade .sp-testimonial-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}.sp-testimonial-upgrade .sp-testimonial-upgrade-sticky-footer a.button{margin:0 8px}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn{display:inline-block;padding:0 20px 0 0}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn a,.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn{text-decoration:none;text-align:center;font-size:16px}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn a:focus{outline:0}.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn,.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:first-child a{background:#1595ce;padding:0 15px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:500}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:last-child a{text-decoration:underline}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn a i{margin-left:4px}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:last-child a i{font-size:14px}.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn{display:inline-block}#sp-testimonial-review-notice{padding:15px 15px 15px 0;background-color:#fff;border-radius:3px;margin:20px 20px 0 0;margin-bottom:20px}#sp-testimonial-review-notice .sp-testimonial-plugin-icon{float:left;line-height:90px;text-align:center;width:100px;height:100px;margin-right:15px}#sp-testimonial-review-notice .sp-testimonial-plugin-icon img{max-width:83px;vertical-align:middle}#sp-testimonial-review-notice .sp-testimonial-notice-text{overflow:hidden}#sp-testimonial-review-notice .sp-testimonial-notice-text h3{font-size:24px;margin:0 0 5px;font-weight:400;line-height:1}#sp-testimonial-review-notice .sp-testimonial-notice-text p{margin:10px 0 10px 0;font-size:13px}#sp-testimonial-review-notice .sp-testimonial-notice-text p.sp-testimonial-review-actions{margin:10px 0 2px 0}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a{text-decoration:none;margin-right:8px;color:#63a37b;display:inline-block;position:relative}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a span{padding-right:2px}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a.button{color:#fff}@media (max-width:960px){div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer{width:calc(100%)}}@media screen and (max-width:782px){div.sp-testimonial-help .three-col .col{min-width:48%!important;max-width:48%!important;margin-left:0!important}}@media (max-width:500px){div.sp-testimonial-help .wp-badge{background-position-x:center}div.sp-testimonial-help .three-col .col{min-width:100%!important;max-width:100%!important;margin-top:1em}}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border:1px solid #cbcbcb}.sp-testimonial-copy-btn{display:inline-block;height:15px;line-height:38px;margin-bottom:-4px;margin-right:-30px;cursor:pointer;position:relative;z-index:99}.sp-testimonial-after-copy-text{bottom:0;opacity:0;z-index:9999999;position:fixed;width:230px;left:180px;text-align:center;padding:15px 15px;line-height:15px;color:#fff;border-radius:3px;background:#32373c;border:1px solid #32373c}.sp-testimonial-after-copy-text .fa-check-circle{font-size:14px;margin-right:2px;color:#5db62e}.post-type-spt_shortcodes #sp-testimonial-show-preview{position:fixed;right:144px;bottom:30px;z-index:1001;width:155px;text-align:center;padding:10px 0;background:#54b154;color:#fff;border-radius:3px;text-decoration:none;display:block;font-weight:500;text-transform:uppercase;letter-spacing:.2px;margin:0;box-sizing:border-box;border-color:#44a944;overflow:hidden}.post-type-spt_testimonial #sp-testimonial-show-preview,.post-type-spt_testimonial_form #sp-testimonial-show-preview{display:none}div#sp_tpro_live_preview{padding:0;margin:-7px -13px 6px}#sp_tpro_shortcode_options.postbox #sp_tpro_live_preview .postbox-header{display:block}.sp-testimonial-column-image{width:50px;height:auto}.sprtf-gutenberg-shortcode.editor-styles-wrapper{padding:0;line-height:24px}.editor-styles-wrapper .sprtf_block_shortcode img{box-shadow:none}.block-editor-page .editor-styles-wrapper select.sprtf-shortcode-selector,.block-editor-page select.sprtf-shortcode-selector,.block-editor-page select.sprtf-shortcode-selector:focus,.block-editor-page select.sprtf-shortcode-selector:focus-visible{width:250px;padding:5px;border:1px solid #ccc;font-size:13px;padding-right:25px}.block-editor-page .editor-styles-wrapper i{font-style:normal}
src/Frontend/Frontend.php CHANGED
@@ -54,7 +54,7 @@ class Frontend {
54
  }
55
 
56
  /**
57
- * Shorcode render.
58
  *
59
  * @param array $attributes Schortcode attributes.
60
  *
54
  }
55
 
56
  /**
57
+ * Shortcode render.
58
  *
59
  * @param array $attributes Schortcode attributes.
60
  *
src/Frontend/Views/templates/testimonial/content.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Client content.
4
  *
5
  * This template can be overridden by copying it to your theme/testimonial-free/templates/testimonial/content.php
6
  *
1
  <?php
2
  /**
3
+ * Testimonial content.
4
  *
5
  * This template can be overridden by copying it to your theme/testimonial-free/templates/testimonial/content.php
6
  *
src/Frontend/assets/js/sp-slick-active.js CHANGED
@@ -17,7 +17,7 @@ jQuery(document).ready(function ($) {
17
  var tfree_custom_slider_id = $(this).attr('id');
18
  var tpCarouselData = $(this).data('slick');
19
 
20
- if (tfree_custom_slider_id.length != 0) {
21
  // my slick slider as constant object
22
  var mySlider = $('#' + tfree_custom_slider_id).on('init', function (slick) {
23
  if (tpCarouselData.adaptiveHeight == true) {
17
  var tfree_custom_slider_id = $(this).attr('id');
18
  var tpCarouselData = $(this).data('slick');
19
 
20
+ if ( tfree_custom_slider_id.length != 0 && ! $( '#' + tfree_custom_slider_id ).hasClass('slick-initialized') ) {
21
  // my slick slider as constant object
22
  var mySlider = $('#' + tfree_custom_slider_id).on('init', function (slick) {
23
  if (tpCarouselData.adaptiveHeight == true) {
src/Frontend/assets/js/sp-slick-active.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready((function($){$(".sp-testimonial-free-section").each((function(index){var _this=$(this),custom_id=$(this).attr("id"),preloader;if("1"==_this.data("preloader")){var parents_class,parents_siblings_id=$("#"+custom_id).parent(".sp-testimonial-free-wrapper").find(".sp-testimonial-preloader").attr("id");$(window).load((function(){$("#"+parents_siblings_id).animate({opacity:1},600).hide(),$("#"+custom_id).animate({opacity:1},600)}))}var tfree_custom_slider_id=$(this).attr("id"),tpCarouselData=$(this).data("slick");if(0!=tfree_custom_slider_id.length){var mySlider=$("#"+tfree_custom_slider_id).on("init",(function(slick){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(this)})).on("beforeChange",(function(slick,currentSlide,nextSlide){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(this)})).slick({pauseOnFocus:!1,slidesToScroll:1,accessibility:!0,prevArrow:"<button class='slick-prev' data-role='none' aria-label='Previous slide'><i class='fa fa-angle-left'></i></button>",nextArrow:"<button class='slick-next' data-role='none' aria-label='Next slide'><i class='fa fa-angle-right'></i></button>"});function multiSlideAdaptiveHeight(slider){let activeSlides=[],tallestSlide=0;setTimeout((function(){$(".slick-track .slick-active",slider).each((function(i){activeSlides[i]=$(this).outerHeight()})),activeSlides.forEach((function(item){item>tallestSlide&&(tallestSlide=item)})),$(".slick-list",slider).height(tallestSlide).css({transition:"all .5s ease"})}),10)}$(window).on("resize",(function(){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(mySlider)}))}$(".sp_tpro-preview-box button.slick-next,.sp_tpro-preview-box button.slick-prev").click((function(e){e.preventDefault()}))}))}));
1
+ jQuery(document).ready((function($){$(".sp-testimonial-free-section").each((function(index){var _this=$(this),custom_id=$(this).attr("id"),preloader;if("1"==_this.data("preloader")){var parents_class,parents_siblings_id=$("#"+custom_id).parent(".sp-testimonial-free-wrapper").find(".sp-testimonial-preloader").attr("id");$(window).load((function(){$("#"+parents_siblings_id).animate({opacity:1},600).hide(),$("#"+custom_id).animate({opacity:1},600)}))}var tfree_custom_slider_id=$(this).attr("id"),tpCarouselData=$(this).data("slick");if(0!=tfree_custom_slider_id.length&&!$("#"+tfree_custom_slider_id).hasClass("slick-initialized")){var mySlider=$("#"+tfree_custom_slider_id).on("init",(function(slick){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(this)})).on("beforeChange",(function(slick,currentSlide,nextSlide){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(this)})).slick({pauseOnFocus:!1,slidesToScroll:1,accessibility:!0,prevArrow:"<button class='slick-prev' data-role='none' aria-label='Previous slide'><i class='fa fa-angle-left'></i></button>",nextArrow:"<button class='slick-next' data-role='none' aria-label='Next slide'><i class='fa fa-angle-right'></i></button>"});function multiSlideAdaptiveHeight(slider){let activeSlides=[],tallestSlide=0;setTimeout((function(){$(".slick-track .slick-active",slider).each((function(i){activeSlides[i]=$(this).outerHeight()})),activeSlides.forEach((function(item){item>tallestSlide&&(tallestSlide=item)})),$(".slick-list",slider).height(tallestSlide).css({transition:"all .5s ease"})}),10)}$(window).on("resize",(function(){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(mySlider)}))}$(".sp_tpro-preview-box button.slick-next,.sp_tpro-preview-box button.slick-prev").click((function(e){e.preventDefault()}))}))}));
src/Includes/TestimonialFree.php CHANGED
@@ -16,6 +16,7 @@ use ShapedPlugin\TestimonialFree\Includes\TFREE_Functions;
16
  use ShapedPlugin\TestimonialFree\Includes\Import_Export;
17
  use ShapedPlugin\TestimonialFree\Frontend\Frontend;
18
  use ShapedPlugin\TestimonialFree\Frontend\Views\Deprecated_Shortcodes;
 
19
 
20
  // If this file is called directly, abort.
21
  if ( ! defined( 'WPINC' ) ) {
@@ -129,6 +130,13 @@ class TestimonialFree {
129
  if ( class_exists( 'Polylang' ) ) {
130
  add_filter( 'pll_get_post_types', array( $this, 'sp_free_testimonial_polylang' ), 10, 2 );
131
  }
 
 
 
 
 
 
 
132
  }
133
 
134
  /**
16
  use ShapedPlugin\TestimonialFree\Includes\Import_Export;
17
  use ShapedPlugin\TestimonialFree\Frontend\Frontend;
18
  use ShapedPlugin\TestimonialFree\Frontend\Views\Deprecated_Shortcodes;
19
+ use ShapedPlugin\TestimonialFree\Admin\Sp_Testimonial_Free_Gutenberg_Block;
20
 
21
  // If this file is called directly, abort.
22
  if ( ! defined( 'WPINC' ) ) {
130
  if ( class_exists( 'Polylang' ) ) {
131
  add_filter( 'pll_get_post_types', array( $this, 'sp_free_testimonial_polylang' ), 10, 2 );
132
  }
133
+
134
+ /**
135
+ * Gutenberg block.
136
+ */
137
+ if ( version_compare( $GLOBALS['wp_version'], '5.3', '>=' ) ) {
138
+ new Sp_Testimonial_Free_Gutenberg_Block();
139
+ }
140
  }
141
 
142
  /**
testimonial-free.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Real Testimonials
13
  * Plugin URI: https://shapedplugin.com/real-testimonials/?ref=1
14
  * Description: Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
15
- * Version: 2.5.1
16
  * Author: ShapedPlugin
17
  * Author URI: https://shapedplugin.com/
18
  * Text Domain: testimonial-free
@@ -37,7 +37,7 @@ function is_testimonial_pro_active() {
37
  }
38
 
39
  define( 'SP_TFREE_NAME', 'Real Testimonials' );
40
- define( 'SP_TFREE_VERSION', '2.5.1' );
41
  define( 'SP_TFREE_PATH', plugin_dir_path( __FILE__ ) . 'src/' );
42
  define( 'SP_TFREE_URL', plugin_dir_url( __FILE__ ) . 'src/' );
43
  define( 'SP_TFREE_BASENAME', plugin_basename( __FILE__ ) );
12
  * Plugin Name: Real Testimonials
13
  * Plugin URI: https://shapedplugin.com/real-testimonials/?ref=1
14
  * Description: Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
15
+ * Version: 2.5.2
16
  * Author: ShapedPlugin
17
  * Author URI: https://shapedplugin.com/
18
  * Text Domain: testimonial-free
37
  }
38
 
39
  define( 'SP_TFREE_NAME', 'Real Testimonials' );
40
+ define( 'SP_TFREE_VERSION', '2.5.2' );
41
  define( 'SP_TFREE_PATH', plugin_dir_path( __FILE__ ) . 'src/' );
42
  define( 'SP_TFREE_URL', plugin_dir_url( __FILE__ ) . 'src/' );
43
  define( 'SP_TFREE_BASENAME', plugin_basename( __FILE__ ) );