Strong Testimonials - Version 2.51.9

Version Description

Download this release

Release Info

Developer raldea89
Plugin Icon 128x128 Strong Testimonials
Version 2.51.9
Comparing to
See all releases

Code changes from version 2.51.8 to 2.51.9

admin/about/class-strong-testimonials-welcome.php CHANGED
@@ -5,12 +5,39 @@ class Strong_Testimonials_Welcome {
5
  public function __construct() {
6
  add_action( 'admin_menu', array( $this, 'register' ) );
7
  add_action( 'admin_head', array( $this, 'hide_menu' ) );
 
8
  }
9
 
10
  public function hide_menu() {
11
  remove_submenu_page( 'index.php', 'wpmtst-getting-started' );
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  public function register() {
15
 
16
  add_dashboard_page(
@@ -18,239 +45,93 @@ class Strong_Testimonials_Welcome {
18
  esc_html__( 'Welcome to Strong Testimonials', 'strong-testimonials' ),
19
  'manage_options',
20
  'wpmtst-getting-started',
21
- array( $this, 'output' )
22
  );
23
  }
24
 
25
- public function output() {
 
 
 
 
 
 
 
 
26
  ?>
27
- <div id="wpmtst-welcome">
28
 
29
  <div class="container">
30
 
31
  <div class="hero features">
32
 
33
  <div class="mascot">
34
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/mascot-2.svg" alt="<?php esc_attr_e( 'Strong Testimonials Mascot', 'strong-testimonials' ); ?>">
35
  </div>
36
 
37
  <div class="block">
38
- <h1><?php esc_html_e( 'Welcome to Strong Testimonials', 'strong-testimonials' ); ?></h1>
39
- <h6><?php esc_html_e( 'Thank you for choosing Strong Testimonials - Build trust and credibility with your products.', 'strong-testimonials' ); ?></h6>
40
  </div>
41
 
42
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/banner.png" alt="<?php esc_attr_e( 'Watch how to', 'strong-testimonials' ); ?>" class="video-thumbnail">
43
-
44
- <div class="block">
45
-
46
- <div class="feature-list clear">
47
-
48
- <div class="feature-block first">
49
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/7.svg">
50
- <h5><?php esc_html_e( 'Increase Conversions', 'strong-testimonials' ); ?></h5>
51
- <p><?php esc_html_e( 'Make customers 63% more likely to purchase with testimonials that drive sales.', 'strong-testimonials' ); ?></p>
52
- </div>
53
-
54
- <div class="feature-block last">
55
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/8.svg">
56
- <h5><?php esc_html_e( 'Collect Testimonials', 'strong-testimonials' ); ?></h5>
57
- <p><?php esc_html_e( 'Easily collect testimonials from customers by creating forms.', 'strong-testimonials' ); ?></p>
58
- </div>
59
-
60
- <div class="feature-block first">
61
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/5.svg">
62
- <h5><?php esc_html_e( 'Multiple Layouts', 'strong-testimonials' ); ?></h5>
63
- <p><?php esc_html_e( 'Choose from four unique layouts for your testimonials.', 'strong-testimonials' ); ?></p>
64
- </div>
65
-
66
- <div class="feature-block last">
67
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/14.svg">
68
- <h5><?php esc_html_e( 'SEO-friendly', 'strong-testimonials' ); ?></h5>
69
- <p><?php esc_html_e( 'SEO-friendly testimonials that your customers and Search Engines can understand.', 'strong-testimonials' ); ?></p>
70
- </div>
71
-
72
- </div>
73
-
74
- <div class="button-wrap clear">
75
- <div class="left">
76
- <a href="<?php echo esc_url( admin_url( 'edit.php?post_type=wpm-testimonial' ) ); ?>" class="wpmtst-btn wpmtst-btn-block wpmtst-btn-lg wpmtst-btn-purple">
77
- <?php esc_html_e( 'Start Adding Testimonials', 'strong-testimonials' ); ?>
78
- </a>
79
- </div>
80
- <div class="right">
81
- <a href="https://strongtestimonials.com/docs?utm_source=welcome_banner&utm_medium=readdocs&utm_campaign=welcome_banner"
82
- class="wpmtst-btn wpmtst-btn-block wpmtst-btn-lg" target="_blank">
83
- <?php esc_html_e( 'Read the Docs', 'strong-testimonials' ); ?>
84
- </a>
85
- </div>
86
- </div>
87
-
88
  </div>
89
 
90
- </div><!-- hero -->
91
-
92
- <div class="features">
93
-
94
- <div class="block">
95
-
96
- <h1><?php esc_html_e( 'Strong Testimonials Extensions', 'strong-testimonials' ); ?></h1>
97
- <h6><?php esc_html_e( 'Sales copy grabs attention - testimonials drive sales.', 'strong-testimonials' ); ?></h6>
98
 
99
- <div class="feature-list clear">
100
 
101
- <div class="feature-block first">
102
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/1.svg">
103
- <h5><?php esc_html_e( 'Pro Templates', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
104
- <p><?php esc_html_e( 'Create beautiful testimonial designs with a number of predesigned and easy-to-use premium templates.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/pro-templates?utm_source=welcome_banner&utm_medium=pro-templates&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
105
- </div>
106
-
107
- <div class="feature-block last">
108
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/infinitescroll.svg">
109
- <h5><?php esc_html_e( 'Infinite Scroll', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
110
- <p><?php esc_html_e( 'Change properties of the testimonial post type: labels, permalink structure, admin options and post editor features.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/infinite-scroll/?utm_source=welcome_banner&utm_medium=infinite-scroll&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
111
- </div>
112
-
113
- <div class="feature-block first">
114
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/12.svg">
115
- <h5><?php esc_html_e( 'Testimonial Assignment', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
116
- <p><?php esc_html_e( 'Assign testimonials to custom post types for easy management and filtering.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/assignment?utm_source=welcome_banner&utm_medium=assignment&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
117
- </div>
118
 
119
- <div class="feature-block last">
120
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/11.svg">
121
- <h5><?php esc_html_e( 'Custom Properties', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
122
- <p><?php esc_html_e( 'Change properties of the testimonial post type: labels, permalink structure, admin options and post editor features.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/properties?utm_source=welcome_banner&utm_medium=properties&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
123
- </div>
124
-
125
- <div class="feature-block first">
126
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/6.svg">
127
- <h5><?php esc_html_e( 'Advanced View Settings', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
128
- <p><?php esc_html_e( 'Customize your testimonials beyond star ratings, reorder fields and more.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/advanced-views?utm_source=welcome_banner&utm_medium=advanced-views&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
129
- </div>
130
-
131
- <div class="feature-block last">
132
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/9.svg">
133
- <h5><?php esc_html_e( 'Multiple Submission Forms', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
134
- <p><?php esc_html_e( 'Easily collect testimonials from customers by creating and customizing multiple forms at once.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/multiple-forms?utm_source=welcome_banner&utm_medium=multiple-forms&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
135
- </div>
136
-
137
- <div class="feature-block first">
138
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/10.svg">
139
- <h5><?php esc_html_e( 'Custom Form Fields', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
140
- <p><?php esc_html_e( 'Enhance your submission forms to both collect and display additional information.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/custom-fields?utm_source=welcome_banner&utm_medium=custom-fields&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
141
- </div>
142
-
143
- <div class="feature-block last">
144
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/14.svg">
145
- <h5><?php esc_html_e( 'SEO-friendly Testimonials', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
146
- <p><?php esc_html_e( 'Take full advantage of your testimonials with our Schema.org Markup extension.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/review-markup?utm_source=welcome_banner&utm_medium=review-markup&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
147
- </div>
148
-
149
- <div class="feature-block first">
150
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/13.svg">
151
- <h5><?php esc_html_e( 'Spam Control', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
152
- <p><?php esc_html_e( 'Protect your testimonial submission forms from spam and other types of automated abuse.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/captcha?utm_source=welcome_banner&utm_medium=captcha&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
153
- </div>
154
-
155
- <div class="feature-block last">
156
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/15.svg">
157
- <h5><?php esc_html_e( 'Testimonial Importer', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
158
- <p><?php esc_html_e( 'Import reviews from 3rd party sites like: Facebook, Google, Yelp, Zomato & WooCommerce', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/importer?utm_source=welcome_banner&utm_medium=importer&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
159
- </div>
160
-
161
- <div class="feature-block first">
162
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/email.svg">
163
- <h5><?php esc_html_e( 'Enhanced Emails', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
164
- <p><?php esc_html_e( 'We added the option to send an email to the customer upon new testimonial submission. Also, to send an email to the customer when the testimonial is approved.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/enhanced-emails/?utm_source=welcome_banner&utm_medium=enhanced-emails&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
165
- </div>
166
-
167
- <div class="feature-block last">
168
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/filter.svg">
169
- <h5><?php esc_html_e( 'Filters', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
170
- <p><?php esc_html_e( 'Now you can use categories to group your testimonials and have your clients read reviews grouped by service/product type.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/filters/?utm_source=welcome_banner&utm_medium=filters&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
171
- </div>
172
-
173
- <div class="feature-block first">
174
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/rolemanagement.svg">
175
- <h5><?php esc_html_e( 'Role Management', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
176
- <p><?php esc_html_e( 'We’re giving power back to the users and admins can decide which user roles are worthy of adding, editing, or removing testimonials.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/extensions/role-management/?utm_source=welcome_banner&utm_medium=role-management&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
177
- </div>
178
-
179
- <div class="feature-block last">
180
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/features/mailchimp.svg">
181
- <h5><?php esc_html_e( 'Mailchimp integration', 'strong-testimonials' ); ?><div class="pro-label">PRO</div></h5>
182
- <p><?php esc_html_e( 'Now you can subscribe your customers to a Mailchimp list.', 'strong-testimonials' ); ?><br/><a target="_blank" href="https://strongtestimonials.com/pricing/?utm_source=welcome_banner&utm_medium=upgradenow&utm_campaign=welcome_banner"><?php esc_html_e( 'Learn More', 'strong-testimonials' ); ?></a></p>
183
- </div>
184
-
185
- </div><!-- feature-list -->
186
-
187
- </div>
188
-
189
- </div><!-- features -->
190
-
191
- <div class="upgrade">
192
  <div class="block">
193
- <a href="https://strongtestimonials.com/pricing/?utm_source=welcome_banner&utm_medium=upgradenow&utm_campaign=welcome_banner" target="_blank"
194
- class="wpmtst-btn wpmtst-btn-lg wpmtst-btn-orange">
195
- <?php esc_html_e( 'Upgrade Now', 'strong-testimonials' ); ?>
196
- </a>
197
-
198
- </div>
199
- </div><!--/.upgrade-->
200
-
201
-
202
- <div class="testimonials">
203
-
204
- <div class="block clear">
205
- <h1>Happy users of the Strong Testimonials - premium version</h1>
206
- <div class="testimonial-block left">
207
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/testimonial-image-1.jpg">
208
- <p><?php esc_html_e( 'Strong Testimonials is my new, go-to resource for creating pages with multiple staff bios or testimonials. It’s extremely easy to use, update, and customize, and that makes it an invaluable asset. Highly recommend!', 'strong-testimonials' ); ?>
209
- <div style="background-image: url(<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/star.svg)" class="testimonial-stars"></div>
210
- <p><strong><?php esc_html_e( 'Ryan Haught' ); ?></strong><br/><?php esc_html_e( 'Digital Marketer at Heaven’s Family' ); ?></p>
211
- </div>
212
-
213
- <div class="testimonial-block right">
214
- <img src="<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/testimonial-image-2.jpeg">
215
- <p><?php esc_html_e( 'I have used various testimonials plugins. What I get here for free is just amazing. The support is great. And updates fresh. Looking at the ability to get reviews indexed by Google is more than enough reason to get an upgrade.', 'strong-testimonials' ); ?>
216
- <div style="background-image: url(<?php echo esc_attr( WPMTST_ADMIN_URL ); ?>/img/star.svg)" class="testimonial-stars"></div>
217
- <p><strong><?php esc_html_e( 'Johan Horak' ); ?></strong><br/><?php esc_html_e( 'Marketing at CapeHolidays' ); ?></p>
218
  </div>
219
-
220
  </div>
221
 
222
- </div><!-- testimonials -->
223
-
224
- <div class="footer">
225
-
226
- <div class="block clear">
227
 
 
 
 
 
 
 
 
 
 
228
  <div class="button-wrap clear">
229
  <div class="left">
230
- <a href="<?php echo esc_url( admin_url( 'edit.php?post_type=wpm-testimonial' ) ); ?>"
231
- class="wpmtst-btn wpmtst-btn-block wpmtst-btn-lg wpmtst-btn-purple">
232
- <?php esc_html_e( 'Start Adding Testimonials', 'strong-testimonials' ); ?>
233
- </a>
234
  </div>
235
  <div class="right">
236
- <a href="https://strongtestimonials.com/pricing/?utm_source=welcome_banner&utm_medium=upgradenow&utm_campaign=welcome_banner" target="_blank"
237
- class="wpmtst-btn wpmtst-btn-block wpmtst-btn-lg wpmtst-btn-purple">
238
- <?php esc_html_e( 'Upgrade now', 'strong-testimonials' ); ?>
239
- </a>
240
  </div>
241
  </div>
242
-
243
  </div>
244
-
245
- </div><!-- footer -->
246
-
247
  </div><!-- container -->
248
-
249
- </div><!-- wpmtst welcome -->
250
  <?php
251
  }
252
-
253
-
254
  }
255
 
256
  new Strong_Testimonials_Welcome();
5
  public function __construct() {
6
  add_action( 'admin_menu', array( $this, 'register' ) );
7
  add_action( 'admin_head', array( $this, 'hide_menu' ) );
8
+ add_action( 'wpmtst_after_update_setup', array( $this, 'wpmtst_on_activation' ), 15 );
9
  }
10
 
11
  public function hide_menu() {
12
  remove_submenu_page( 'index.php', 'wpmtst-getting-started' );
13
  }
14
 
15
+ /**
16
+ * Add activation hook. Need to be this way so that the About page can be created and accessed
17
+ *
18
+ * @param $first_install
19
+ * @since 2.51.9
20
+ */
21
+ public function wpmtst_on_activation( $first_install ) {
22
+
23
+ if ( $first_install ) {
24
+ add_action( 'activated_plugin', array( $this, 'redirect_on_activation' ) );
25
+ }
26
+ }
27
+
28
+ /**
29
+ * Redirect to About page when activated
30
+ *
31
+ * @param $plugin
32
+ * @since 2.51.9
33
+ */
34
+ public function redirect_on_activation( $plugin ) {
35
+
36
+ if ( WPMTST_PLUGIN === $plugin ) {
37
+ wp_safe_redirect( admin_url( 'index.php?page=wpmtst-getting-started' ) );
38
+ exit;
39
+ }
40
+ }
41
  public function register() {
42
 
43
  add_dashboard_page(
45
  esc_html__( 'Welcome to Strong Testimonials', 'strong-testimonials' ),
46
  'manage_options',
47
  'wpmtst-getting-started',
48
+ array( $this, 'about_page' )
49
  );
50
  }
51
 
52
+ /**
53
+ * @since 2.51.9
54
+ * Display About page
55
+ */
56
+ public function about_page() {
57
+
58
+ // WPChill Welcome Class
59
+ require_once WPMTST_DIR . 'includes/submodules/banner/class-wpchill-welcome.php';
60
+ $welcome = WPChill_Welcome::get_instance();
61
  ?>
62
+ <div id="wpchill-welcome">
63
 
64
  <div class="container">
65
 
66
  <div class="hero features">
67
 
68
  <div class="mascot">
69
+ <img src="<?php echo esc_url( WPMTST_ADMIN_URL ); ?>/img/mascot-2.svg" alt="<?php esc_attr_e( 'Strong Testimonials Mascot', 'strong-testimonials' ); ?>">
70
  </div>
71
 
72
  <div class="block">
73
+ <?php $welcome->display_heading( esc_html__( 'Thank you for installing Strong Testimonials', 'strong-testimonials' ) ); ?>
74
+ <?php $welcome->display_subheading( esc_html__( 'You\'re just a few steps away from adding and displaying your first testimonial on your website with the easiest to use WordPress review and testimonial plugin on the market.', 'strong-testimonials' ) ); ?>
75
  </div>
76
 
77
+ <div class="button-wrap-single">
78
+ <?php $welcome->display_button( esc_html__( 'Read our step-by-step guide to get started', 'strong-testimonials' ), 'https://strongtestimonials.com/docs/add-testimonials-to-your-website/', true ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  </div>
80
 
81
+ <?php $welcome->display_empty_space(); ?>
 
 
 
 
 
 
 
82
 
83
+ <img src="<?php echo esc_url( WPMTST_ADMIN_URL ); ?>/img/banner.png" alt="<?php esc_attr_e( 'Watch how to', 'strong-testimonials' ); ?>" class="video-thumbnail">
84
 
85
+ <?php $welcome->horizontal_delimiter(); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  <div class="block">
88
+ <?php $welcome->display_heading( esc_html__( 'Features&Add-ons', 'strong-testimonials' ) ); ?>
89
+ <?php $welcome->layout_start( 2, 'feature-list clear' ); ?>
90
+ <?php $welcome->display_extension( esc_html__( 'Multiple views', 'strong-testimonials' ), esc_html__( 'Take advantage of our three testimonial views - display, slider, and form, and use them to apply custom settings to multiple testimonials.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/multiple-views.png', true ); ?>
91
+ <?php $welcome->display_extension( esc_html__( 'Predesigned templates', 'strong-testimonials' ), esc_html__( 'Choose a built-in template, layout, background, and font color to showcase your testimonials in a visually-appealing way.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/predesigned-templates.png', true ); ?>
92
+ <?php $welcome->display_extension( esc_html__( 'Testimonial Importer', 'strong-testimonials' ), esc_html__( 'Keep all your testimonials in one single place by importing reviews from third-party websites/plugins, such as: Google, Facebook, Yelp, Zomato, Woocommerce.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/testimonial-importer.png', true ); ?>
93
+ <?php $welcome->display_extension( esc_html__( 'Testimonial forms', 'strong-testimonials' ), esc_html__( 'Collect testimonials from customers via different types of forms along with their data - name, email, company name, company website, featured image, star rating.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/testimonial-forms.png', true ); ?>
94
+ <?php $welcome->display_extension( esc_html__( 'User role management', 'strong-testimonials' ), esc_html__( 'As, an admin, easily decide which user roles are worthy of adding, editing, or removing testimonials.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/user-role-management.png', true ); ?>
95
+ <?php $welcome->display_extension( esc_html__( 'Spam protection', 'strong-testimonials' ), esc_html__( 'Add spam control to your forms with our Captcha extension.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/spam-protection.png', true ); ?>
96
+ <?php $welcome->display_extension( esc_html__( 'Email integration', 'strong-testimonials' ), esc_html__( 'Unlock more marketing and automation potential by sending users a targeted message or a coupon to thank them for leaving a good review and subscribing to a MailChimp email list', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/email-integration.png', true ); ?>
97
+ <?php $welcome->display_extension( esc_html__( 'SEO-friendly markup', 'strong-testimonials' ), esc_html__( 'Include rating markup to encourage search engines to display rich snippets - whether or not you use a star rating field on your testimonials.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/seo-friendly-markup.png', true ); ?>
98
+ <?php $welcome->display_extension( esc_html__( 'Pending testimonials', 'strong-testimonials' ), esc_html__( 'Manually verify and approve your incoming testimonials, or make use of the auto-approve feature to save time.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/pending-testimonials.png', true ); ?>
99
+ <?php $welcome->display_extension( esc_html__( 'Testimonial assignment', 'strong-testimonials' ), esc_html__( 'Assign testimonials to certain custom post types.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/testimonial-assignment.png', true ); ?>
100
+ <?php $welcome->display_extension( esc_html__( 'Testimonial category filters', 'strong-testimonials' ), esc_html__( 'Increase workflow and user experience by filtering testimonials by category, product/service, or star rating.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/testimonial-category-filters.png', true ); ?>
101
+ <?php $welcome->display_extension( esc_html__( 'Properties ', 'strong-testimonials' ), esc_html__( 'Change properties of the testimonial post type: labels, permalink structure, admin options and post editor features.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/features/properties.png', true ); ?>
102
+ <?php $welcome->layout_end(); ?>
103
+ <div class="button-wrap-single clear">
104
+ <div class="right">
105
+ <?php $welcome->display_button( esc_html__( 'Upgrade Now', 'strong-testimonials' ), 'https://strongtestimonials.com/pricing/?utm_source=welcome_banner&utm_medium=upgradenow&utm_campaign=welcome_banner&utm_content=first_button', true, '#E76F51' ); ?>
106
+ </div>
 
 
 
 
 
 
107
  </div>
 
108
  </div>
109
 
110
+ <?php $welcome->horizontal_delimiter(); ?>
 
 
 
 
111
 
112
+ <div class="block">
113
+ <div class="testimonials">
114
+ <div class="clear">
115
+ <?php $welcome->display_heading( esc_html__( 'Happy users of Strong Testimonials', 'strong-testimonials' ) ); ?>
116
+
117
+ <?php $welcome->display_testimonial( esc_html__( 'Strong Testimonials is my new, go-to resource for creating pages with multiple staff bios or testimonials. It\'s extremely easy to use, update, and customize, and that makes it an invaluable asset. Highly recommend!.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/testimonial-image-1.jpg', 'Ryan Haught', 'Digital Marketer at Heaven\'s Family' ); ?>
118
+ <?php $welcome->display_testimonial( esc_html__( 'I have used various testimonials plugins. What I get here for free is just amazing. The support is great. And updates fresh. Looking at the ability to get reviews indexed by Google is more than enough reason to get an upgrade.', 'strong-testimonials' ), esc_url( WPMTST_ADMIN_URL ) . '/img/testimonial-image-2.jpeg', 'Johan Horak', 'Marketing at CapeHolidays' ); ?>
119
+ </div>
120
+ </div><!-- testimonials -->
121
  <div class="button-wrap clear">
122
  <div class="left">
123
+ <?php $welcome->display_button( esc_html__( 'Start Adding Testimonials', 'strong-testimonials' ), esc_url( admin_url( 'edit.php?post_type=wpm-testimonial' ) ), true ); ?>
 
 
 
124
  </div>
125
  <div class="right">
126
+ <?php $welcome->display_button( esc_html__( 'Upgrade Now', 'strong-testimonials' ), 'https://strongtestimonials.com/pricing/?utm_source=welcome_banner&utm_medium=upgradenow&utm_campaign=welcome_banner&utm_content=second_button', true, '#E76F51' ); ?>
 
 
 
127
  </div>
128
  </div>
 
129
  </div>
130
+ </div><!-- hero -->
 
 
131
  </div><!-- container -->
132
+ </div><!-- wpchill welcome -->
 
133
  <?php
134
  }
 
 
135
  }
136
 
137
  new Strong_Testimonials_Welcome();
admin/admin.php CHANGED
@@ -38,10 +38,6 @@ function wpmtst_update_check() {
38
  if ( $version == WPMTST_VERSION ) {
39
  return;
40
  }
41
- // Redirect to About page afterwards. On new install or (de)activation only.
42
- if ( false === $version ) {
43
- add_option( 'wpmtst_do_activation_redirect', true );
44
- }
45
 
46
  Strong_Testimonials_Updater::update();
47
  }
@@ -52,12 +48,6 @@ add_action( 'admin_init', 'wpmtst_update_check', 5 );
52
  * Initialize.
53
  */
54
  function wpmtst_admin_init() {
55
- /**
56
- * Redirect to About page for new installs only
57
- *
58
- * @since 2.28.4
59
- */
60
- wpmtst_activation_redirect();
61
 
62
  /**
63
  * Custom action hooks
@@ -85,19 +75,6 @@ function wpmtst_action_captcha_options_changed() {
85
 
86
  add_action( 'admin_action_captcha-options-changed', 'wpmtst_action_captcha_options_changed' );
87
 
88
- /**
89
- * Redirect to About page.
90
- *
91
- * @since 2.28.4
92
- */
93
- function wpmtst_activation_redirect() {
94
- if ( get_option( 'wpmtst_do_activation_redirect', false ) ) {
95
- delete_option( 'wpmtst_do_activation_redirect' );
96
- wp_redirect( admin_url( 'index.php?page=wpmtst-getting-started' ) );
97
- exit;
98
- }
99
- }
100
-
101
  /**
102
  * Are we on a testimonial admin screen?
103
  *
38
  if ( $version == WPMTST_VERSION ) {
39
  return;
40
  }
 
 
 
 
41
 
42
  Strong_Testimonials_Updater::update();
43
  }
48
  * Initialize.
49
  */
50
  function wpmtst_admin_init() {
 
 
 
 
 
 
51
 
52
  /**
53
  * Custom action hooks
75
 
76
  add_action( 'admin_action_captcha-options-changed', 'wpmtst_action_captcha_options_changed' );
77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  /**
79
  * Are we on a testimonial admin screen?
80
  *
admin/class-strong-testimonials-admin-scripts.php CHANGED
@@ -64,13 +64,7 @@ class Strong_Testimonials_Admin_Scripts {
64
  WPMTST_ASSETS_CSS . 'admin-global.css',
65
  array(),
66
  $plugin_version );
67
-
68
- wp_register_style(
69
- 'wpmtst-admin-welcome-style',
70
- WPMTST_ASSETS_CSS . 'admin-welcome.css',
71
- array(),
72
- $plugin_version );
73
-
74
  wp_register_style(
75
  'wpmtst-admin-style',
76
  WPMTST_ASSETS_CSS . 'admin.css',
@@ -260,10 +254,7 @@ class Strong_Testimonials_Admin_Scripts {
260
  'templateTagTitle' => esc_html__( 'click to insert into message at caret', 'strong-testimonials' ),
261
  )
262
  );
263
-
264
- if ( $screen->id === 'dashboard_page_wpmtst-getting-started' ) {
265
- wp_enqueue_style( 'wpmtst-admin-welcome-style' );
266
- }
267
  }
268
 
269
  /**
64
  WPMTST_ASSETS_CSS . 'admin-global.css',
65
  array(),
66
  $plugin_version );
67
+
 
 
 
 
 
 
68
  wp_register_style(
69
  'wpmtst-admin-style',
70
  WPMTST_ASSETS_CSS . 'admin.css',
254
  'templateTagTitle' => esc_html__( 'click to insert into message at caret', 'strong-testimonials' ),
255
  )
256
  );
257
+
 
 
 
258
  }
259
 
260
  /**
admin/img/features/country-selector.png ADDED
Binary file
admin/img/features/email-integration.png ADDED
Binary file
admin/img/features/multiple-views.png ADDED
Binary file
admin/img/features/pending-testimonials.png ADDED
Binary file
admin/img/features/predesigned-templates.png ADDED
Binary file
admin/img/features/properties.png ADDED
Binary file
admin/img/features/seo-friendly-markup.png ADDED
Binary file
admin/img/features/spam-protection.png ADDED
Binary file
admin/img/features/testimonial-assignment.png ADDED
Binary file
admin/img/features/testimonial-category-filters.png ADDED
Binary file
admin/img/features/testimonial-forms.png ADDED
Binary file
admin/img/features/testimonial-importer.png ADDED
Binary file
admin/img/features/user-role-management.png ADDED
Binary file
assets/css/admin-welcome.min.css DELETED
@@ -1 +0,0 @@
1
- #wpmtst-welcome .clear:after,#wpmtst-welcome .clear:before{content:" ";display:table}#wpcontent{padding-left:0!important;position:relative}#wpmtst-welcome{padding-top:80px}#wpmtst-welcome *,#wpmtst-welcome ::after,#wpmtst-welcome ::before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpmtst-welcome .clear:after{clear:both}#wpmtst-welcome .container{margin:0 auto;max-width:800px;padding:0}#wpmtst-welcome .block{padding:40px}#wpmtst-welcome img{max-width:100%;height:auto}#wpmtst-welcome h1{color:#222;font-size:24px;text-align:center;margin:0 0 16px}#wpmtst-welcome h5{color:#222;font-size:16px;margin:0 0 8px}#wpmtst-welcome h6{font-size:16px;font-weight:400;line-height:1.6;text-align:center;margin:0}#wpmtst-welcome .wpmtst-btn-lg{font-size:16px;font-weight:600;padding:16px 28px}#wpmtst-welcome .wpmtst-btn-block{display:block;width:100%}#wpmtst-welcome .wpmtst-btn{border:0;border-radius:40px;cursor:pointer;display:inline-block;margin:0;text-decoration:none;text-align:center;vertical-align:middle;white-space:nowrap;box-shadow:none}#wpmtst-welcome .features,#wpmtst-welcome .hero,#wpmtst-welcome .testimonials{box-shadow:-3px 2px 70px 0 rgba(128,144,174,.1)}#wpmtst-welcome .wpmtst-btn-purple{background-color:#5D3CE4;border-color:#5D3CE4;color:#fff}#wpmtst-welcome .wpmtst-btn-orange{background-color:#FBC555;border-color:#FBC555;color:#fff}#wpmtst-welcome .wpmtst-btn-white{background-color:#fff;border-color:#fff;color:#222}#wpmtst-welcome .button-wrap{max-width:590px;margin:0 auto}#wpmtst-welcome .button-wrap .left{margin-bottom:10px}@media screen and (min-width:720px){#wpmtst-welcome .button-wrap .left{margin-bottom:0;float:left;width:50%;padding-right:20px}#wpmtst-welcome .button-wrap .right{float:right;width:50%;padding-left:20px}}#wpmtst-welcome .hero{background-color:#fff;border-radius:10px;margin-bottom:30px;position:relative;padding-top:40px}#wpmtst-welcome .hero .mascot{background-color:#fff;border-radius:50%;height:90px;width:90px;padding:28px;position:absolute;top:-45px;left:50%;margin-left:-45px}#wpmtst-welcome .hero .video-thumbnail{display:block;margin:0;width:100%}#wpmtst-welcome .hero .button-wrap{margin-top:20px}#wpmtst-welcome .features{background-color:#fff;border-top-left-radius:10px;border-top-right-radius:10px;position:relative;padding-top:20px}#wpmtst-welcome .features .feature-list{margin-top:40px}#wpmtst-welcome .features .feature-block{margin-bottom:30px}@media screen and (min-width:720px){#wpmtst-welcome .features .feature-block{margin-bottom:0;float:left;width:50%;padding-bottom:32px;overflow:auto}#wpmtst-welcome .features .feature-block.first{padding-right:22px;clear:both}#wpmtst-welcome .features .feature-block.last{padding-left:22px}}#wpmtst-welcome .features .feature-block img{float:left;max-width:44px;max-height:44px}#wpmtst-welcome .features .feature-block h5,#wpmtst-welcome .features .feature-block p{margin-left:70px}#wpmtst-welcome .features .pro-label{display:inline-block;line-height:1;color:#fff;background-color:#5333ED;padding:3px 6px;font-size:.75rem;border-radius:20px;vertical-align:text-top;margin-left:20px}#wpmtst-welcome .features .feature-list a{color:#5333ED}#wpmtst-welcome .upgrade{background-color:#5333ED;color:rgba(255,255,255,.7);text-align:center}#wpmtst-welcome .upgrade h1{color:#fff}@media screen and (min-width:720px){#wpmtst-welcome .upgrade .left{float:left;width:50%;padding-left:20%;margin-bottom:30px;text-align:left}#wpmtst-welcome .upgrade .right{float:left;width:50%;padding-right:20%;margin-bottom:30px;text-align:left}#wpmtst-welcome .testimonials .testimonial-block{float:left;width:50%}}#wpmtst-welcome .testimonials{background-color:#fafafa;position:relative}#wpmtst-welcome .testimonials .testimonial-block{padding:0 16px 32px;overflow:auto;margin-top:40px;text-align:center}#wpmtst-welcome .testimonials .testimonial-block p{font-size:14px;font-weight:400;line-height:1.6}#wpmtst-welcome .testimonials .testimonial-block img{max-width:60px;max-height:60px;border-radius:50%;filter:grayscale(100%);box-shadow:0 0 12px rgba(0,0,0,.15)}#wpmtst-welcome .testimonials .testimonial-block .testimonial-stars{width:94px;height:20px;background-repeat:repeat-x;background-position:50% 50%;background-size:20%;position:relative;display:inline-block}#wpmtst-welcome .footer{background-color:#fff;border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-bottom:30px;position:relative;box-shadow:-3px 2px 70px 0 rgba(128,144,174,.1)}
 
changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 2.51.8 - 28.03.2022 =
2
  - Fixed: Added filter to remove Upgrade from PRO when max license ( https://github.com/WPChill/strong-testimonials/issues/305 )
3
 
1
+ = 2.51.9 - 04.04.2022 =
2
+ - Changed: Replaced the Welcome page and now only appears on new/fresh installs
3
+
4
  = 2.51.8 - 28.03.2022 =
5
  - Fixed: Added filter to remove Upgrade from PRO when max license ( https://github.com/WPChill/strong-testimonials/issues/305 )
6
 
assets/css/admin-welcome.css → includes/submodules/banner/assets/css/wpchill-welcome.css RENAMED
@@ -3,75 +3,73 @@
3
  position: relative;
4
  }
5
 
6
- #wpmtst-welcome {
7
  padding-top: 80px;
8
  }
9
 
10
- #wpmtst-welcome *, #wpmtst-welcome *::before, #wpmtst-welcome *::after {
11
  -webkit-box-sizing: border-box;
12
  -moz-box-sizing: border-box;
13
  box-sizing: border-box;
14
  }
15
 
16
- #wpmtst-welcome .clear:before {
17
  content: " ";
18
  display: table;
19
  }
20
 
21
- #wpmtst-welcome .clear:after {
22
  clear: both;
23
  content: " ";
24
  display: table;
25
  }
26
 
27
- #wpmtst-welcome .container {
28
  margin: 0 auto;
29
  max-width: 800px;
30
  padding: 0;
31
  }
32
 
33
- #wpmtst-welcome .block {
34
  padding: 40px;
35
  }
36
 
37
- #wpmtst-welcome img {
38
  max-width: 100%;
39
  height: auto;
40
  }
41
 
42
- #wpmtst-welcome h1 {
43
  color: #222;
44
  font-size: 24px;
45
- text-align: center;
46
  margin: 0 0 16px 0;
47
  }
48
 
49
- #wpmtst-welcome h5 {
50
  color: #222;
51
  font-size: 16px;
52
  margin: 0 0 8px 0;
53
  }
54
 
55
- #wpmtst-welcome h6 {
56
  font-size: 16px;
57
  font-weight: 400;
58
  line-height: 1.6;
59
- text-align: center;
60
  margin: 0;
61
  }
62
 
63
- #wpmtst-welcome .wpmtst-btn-lg {
64
  font-size: 16px;
65
  font-weight: 600;
66
  padding: 16px 28px;
67
  }
68
 
69
- #wpmtst-welcome .wpmtst-btn-block {
70
  display: block;
71
  width: 100%;
72
  }
73
 
74
- #wpmtst-welcome .wpmtst-btn {
75
  border: 0;
76
  border-radius: 40px;
77
  cursor: pointer;
@@ -84,55 +82,46 @@
84
  box-shadow: none;
85
  }
86
 
87
- #wpmtst-welcome .wpmtst-btn-purple {
88
- background-color: #5D3CE4;
89
- border-color: #5D3CE4;
90
- color: #fff;
91
- }
92
 
93
- #wpmtst-welcome .wpmtst-btn-orange {
94
- background-color: #FBC555;
95
- border-color: #FBC555;
96
- color: #fff;
97
  }
98
 
99
- #wpmtst-welcome .wpmtst-btn-white {
100
- background-color: #fff;
101
- border-color: #fff;
102
- color: #222;
103
  }
104
 
105
-
106
- #wpmtst-welcome .button-wrap {
107
- max-width: 590px;
108
- margin: 0 auto 0 auto;
109
  }
110
 
111
- #wpmtst-welcome .button-wrap .left {
112
- margin-bottom: 10px;
113
  }
114
 
115
  @media screen and (min-width: 720px) {
116
 
117
- #wpmtst-welcome .button-wrap .left {
118
  margin-bottom: 0px;
119
  float: left;
120
  width: 50%;
121
  padding-right: 20px;
122
  }
123
 
124
- #wpmtst-welcome .button-wrap .right {
125
  float: right;
126
  width: 50%;
127
  padding-left: 20px;
128
  }
129
 
 
 
 
130
  }
131
 
132
-
133
-
134
  /* hero section */
135
- #wpmtst-welcome .hero {
136
  background-color: #fff;
137
  border-radius: 10px;
138
  margin-bottom: 30px;
@@ -141,7 +130,7 @@
141
  padding-top: 40px;
142
  }
143
 
144
- #wpmtst-welcome .hero .mascot {
145
  background-color: #fff;
146
  border-radius: 50%;
147
  height: 90px;
@@ -153,19 +142,19 @@
153
  margin-left: -45px;
154
  }
155
 
156
- #wpmtst-welcome .hero .video-thumbnail {
157
  display: block;
158
  margin: 0;
159
  width: 100%;
160
  }
161
 
162
- #wpmtst-welcome .hero .button-wrap {
163
  margin-top: 20px;
164
  }
165
 
166
 
167
  /* features section */
168
- #wpmtst-welcome .features {
169
  background-color: #fff;
170
  border-top-left-radius: 10px;
171
  border-top-right-radius: 10px;
@@ -173,54 +162,90 @@
173
  padding-top: 20px;
174
  }
175
 
176
- #wpmtst-welcome .features .feature-list {
177
  margin-top: 40px;
178
  }
179
 
180
- #wpmtst-welcome .features .feature-block {
181
  margin-bottom: 30px;
182
  }
183
 
184
  @media screen and (min-width: 720px) {
185
 
186
- #wpmtst-welcome .features .feature-block {
187
- margin-bottom: 0px;
188
  float: left;
189
  width: 50%;
190
  padding-bottom: 32px;
191
  overflow: auto;
192
  }
193
 
194
- #wpmtst-welcome .features .feature-block.first {
 
 
 
 
 
 
 
 
195
  padding-right: 22px;
196
  clear: both;
197
  }
198
 
199
- #wpmtst-welcome .features .feature-block.last {
 
 
 
 
 
 
 
 
200
  padding-left: 22px;
201
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
 
 
 
 
203
  }
204
 
205
- #wpmtst-welcome .features .feature-block img {
206
  float: left;
207
  max-width: 44px;
208
  max-height: 44px;
209
  }
210
 
211
- #wpmtst-welcome .features .feature-block h5 {
212
  margin-left: 70px;
213
  }
214
 
215
- #wpmtst-welcome .features .feature-block p {
216
  margin-left: 70px;
217
  }
218
 
219
- #wpmtst-welcome .features .pro-label {
220
  display: inline-block;
221
  line-height: 1;
222
  color: #fff;
223
- background-color: #5333ED;
224
  padding: 3px 6px;
225
  font-size: 0.75rem;
226
  border-radius: 20px;
@@ -228,23 +253,23 @@
228
  margin-left: 20px;
229
  }
230
 
231
- #wpmtst-welcome .features .feature-list a {
232
  color: #5333ED;
233
  }
234
 
235
  /* upgrade section */
236
- #wpmtst-welcome .upgrade {
237
  background-color: white;
238
  text-align: center;
239
  }
240
 
241
- #wpmtst-welcome .upgrade h1{
242
  color: #fff;
243
  }
244
 
245
  @media screen and (min-width: 720px) {
246
 
247
- #wpmtst-welcome .upgrade .left{
248
  float: left;
249
  width: 50%;
250
  padding-left: 20%;
@@ -252,25 +277,28 @@
252
  text-align: left;
253
  }
254
 
255
- #wpmtst-welcome .upgrade .right{
256
  float: left;
257
  width: 50%;
258
  padding-right: 20%;
259
  margin-bottom: 30px;
260
  text-align: left;
261
  }
262
-
 
 
 
263
  }
264
 
265
  /* testimonials section */
266
- #wpmtst-welcome .testimonials {
267
  background-color: #fafafa;
268
 
269
  position: relative;
270
  box-shadow: -3px 2px 70px 0px rgba(128, 144, 174, 0.1);
271
  }
272
 
273
- #wpmtst-welcome .testimonials .testimonial-block {
274
  padding: 0 16px 32px;
275
  overflow: auto;
276
  margin-top: 40px;
@@ -279,20 +307,20 @@
279
 
280
  @media screen and (min-width: 720px) {
281
 
282
- #wpmtst-welcome .testimonials .testimonial-block {
283
  float: left;
284
  width: 50%;
285
  }
286
 
287
  }
288
 
289
- #wpmtst-welcome .testimonials .testimonial-block p {
290
  font-size: 14px;
291
  font-weight: 400;
292
  line-height: 1.6;
293
  }
294
 
295
- #wpmtst-welcome .testimonials .testimonial-block img {
296
  max-width: 60px;
297
  max-height: 60px;
298
  border-radius: 50%;
@@ -300,19 +328,8 @@
300
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
301
  }
302
 
303
-
304
- #wpmtst-welcome .testimonials .testimonial-block .testimonial-stars {
305
- width: 94px;
306
- height: 20px;
307
- background-repeat: repeat-x;
308
- background-position: 50% 50%;
309
- background-size: 20%;
310
- position: relative;
311
- display:inline-block;
312
- }
313
-
314
  /* testimonials footer */
315
- #wpmtst-welcome .footer {
316
  background-color: #fff;
317
  border-bottom-left-radius: 10px;
318
  border-bottom-right-radius: 10px;
@@ -321,4 +338,33 @@
321
  box-shadow: -3px 2px 70px 0px rgba(128, 144, 174, 0.1);
322
  }
323
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
324
 
 
 
 
 
 
 
3
  position: relative;
4
  }
5
 
6
+ #wpchill-welcome {
7
  padding-top: 80px;
8
  }
9
 
10
+ #wpchill-welcome *, #wpchill-welcome *::before, #wpchill-welcome *::after {
11
  -webkit-box-sizing: border-box;
12
  -moz-box-sizing: border-box;
13
  box-sizing: border-box;
14
  }
15
 
16
+ #wpchill-welcome .clear:before {
17
  content: " ";
18
  display: table;
19
  }
20
 
21
+ #wpchill-welcome .clear:after {
22
  clear: both;
23
  content: " ";
24
  display: table;
25
  }
26
 
27
+ #wpchill-welcome .container {
28
  margin: 0 auto;
29
  max-width: 800px;
30
  padding: 0;
31
  }
32
 
33
+ #wpchill-welcome .block {
34
  padding: 40px;
35
  }
36
 
37
+ #wpchill-welcome img {
38
  max-width: 100%;
39
  height: auto;
40
  }
41
 
42
+ #wpchill-welcome h1 {
43
  color: #222;
44
  font-size: 24px;
 
45
  margin: 0 0 16px 0;
46
  }
47
 
48
+ #wpchill-welcome h5 {
49
  color: #222;
50
  font-size: 16px;
51
  margin: 0 0 8px 0;
52
  }
53
 
54
+ #wpchill-welcome h6 {
55
  font-size: 16px;
56
  font-weight: 400;
57
  line-height: 1.6;
 
58
  margin: 0;
59
  }
60
 
61
+ #wpchill-welcome .wpmtst-btn-lg {
62
  font-size: 16px;
63
  font-weight: 600;
64
  padding: 16px 28px;
65
  }
66
 
67
+ #wpchill-welcome .wpmtst-btn-block {
68
  display: block;
69
  width: 100%;
70
  }
71
 
72
+ #wpchill-welcome .wpmtst-btn {
73
  border: 0;
74
  border-radius: 40px;
75
  cursor: pointer;
82
  box-shadow: none;
83
  }
84
 
 
 
 
 
 
85
 
86
+ #wpchill-welcome .button-wrap {
87
+ max-width: 590px;
88
+ margin: 0 auto 0 auto;
 
89
  }
90
 
91
+ #wpchill-welcome .button-wrap .left {
92
+ margin-bottom: 10px;
 
 
93
  }
94
 
95
+ #wpchill-welcome .button-wrap-single a {
96
+ font-size: 14px;
 
 
97
  }
98
 
99
+ #wpchill-welcome .button-wrap-single {
100
+ padding: 0 20px;
101
  }
102
 
103
  @media screen and (min-width: 720px) {
104
 
105
+ #wpchill-welcome .button-wrap .left {
106
  margin-bottom: 0px;
107
  float: left;
108
  width: 50%;
109
  padding-right: 20px;
110
  }
111
 
112
+ #wpchill-welcome .button-wrap .right {
113
  float: right;
114
  width: 50%;
115
  padding-left: 20px;
116
  }
117
 
118
+ #wpchill-welcome .button-wrap-single a {
119
+ font-size: 16px;
120
+ }
121
  }
122
 
 
 
123
  /* hero section */
124
+ #wpchill-welcome .hero {
125
  background-color: #fff;
126
  border-radius: 10px;
127
  margin-bottom: 30px;
130
  padding-top: 40px;
131
  }
132
 
133
+ #wpchill-welcome .hero .mascot {
134
  background-color: #fff;
135
  border-radius: 50%;
136
  height: 90px;
142
  margin-left: -45px;
143
  }
144
 
145
+ #wpchill-welcome .hero .video-thumbnail {
146
  display: block;
147
  margin: 0;
148
  width: 100%;
149
  }
150
 
151
+ #wpchill-welcome .hero .button-wrap {
152
  margin-top: 20px;
153
  }
154
 
155
 
156
  /* features section */
157
+ #wpchill-welcome .features {
158
  background-color: #fff;
159
  border-top-left-radius: 10px;
160
  border-top-right-radius: 10px;
162
  padding-top: 20px;
163
  }
164
 
165
+ #wpchill-welcome .features .feature-list {
166
  margin-top: 40px;
167
  }
168
 
169
+ #wpchill-welcome .features .feature-block {
170
  margin-bottom: 30px;
171
  }
172
 
173
  @media screen and (min-width: 720px) {
174
 
175
+ #wpchill-welcome .block-row-2 .feature-block {
176
+ margin: 0 auto;
177
  float: left;
178
  width: 50%;
179
  padding-bottom: 32px;
180
  overflow: auto;
181
  }
182
 
183
+ #wpchill-welcome .block-row-3 .feature-block {
184
+ margin: 0 auto;
185
+ float: left;
186
+ width: 33%;
187
+ padding-bottom: 32px;
188
+ overflow: auto;
189
+ }
190
+
191
+ #wpchill-welcome .block-row-2 .feature-block:nth-child(odd) {
192
  padding-right: 22px;
193
  clear: both;
194
  }
195
 
196
+ #wpchill-welcome .block-row-3 .feature-block:not(:nth-child(3n+3)) {
197
+ padding-right: 22px;
198
+ }
199
+
200
+ #wpchill-welcome .block-row-3 .feature-block:nth-child(3n+1) {
201
+ clear: both;
202
+ }
203
+
204
+ #wpchill-welcome .features .feature-block.last {
205
  padding-left: 22px;
206
  }
207
+ .block-row-1 > * {
208
+ width: 100%;
209
+ }
210
+ .block-row{
211
+ display:flex;
212
+ flex-wrap:wrap;
213
+ align-items:flex-start;
214
+ flex-direction: row;
215
+ justify-content: flex-start;
216
+ }
217
+
218
+ .block-row-2 > * {
219
+ width: 50%;
220
+ }
221
+
222
+ .block-row-3 > * {
223
+ width: 33%;
224
+ }
225
 
226
+ .block-row-4 > * {
227
+ width: 25%;
228
+ }
229
  }
230
 
231
+ #wpchill-welcome .features .feature-block img {
232
  float: left;
233
  max-width: 44px;
234
  max-height: 44px;
235
  }
236
 
237
+ #wpchill-welcome .features .feature-block h5 {
238
  margin-left: 70px;
239
  }
240
 
241
+ #wpchill-welcome .features .feature-block p {
242
  margin-left: 70px;
243
  }
244
 
245
+ #wpchill-welcome .features .pro-label {
246
  display: inline-block;
247
  line-height: 1;
248
  color: #fff;
 
249
  padding: 3px 6px;
250
  font-size: 0.75rem;
251
  border-radius: 20px;
253
  margin-left: 20px;
254
  }
255
 
256
+ #wpchill-welcome .features .feature-list a {
257
  color: #5333ED;
258
  }
259
 
260
  /* upgrade section */
261
+ #wpchill-welcome .upgrade {
262
  background-color: white;
263
  text-align: center;
264
  }
265
 
266
+ #wpchill-welcome .upgrade h1{
267
  color: #fff;
268
  }
269
 
270
  @media screen and (min-width: 720px) {
271
 
272
+ #wpchill-welcome .upgrade .left{
273
  float: left;
274
  width: 50%;
275
  padding-left: 20%;
277
  text-align: left;
278
  }
279
 
280
+ #wpchill-welcome .upgrade .right{
281
  float: left;
282
  width: 50%;
283
  padding-right: 20%;
284
  margin-bottom: 30px;
285
  text-align: left;
286
  }
287
+ #wpchill-welcome .button-wrap-single{
288
+ width: 50%;
289
+ margin: 0 auto;
290
+ }
291
  }
292
 
293
  /* testimonials section */
294
+ #wpchill-welcome .testimonials {
295
  background-color: #fafafa;
296
 
297
  position: relative;
298
  box-shadow: -3px 2px 70px 0px rgba(128, 144, 174, 0.1);
299
  }
300
 
301
+ #wpchill-welcome .testimonials .testimonial-block {
302
  padding: 0 16px 32px;
303
  overflow: auto;
304
  margin-top: 40px;
307
 
308
  @media screen and (min-width: 720px) {
309
 
310
+ #wpchill-welcome .testimonials .testimonial-block {
311
  float: left;
312
  width: 50%;
313
  }
314
 
315
  }
316
 
317
+ #wpchill-welcome .testimonials .testimonial-block p {
318
  font-size: 14px;
319
  font-weight: 400;
320
  line-height: 1.6;
321
  }
322
 
323
+ #wpchill-welcome .testimonials .testimonial-block img {
324
  max-width: 60px;
325
  max-height: 60px;
326
  border-radius: 50%;
328
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
329
  }
330
 
 
 
 
 
 
 
 
 
 
 
 
331
  /* testimonials footer */
332
+ #wpchill-welcome .footer {
333
  background-color: #fff;
334
  border-bottom-left-radius: 10px;
335
  border-bottom-right-radius: 10px;
338
  box-shadow: -3px 2px 70px 0px rgba(128, 144, 174, 0.1);
339
  }
340
 
341
+ #wpchill-welcome .container {
342
+ position: relative;
343
+ width: 100%;
344
+ height: 0;
345
+ padding-bottom: 56.25%;
346
+ }
347
+
348
+ #wpchill-welcome .video {
349
+ position: absolute;
350
+ top: 0;
351
+ left: 0;
352
+ width: 100%;
353
+ height: 100%;
354
+ }
355
+
356
+ #wpchill-welcome .stars_wrapper svg {
357
+ height: 20px;
358
+ }
359
+
360
+ #wpchill-welcome .wpchill_empty_space{
361
+ display:block;
362
+ clear:both;
363
+ }
364
 
365
+ .wpchill_horizontal_delimiter {
366
+ background-color: #f0f0f1;
367
+ height:20px;
368
+ width:100%;
369
+ margin:0 auto;
370
+ }
includes/submodules/banner/assets/img/star.svg ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="-274 399.8 53 43.1" style="enable-background:new -274 399.8 53 43.1;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#5333ED;}
7
+ </style>
8
+ <g>
9
+ <path class="st0" d="M-234.8,415h-11.5l-3.6-11c-1.4-4.3-3.7-4.3-5.1,0l-3.6,11h-11.5c-4.5,0-5.3,2.2-1.6,4.8l9.3,6.8l-3.6,11
10
+ c-1.4,4.3,0.4,5.7,4.1,3l9.3-6.8l9.3,6.8c3.7,2.7,5.5,1.3,4.1-3l-3.6-11l9.3-6.8C-229.6,417.1-230.3,415-234.8,415z"/>
11
+ </g>
12
+ </svg>
includes/submodules/banner/class-wpchill-welcome.php ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'WPChill_Welcome' ) ) {
4
+
5
+ class WPChill_Welcome {
6
+
7
+ /**
8
+ * Contains the instance of the Class
9
+ *
10
+ * @since 1.0.0
11
+ * @param WPChill_Welcome $instance
12
+ */
13
+ private static $instance = null;
14
+
15
+ /**
16
+ * @since 1.0.0
17
+ * @param string $textdomain - wpchill textdomain
18
+ */
19
+ public $textdomain = 'wpchill';
20
+
21
+ private function __construct() {
22
+ add_action( 'admin_footer', array( $this, 'welcome_style' ) );
23
+ }
24
+
25
+ /**
26
+ * @since 1.0.0
27
+ * Singleton
28
+ */
29
+ public static function get_instance() {
30
+
31
+ if ( ! isset( self::$instance ) && ! ( self::$instance instanceof WPChill_Welcome ) ) {
32
+ self::$instance = new WPChill_Welcome();
33
+ }
34
+
35
+ return self::$instance;
36
+ }
37
+
38
+ /**
39
+ * @since 1.0.0
40
+ * Enqueue admin Wellcome style
41
+ */
42
+ public function welcome_style() {
43
+ wp_register_style( 'wpchill-welcome-style', plugins_url( '/assets/css/wpchill-welcome.css', __FILE__ ), null, '1.0.0' );
44
+ wp_print_styles( array( 'wpchill-welcome-style' ) );
45
+ }
46
+
47
+ /**
48
+ * @since 1.0.0
49
+ * Renders buttons
50
+ *
51
+ * @param string $text
52
+ *
53
+ * @param string $url
54
+ *
55
+ * @param bool $fill
56
+ *
57
+ * @param string $color
58
+ */
59
+ public function display_button( $text, $link, $fill = true, $color = '#5D3CE4' ) {
60
+ $style = 'style="background-color:' . sanitize_hex_color( $color ) . ';border-color:' . sanitize_hex_color( $color ) . ';color:#fff;"';
61
+ echo '<a href="' . esc_attr( $link ) . '" ' . ( $fill ? $style : '' ) . ' class="wpmtst-btn wpmtst-btn-block wpmtst-btn-lg">' . esc_html( $text ) . '</a>';
62
+ }
63
+
64
+ /**
65
+ * @since 1.0.0
66
+ * Renders extension html
67
+ *
68
+ * @param string $title
69
+ *
70
+ * @param string $description
71
+ *
72
+ * @param string $icon (icon URL)
73
+ *
74
+ * @param bool $pro
75
+ */
76
+ public function display_extension( $title, $description = '', $icon = '', $pro = false, $pro_color = '#5333ED' ) {
77
+
78
+ echo '<div class="feature-block">';
79
+ if ( '' != $icon ) {
80
+ echo '<img src="' . esc_attr( $icon ) . '">';
81
+ }
82
+ echo '<h5>' . esc_html( $title ) . ( ( $pro ) ? '<div style="background-color:' . esc_attr( $pro_color ) . '" class="pro-label">PRO</div>' : '' ) . '</h5>';
83
+ echo '<p>' . esc_html( $description ) . '</p>';
84
+ echo '</div>';
85
+ }
86
+
87
+ /**
88
+ * @since 1.0.0
89
+ * Displays h1 heading
90
+ *
91
+ * @param string $text
92
+ *
93
+ * @param string $position
94
+ */
95
+ public function display_heading( $text, $position = 'center' ) {
96
+ echo '<h1 style="text-align: ' . esc_attr( $position ) . ';" >' . esc_html( $text ) . '</h1>';
97
+ }
98
+
99
+ /**
100
+ * @since 1.0.0
101
+ * Displays h6 subheading
102
+ *
103
+ * @param string $text
104
+ *
105
+ * @param string $position
106
+ */
107
+ public function display_subheading( $text, $position = 'center' ) {
108
+ echo '<h6 style="text-align: ' . esc_attr( $position ) . '" >' . esc_html( $text ) . '</h6>';
109
+ }
110
+
111
+
112
+ /**
113
+ * @since 1.0.0
114
+ * Renders testimonial block
115
+ *
116
+ * @param string $text
117
+ *
118
+ * @param string $icon
119
+ *
120
+ * @param string $name
121
+ *
122
+ * @param string $job (reviewer's job or company)
123
+ */
124
+ public function display_testimonial( $text, $icon = '', $name = '', $job = '', $star_color = '' ) {
125
+
126
+ echo '<div class="testimonial-block">';
127
+ if ( '' != $icon ) {
128
+ echo '<img src=" ' . esc_url( $icon ) . ' "/>';
129
+ }
130
+ echo '<p>' . esc_html( $text ) . '</p>';
131
+
132
+ $this->display_stars( $star_color );
133
+
134
+ if ( '' !== $name || '' !== $job ) {
135
+ echo '<p>';
136
+
137
+ if ( '' !== $name ) {
138
+ echo '<strong>' . esc_html( $name ) . '</strong><br/>';
139
+ }
140
+ if ( '' !== $job ) {
141
+ echo esc_html( $job );
142
+ }
143
+ echo '</p>';
144
+ }
145
+
146
+ echo '</div>';
147
+ }
148
+
149
+ /**
150
+ * @since 1.0.0
151
+ * Renders a UL list
152
+ *
153
+ * @param array $items - array of list items
154
+ */
155
+ public function display_listing( $items ) {
156
+ echo '<ul>';
157
+
158
+ foreach ( $items as $item ) {
159
+ echo '<li>' . esc_html( $item ) . '</li>';
160
+ }
161
+
162
+ echo '</ul>';
163
+ }
164
+
165
+
166
+ /**
167
+ * @since 1.0.0
168
+ * Renders a UL list
169
+ *
170
+ * @param string $url - youtube.com url
171
+ */
172
+ public function display_video( $url ) {
173
+ parse_str( wp_parse_url( esc_url( $url ), PHP_URL_QUERY ), $video_vars );
174
+ echo '<div class="container"><iframe src="https://www.youtube.com/embed/' . esc_attr( $video_vars['v'] ) . '" frameborder="0" allowfullscreen class="video"></iframe></div>';
175
+ }
176
+
177
+ /**
178
+ * @since 1.0.0
179
+ * Renders rating stars block
180
+ *
181
+ * @param string $color - code of the star color fill
182
+ */
183
+ public function display_stars( $color ) {
184
+ $color = ( '' === $color ) ? '#FFD700' : sanitize_hex_color( $color );
185
+ $id = wp_rand( 0, 9999999 );
186
+ $star = '<svg version="1.1" class="svg-' . absint( $id ) . '" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-274 399.8 53 43.1" style="enable-background:new -274 399.8 53 43.1;" xml:space="preserve">
187
+ <g>
188
+ <path class="st0" d="M-234.8,415h-11.5l-3.6-11c-1.4-4.3-3.7-4.3-5.1,0l-3.6,11h-11.5c-4.5,0-5.3,2.2-1.6,4.8l9.3,6.8l-3.6,11
189
+ c-1.4,4.3,0.4,5.7,4.1,3l9.3-6.8l9.3,6.8c3.7,2.7,5.5,1.3,4.1-3l-3.6-11l9.3-6.8C-229.6,417.1-230.3,415-234.8,415z"/>
190
+ </g>
191
+ </svg>';
192
+
193
+ $svg_args = array(
194
+ 'svg' => array(
195
+ 'class' => true,
196
+ 'aria-hidden' => true,
197
+ 'aria-labelledby' => true,
198
+ 'role' => true,
199
+ 'xmlns' => true,
200
+ 'width' => true,
201
+ 'height' => true,
202
+ 'viewbox' => true, // <= Must be lower case!
203
+ 'id' => true,
204
+ ),
205
+ 'g' => array( 'fill' => true ),
206
+ 'title' => array( 'title' => true ),
207
+ 'path' => array(
208
+ 'd' => true,
209
+ 'fill' => true,
210
+ ),
211
+ 'style' => array( 'type' => true ),
212
+ );
213
+
214
+ echo '<style>';
215
+ echo '.svg-' . absint( $id ) . '{ fill:' . sanitize_hex_color( $color ) . ';}';
216
+ echo '</style>';
217
+ echo '<div class="stars_wrapper">' . wp_kses( $star . $star . $star . $star . $star, $svg_args ) . '</div>';
218
+ }
219
+
220
+ /**
221
+ * @since 1.0.0
222
+ * Columns wrapper start
223
+ *
224
+ * @param int $cols - # of columns the contained objects should be displayed as. (1/2/3)
225
+ */
226
+ public function layout_start( $cols = 2, $class = '' ) {
227
+ echo '<div class="' . esc_attr( $class ) . ' block-row block-row-' . absint( $cols ) . '">';
228
+ }
229
+
230
+ /**
231
+ * @since 1.0.0
232
+ * Columns wrapper end
233
+ */
234
+ public function layout_end() {
235
+ echo '</div>';
236
+ }
237
+
238
+ /**
239
+ * @since 1.0.0
240
+ * Renders empty space block
241
+ *
242
+ * @param int $height - height(px) of space
243
+ */
244
+ public function display_empty_space( $height = 25 ) {
245
+
246
+ echo '<div class="wpchill_empty_space" style="height:' . esc_attr( $height ) . 'px;"></div>';
247
+ }
248
+
249
+ /**
250
+ * Horizontal delimiter
251
+ *
252
+ * @return void
253
+ * @since 1.0.0
254
+ */
255
+ public function horizontal_delimiter() {
256
+ echo '<hr class="wpchill_horizontal_delimiter">';
257
+ }
258
+
259
+ }
260
+ }
includes/submodules/banner/readme.txt ADDED
@@ -0,0 +1 @@
 
1
+ Readme
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: testimonials, testimonial slider, testimonial form, star ratings
4
  Requires at least: 5.2
5
  Requires PHP: 5.6
6
  Tested up to: 5.9
7
- Stable tag: 2.51.8
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
4
  Requires at least: 5.2
5
  Requires PHP: 5.6
6
  Tested up to: 5.9
7
+ Stable tag: 2.51.9
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
strong-testimonials.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Collect and display your testimonials or reviews.
6
  * Author: WPChill
7
  * Author URI: https://wpchill.com/
8
- * Version: 2.51.8
9
  * Text Domain: strong-testimonials
10
  * Domain Path: /languages
11
  * Requires: 4.6 or higher
@@ -45,7 +45,7 @@ if ( ! defined( 'ABSPATH' ) ) {
45
  exit;
46
  }
47
 
48
- define( 'WPMTST_VERSION', '2.51.8' );
49
  define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
50
  define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
51
  defined( 'WPMTST_STORE_URL' ) || define( 'WPMTST_STORE_URL', 'https://strongtestimonials.com' );
@@ -153,9 +153,13 @@ final class Strong_Testimonials {
153
  * Plugin activation
154
  */
155
  static function plugin_activation() {
 
156
  wpmtst_update_tables();
157
  wpmtst_register_cpt();
158
  flush_rewrite_rules();
 
 
 
159
  }
160
 
161
  /**
@@ -544,7 +548,7 @@ if( ! function_exists( 'strong_testimonials_start_plugin_tracking' ) ) {
544
 
545
 
546
  register_activation_hook( __FILE__, array( 'Strong_Testimonials', 'plugin_activation' ) );
547
- register_deactivation_hook( __FILE__, array( 'Strong_Testimonials', 'plugin_deactivation' ) );
548
 
549
  function WPMST() {
550
  return Strong_Testimonials::instance();
5
  * Description: Collect and display your testimonials or reviews.
6
  * Author: WPChill
7
  * Author URI: https://wpchill.com/
8
+ * Version: 2.51.9
9
  * Text Domain: strong-testimonials
10
  * Domain Path: /languages
11
  * Requires: 4.6 or higher
45
  exit;
46
  }
47
 
48
+ define( 'WPMTST_VERSION', '2.51.9' );
49
  define( 'WPMTST_PLUGIN', plugin_basename( __FILE__ ) ); // strong-testimonials/strong-testimonials.php
50
  define( 'WPMTST', dirname( WPMTST_PLUGIN ) ); // strong-testimonials
51
  defined( 'WPMTST_STORE_URL' ) || define( 'WPMTST_STORE_URL', 'https://strongtestimonials.com' );
153
  * Plugin activation
154
  */
155
  static function plugin_activation() {
156
+ $first_install = !get_option( 'wpmtst_db_version' ) ? true : false;
157
  wpmtst_update_tables();
158
  wpmtst_register_cpt();
159
  flush_rewrite_rules();
160
+
161
+ new Strong_Testimonials_Welcome();
162
+ do_action( 'wpmtst_after_update_setup', $first_install );
163
  }
164
 
165
  /**
548
 
549
 
550
  register_activation_hook( __FILE__, array( 'Strong_Testimonials', 'plugin_activation' ) );
551
+ //register_deactivation_hook( __FILE__, array( 'Strong_Testimonials', 'plugin_deactivation' ) );
552
 
553
  function WPMST() {
554
  return Strong_Testimonials::instance();