Version Description
Download this release
Release Info
Developer | raldea89 |
Plugin | Strong Testimonials |
Version | 2.51.7 |
Comparing to | |
See all releases |
Code changes from version 2.51.6 to 2.51.7
- admin/class-strong-testimonials-addons.php +10 -1
- admin/class-strong-testimonials-admin-scripts.php +5 -0
- admin/class-strong-testimonials-lite-vs-pro-page.php +136 -0
- admin/css/lite-vs-pro.css +175 -0
- admin/img/logo-long.svg +0 -0
- changelog.txt +5 -1
- readme.txt +1 -1
- strong-testimonials.php +4 -3
- wpml-config.xml +51 -51
admin/class-strong-testimonials-addons.php
CHANGED
@@ -125,7 +125,16 @@ class Strong_Testimonials_Addons {
|
|
125 |
die;
|
126 |
}
|
127 |
|
128 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
|
130 |
}
|
131 |
|
125 |
die;
|
126 |
}
|
127 |
|
128 |
+
/**
|
129 |
+
* Retrieves ST addons
|
130 |
+
*
|
131 |
+
* @return Array
|
132 |
+
*
|
133 |
+
* @since 2.51.7
|
134 |
+
*/
|
135 |
+
public function get_addons() {
|
136 |
+
return $this->check_for_addons();
|
137 |
+
}
|
138 |
|
139 |
}
|
140 |
|
admin/class-strong-testimonials-admin-scripts.php
CHANGED
@@ -82,6 +82,11 @@ class Strong_Testimonials_Admin_Scripts {
|
|
82 |
array( ),
|
83 |
$plugin_version );
|
84 |
|
|
|
|
|
|
|
|
|
|
|
85 |
wp_register_script( 'wpmtst-custom-spinner',
|
86 |
WPMTST_ADMIN_URL . 'js/custom-spinner.js',
|
87 |
array( 'jquery' ),
|
82 |
array( ),
|
83 |
$plugin_version );
|
84 |
|
85 |
+
wp_register_style( 'wpmtst-lite-vs-pro',
|
86 |
+
WPMTST_ADMIN_URL . 'css/lite-vs-pro.css',
|
87 |
+
array( ),
|
88 |
+
$plugin_version );
|
89 |
+
|
90 |
wp_register_script( 'wpmtst-custom-spinner',
|
91 |
WPMTST_ADMIN_URL . 'js/custom-spinner.js',
|
92 |
array( 'jquery' ),
|
admin/class-strong-testimonials-lite-vs-pro-page.php
ADDED
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Class Strong_Testimonials_Addons
|
4 |
+
*
|
5 |
+
*/
|
6 |
+
class Strong_Testimonials_Lite_vs_PRO_page {
|
7 |
+
|
8 |
+
public function __construct() {
|
9 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
10 |
+
add_filter( 'wpmtst_submenu_pages', array( $this, 'add_submenu' ) );
|
11 |
+
|
12 |
+
// Upgrade to PRO plugin action link
|
13 |
+
add_filter( 'plugin_action_links_' . WPMTST_PLUGIN, array( $this, 'filter_action_links' ), 60 );
|
14 |
+
}
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Add the Upgrade to PRO plugin action link
|
18 |
+
*
|
19 |
+
* @param $links
|
20 |
+
*
|
21 |
+
* @return array
|
22 |
+
*
|
23 |
+
* @since 2.51.7
|
24 |
+
*/
|
25 |
+
public function filter_action_links( $links ) {
|
26 |
+
|
27 |
+
$links = array_merge( array ( '<a target="_blank" class="wpmtst-lite-vs-pro" href="https://strongtestimonials.com/pricing/?utm_source=strong-testimonials-lite&utm_medium=plugin_settings&utm_campaign=upsell">' . esc_html__( 'Upgrade to PRO!', 'strong-testimonials' ) . '</a>' ), $links );
|
28 |
+
|
29 |
+
return $links;
|
30 |
+
}
|
31 |
+
/**
|
32 |
+
* Add submenu page.
|
33 |
+
*
|
34 |
+
* @param $pages
|
35 |
+
*
|
36 |
+
* @return mixed
|
37 |
+
*/
|
38 |
+
public function add_submenu( $pages ) {
|
39 |
+
$pages[99] = $this->get_submenu();
|
40 |
+
return $pages;
|
41 |
+
}
|
42 |
+
|
43 |
+
public function admin_enqueue_scripts(){
|
44 |
+
wp_enqueue_style( 'wpmtst-lite-vs-pro' );
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Return submenu page parameters.
|
49 |
+
*
|
50 |
+
* @return array
|
51 |
+
*/
|
52 |
+
public function get_submenu() {
|
53 |
+
return array(
|
54 |
+
'page_title' => esc_html__( 'Lite vs Pro', 'strong-testimonials' ),
|
55 |
+
'menu_title' => esc_html__( 'Lite vs Pro', 'strong-testimonials' ),
|
56 |
+
'capability' => 'strong_testimonials_options',
|
57 |
+
'menu_slug' => 'strong-testimonials-lite-vs-pro',
|
58 |
+
'function' => array( $this, 'render_page' ),
|
59 |
+
);
|
60 |
+
}
|
61 |
+
|
62 |
+
public function render_page(){
|
63 |
+
|
64 |
+
$addons = new Strong_Testimonials_Addons();
|
65 |
+
?>
|
66 |
+
<div class="wrap wpmtst-lite-vs-premium">
|
67 |
+
<hr class="wp-header-end" />
|
68 |
+
<h1><?php echo esc_html__( 'LITE vs PRO', 'strong-testimonials' ); ?> </h1>
|
69 |
+
<div class="free-vs-premium">
|
70 |
+
<!-- Table header -->
|
71 |
+
<div class="wpchill-plans-table table-header">
|
72 |
+
<div class="wpchill-pricing-package wpchill-empty">
|
73 |
+
<!--This is an empty div so that we can have an empty corner-->
|
74 |
+
</div>
|
75 |
+
<div class="wpchill-pricing-package wpchill-title">
|
76 |
+
<p class="wpchill-name"><strong>PRO</strong></p>
|
77 |
+
</div>
|
78 |
+
<div class="wpchill-pricing-package wpchill-title wpchill-wpmtst-lite">
|
79 |
+
<p class="wpchill-name"><strong>LITE</strong></p>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
<!-- Table content -->
|
83 |
+
|
84 |
+
<?php
|
85 |
+
foreach ( $addons->get_addons() as $pro ) {
|
86 |
+
?>
|
87 |
+
<div class="wpchill-plans-table">
|
88 |
+
<div class="wpchill-pricing-package feature-name">
|
89 |
+
<h3><?php echo esc_html( $pro['name']); ?></h3>
|
90 |
+
<p class="tab-header-description wpmtst-tooltip-content">
|
91 |
+
<?php echo esc_html( $pro['description'] ); ?>
|
92 |
+
</p>
|
93 |
+
</div>
|
94 |
+
<div class="wpchill-pricing-package">
|
95 |
+
<span class="dashicons dashicons-saved"></span>
|
96 |
+
</div>
|
97 |
+
<div class="wpchill-pricing-package">
|
98 |
+
<span class="dashicons dashicons-no-alt"></span>
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
<?php
|
102 |
+
}
|
103 |
+
?>
|
104 |
+
<!-- Support -->
|
105 |
+
<div class="wpchill-plans-table">
|
106 |
+
<div class="wpchill-pricing-package feature-name">
|
107 |
+
<h3><?php esc_html_e( 'Support', 'strong-testimonials' ); ?></h3>
|
108 |
+
</div>
|
109 |
+
<div class="wpchill-pricing-package">Priority</div>
|
110 |
+
<div class="wpchill-pricing-package"><a href="https://wordpress.org/support/plugin/strong-testimonials/"
|
111 |
+
target="_blank">wp.org</a>
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
<!-- Table footer -->
|
115 |
+
<div class="wpchill-plans-table tabled-footer">
|
116 |
+
<div class="wpchill-pricing-package wpchill-empty">
|
117 |
+
<!--This is an empty div so that we can have an empty corner-->
|
118 |
+
</div>
|
119 |
+
<div class="wpchill-pricing-package wpchill-title wpchill-wpmtst-grid-gallery-business">
|
120 |
+
|
121 |
+
<a href="https://strongtestimonials.com/pricing/?utm_source=strong-testimonials&utm_medium=lite-vs-pro&utm_campaign=upsell" target="_blank"
|
122 |
+
class="button button-primary button-hero "><span class="dashicons dashicons-cart"></span>
|
123 |
+
<?php esc_html_e( 'Upgrade now!', 'strong-testimonials' ); ?> </a>
|
124 |
+
|
125 |
+
</div>
|
126 |
+
<div class="wpchill-pricing-package wpchill-title wpchill-wpmtst-lite">
|
127 |
+
|
128 |
+
|
129 |
+
</div>
|
130 |
+
</div>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
<?php
|
134 |
+
}
|
135 |
+
}
|
136 |
+
new Strong_Testimonials_Lite_vs_PRO_page();
|
admin/css/lite-vs-pro.css
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body.wpmtst_page_wpmtst-upgrade-to-pro #wpcontent .wrap {
|
2 |
+
margin-left: 0;
|
3 |
+
max-width: 85%;
|
4 |
+
}
|
5 |
+
.wpmtst-lite-vs-premium,
|
6 |
+
.wpmtst-lite-vs-premium p {
|
7 |
+
font-size: 14px;
|
8 |
+
margin: 0;
|
9 |
+
}
|
10 |
+
.wpmtst-lite-vs-premium
|
11 |
+
> .wpchill-plans-table.wpchill-highlight
|
12 |
+
> .wpchill-pricing-package {
|
13 |
+
background: #fefff0;
|
14 |
+
box-shadow: 0 0 15px rgb(208 219 219);
|
15 |
+
}
|
16 |
+
.wpmtst-lite-vs-premium .wp-badge {
|
17 |
+
display: inline-block;
|
18 |
+
vertical-align: middle;
|
19 |
+
position: relative;
|
20 |
+
margin-right: 2.5%;
|
21 |
+
}
|
22 |
+
.wpmtst-lite-vs-premium h3 {
|
23 |
+
display: block;
|
24 |
+
position: relative;
|
25 |
+
font-size: 16px;
|
26 |
+
margin: 0;
|
27 |
+
}
|
28 |
+
.wpmtst-lite-vs-premium .wpchill-plans-table {
|
29 |
+
display: flex;
|
30 |
+
}
|
31 |
+
.wpmtst-lite-vs-premium .wpchill-plans-table.table-header {
|
32 |
+
margin-top: 50px;
|
33 |
+
border-top: 0;
|
34 |
+
}
|
35 |
+
.wpmtst-lite-vs-premium
|
36 |
+
.wpchill-plans-table.table-header
|
37 |
+
.wpchill-pricing-package {
|
38 |
+
border: 0;
|
39 |
+
}
|
40 |
+
.wpmtst-lite-vs-premium
|
41 |
+
.wpchill-plans-table.table-header
|
42 |
+
.wpchill-pricing-package.wpchill-title.wpchill-highlight::before,
|
43 |
+
.wpmtst-lite-vs-premium
|
44 |
+
.wpchill-plans-table.table-header
|
45 |
+
.wpchill-pricing-package:not(.wpchill-wpmtst-lite):last-child:before {
|
46 |
+
content: "";
|
47 |
+
width: auto;
|
48 |
+
display: inline-block;
|
49 |
+
opacity: 1;
|
50 |
+
position: absolute;
|
51 |
+
top: -1px;
|
52 |
+
background: #41495b;
|
53 |
+
text-align: center;
|
54 |
+
left: 0;
|
55 |
+
right: 0;
|
56 |
+
color: #fff;
|
57 |
+
font-size: 15px;
|
58 |
+
text-transform: uppercase;
|
59 |
+
padding: 10px 5px;
|
60 |
+
transform: translateY(-100%);
|
61 |
+
}
|
62 |
+
.wpmtst-lite-vs-premium.table-footer .wpchill-pricing-package:last-child {
|
63 |
+
border: 0;
|
64 |
+
}
|
65 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package {
|
66 |
+
text-align: center;
|
67 |
+
line-height: 1.5;
|
68 |
+
padding: 10px 15px;
|
69 |
+
display: flex;
|
70 |
+
align-content: center;
|
71 |
+
align-items: center;
|
72 |
+
justify-content: center;
|
73 |
+
background: #fff;
|
74 |
+
border-top: 1px solid #ccc;
|
75 |
+
width: 32%;
|
76 |
+
}
|
77 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package:not(:first-child) {
|
78 |
+
max-width: 300px;
|
79 |
+
}
|
80 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package.wpchill-title {
|
81 |
+
font-weight: 400;
|
82 |
+
color: #666;
|
83 |
+
font-size: 1.25rem;
|
84 |
+
height: auto;
|
85 |
+
-ms-flex-direction: column;
|
86 |
+
flex-direction: column;
|
87 |
+
padding-top: 30px;
|
88 |
+
padding-bottom: 30px;
|
89 |
+
justify-content: space-between;
|
90 |
+
position: relative;
|
91 |
+
}
|
92 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package.wpchill-title .wpchill-name {
|
93 |
+
margin: 0;
|
94 |
+
font-size: 36px;
|
95 |
+
}
|
96 |
+
.wpmtst-lite-vs-premium
|
97 |
+
.wpchill-pricing-package.wpchill-title.wpchill-wpmtst-lite {
|
98 |
+
justify-content: center;
|
99 |
+
}
|
100 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package.wpchill-title p.description {
|
101 |
+
font-style: italic;
|
102 |
+
font-size: 13px;
|
103 |
+
margin-bottom: 40px;
|
104 |
+
}
|
105 |
+
.wpmtst-lite-vs-premium
|
106 |
+
.wpchill-pricing-package.wpchill-title
|
107 |
+
.wpchill-price
|
108 |
+
p:last-child {
|
109 |
+
font-size: 30px;
|
110 |
+
margin: 0 0 40px 0;
|
111 |
+
}
|
112 |
+
.wpmtst-lite-vs-premium
|
113 |
+
.wpchill-pricing-package.wpchill-title
|
114 |
+
.wpchill-price
|
115 |
+
p.old-price {
|
116 |
+
margin: 0;
|
117 |
+
position: relative;
|
118 |
+
}
|
119 |
+
.wpmtst-lite-vs-premium
|
120 |
+
.wpchill-pricing-package.wpchill-title
|
121 |
+
.wpchill-price
|
122 |
+
p.old-price:after {
|
123 |
+
content: "";
|
124 |
+
height: 2px;
|
125 |
+
width: 60px;
|
126 |
+
background: red;
|
127 |
+
display: block;
|
128 |
+
position: absolute;
|
129 |
+
left: 50%;
|
130 |
+
top: 52%;
|
131 |
+
transform: translate(-50%, -50%);
|
132 |
+
}
|
133 |
+
.wpmtst-lite-vs-premium
|
134 |
+
.wpchill-pricing-package.wpchill-title
|
135 |
+
.wpchill-price
|
136 |
+
sup {
|
137 |
+
top: 2px;
|
138 |
+
position: relative;
|
139 |
+
font-size: 15px;
|
140 |
+
}
|
141 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package.wpchill-empty {
|
142 |
+
background: 0 0;
|
143 |
+
border-color: transparent;
|
144 |
+
}
|
145 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package.feature-name {
|
146 |
+
justify-content: space-between;
|
147 |
+
font-weight: 400;
|
148 |
+
text-align: left;
|
149 |
+
font-size: 13px;
|
150 |
+
display: block;
|
151 |
+
background: 0 0;
|
152 |
+
}
|
153 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package .dashicons-saved {
|
154 |
+
color: green;
|
155 |
+
}
|
156 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package .dashicons {
|
157 |
+
width: 30px;
|
158 |
+
height: 30px;
|
159 |
+
font-size: 30px;
|
160 |
+
}
|
161 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package .dashicons-no-alt {
|
162 |
+
color: #ff3439;
|
163 |
+
}
|
164 |
+
.wpmtst-lite-vs-premium .wpchill-pricing-package:last-child {
|
165 |
+
background: #fefff0;
|
166 |
+
}
|
167 |
+
.wpmtst-lite-vs-premium .button .dashicons {
|
168 |
+
font-size: 16px;
|
169 |
+
vertical-align: middle;
|
170 |
+
line-height: 26px;
|
171 |
+
}
|
172 |
+
a.wpmtst-lite-vs-pro {
|
173 |
+
color: orange;
|
174 |
+
font-weight: bold;
|
175 |
+
}
|
admin/img/logo-long.svg
CHANGED
File without changes
|
changelog.txt
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
= 2.51.
|
|
|
|
|
|
|
|
|
2 |
- Fixed upsells for wp 5.8.1 ( https://github.com/WPChill/strong-testimonials/issues/281 )
|
3 |
- Added: Tracking option - allow us to track non-sensitive data, only information regarding the WordPress environment and Strong Testimonials settings
|
4 |
|
1 |
+
= 2.51.7 - 21.03.2022 =
|
2 |
+
- Added: Lite vs Pro page ( https://github.com/WPChill/strong-testimonials/issues/167 )
|
3 |
+
- Added: Upgrade to PRO action link in the plugins page ( https://github.com/WPChill/strong-testimonials/issues/303 )
|
4 |
+
|
5 |
+
= 2.51.6 - 15.09.2021 =
|
6 |
- Fixed upsells for wp 5.8.1 ( https://github.com/WPChill/strong-testimonials/issues/281 )
|
7 |
- Added: Tracking option - allow us to track non-sensitive data, only information regarding the WordPress environment and Strong Testimonials settings
|
8 |
|
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 |
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.7
|
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.
|
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.
|
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' );
|
@@ -292,7 +292,8 @@ final class Strong_Testimonials {
|
|
292 |
require_once WPMTST_ADMIN . 'class-strong-testimonials-upsell.php';
|
293 |
require_once WPMTST_ADMIN . 'class-strong-testimonials-updater.php';
|
294 |
require_once WPMTST_ADMIN . 'class-strong-testimonials-review.php';
|
295 |
-
|
|
|
296 |
|
297 |
require_once WPMTST_ADMIN . 'admin.php';
|
298 |
require_once WPMTST_ADMIN . 'admin-notices.php';
|
5 |
* Description: Collect and display your testimonials or reviews.
|
6 |
* Author: WPChill
|
7 |
* Author URI: https://wpchill.com/
|
8 |
+
* Version: 2.51.7
|
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.7' );
|
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' );
|
292 |
require_once WPMTST_ADMIN . 'class-strong-testimonials-upsell.php';
|
293 |
require_once WPMTST_ADMIN . 'class-strong-testimonials-updater.php';
|
294 |
require_once WPMTST_ADMIN . 'class-strong-testimonials-review.php';
|
295 |
+
require_once WPMTST_ADMIN . 'class-strong-testimonials-helper.php';
|
296 |
+
require_once WPMTST_ADMIN . 'class-strong-testimonials-lite-vs-pro-page.php';
|
297 |
|
298 |
require_once WPMTST_ADMIN . 'admin.php';
|
299 |
require_once WPMTST_ADMIN . 'admin-notices.php';
|
wpml-config.xml
CHANGED
@@ -1,51 +1,51 @@
|
|
1 |
-
<wpml-config>
|
2 |
-
<custom-fields>
|
3 |
-
<custom-field action="copy">client_name</custom-field>
|
4 |
-
<custom-field action="copy">company_name</custom-field>
|
5 |
-
<custom-field action="copy">company_website</custom-field>
|
6 |
-
<custom-field action="copy">email</custom-field>
|
7 |
-
</custom-fields>
|
8 |
-
<custom-types>
|
9 |
-
<custom-type translate="1">wpm-testimonial</custom-type>
|
10 |
-
</custom-types>
|
11 |
-
<taxonomies>
|
12 |
-
<taxonomy translate="1">wpm-testimonial-category</taxonomy>
|
13 |
-
</taxonomies>
|
14 |
-
<admin-texts>
|
15 |
-
</admin-texts>
|
16 |
-
<language-switcher-settings>
|
17 |
-
<key name="icl_lang_sel_config">
|
18 |
-
<key name="font-current-normal">#444444</key>
|
19 |
-
<key name="font-current-hover">#000000</key>
|
20 |
-
<key name="background-current-normal">#ffffff</key>
|
21 |
-
<key name="background-current-hover">#eeeeee</key>
|
22 |
-
<key name="font-other-normal">#444444</key>
|
23 |
-
<key name="font-other-hover">#000000</key>
|
24 |
-
<key name="background-other-normal">#ffffff</key>
|
25 |
-
<key name="background-other-hover">#eeeeee</key>
|
26 |
-
<key name="border">#cdcdcd</key>
|
27 |
-
</key>
|
28 |
-
<key name="icl_lang_sel_footer_config">
|
29 |
-
<key name="font-current-normal">#444444</key>
|
30 |
-
<key name="font-current-hover">#000000</key>
|
31 |
-
<key name="background-current-normal">#ffffff</key>
|
32 |
-
<key name="background-current-hover">#eeeeee</key>
|
33 |
-
<key name="font-other-normal">#444444</key>
|
34 |
-
<key name="font-other-hover">#000000</key>
|
35 |
-
<key name="background-other-normal">#ffffff</key>
|
36 |
-
<key name="background-other-hover">#eeeeee</key>
|
37 |
-
<key name="border">#cdcdcd</key>
|
38 |
-
</key>
|
39 |
-
<key name="icl_language_switcher_sidebar">0</key>
|
40 |
-
<key name="icl_widget_title_show">0</key>
|
41 |
-
<key name="icl_lang_sel_type">dropdown</key>
|
42 |
-
<key name="icl_lso_link_empty">0</key>
|
43 |
-
<key name="icl_lso_flags">0</key>
|
44 |
-
<key name="icl_lso_native_lang">1</key>
|
45 |
-
<key name="icl_lso_display_lang">1</key>
|
46 |
-
<key name="icl_lang_sel_footer">0</key>
|
47 |
-
<key name="icl_post_availability">0</key>
|
48 |
-
<key name="icl_post_availability_position">below</key>
|
49 |
-
<key name="icl_post_availability_text">This post is also available in: %s</key>
|
50 |
-
</language-switcher-settings>
|
51 |
-
</wpml-config>
|
1 |
+
<wpml-config>
|
2 |
+
<custom-fields>
|
3 |
+
<custom-field action="copy">client_name</custom-field>
|
4 |
+
<custom-field action="copy">company_name</custom-field>
|
5 |
+
<custom-field action="copy">company_website</custom-field>
|
6 |
+
<custom-field action="copy">email</custom-field>
|
7 |
+
</custom-fields>
|
8 |
+
<custom-types>
|
9 |
+
<custom-type translate="1">wpm-testimonial</custom-type>
|
10 |
+
</custom-types>
|
11 |
+
<taxonomies>
|
12 |
+
<taxonomy translate="1">wpm-testimonial-category</taxonomy>
|
13 |
+
</taxonomies>
|
14 |
+
<admin-texts>
|
15 |
+
</admin-texts>
|
16 |
+
<language-switcher-settings>
|
17 |
+
<key name="icl_lang_sel_config">
|
18 |
+
<key name="font-current-normal">#444444</key>
|
19 |
+
<key name="font-current-hover">#000000</key>
|
20 |
+
<key name="background-current-normal">#ffffff</key>
|
21 |
+
<key name="background-current-hover">#eeeeee</key>
|
22 |
+
<key name="font-other-normal">#444444</key>
|
23 |
+
<key name="font-other-hover">#000000</key>
|
24 |
+
<key name="background-other-normal">#ffffff</key>
|
25 |
+
<key name="background-other-hover">#eeeeee</key>
|
26 |
+
<key name="border">#cdcdcd</key>
|
27 |
+
</key>
|
28 |
+
<key name="icl_lang_sel_footer_config">
|
29 |
+
<key name="font-current-normal">#444444</key>
|
30 |
+
<key name="font-current-hover">#000000</key>
|
31 |
+
<key name="background-current-normal">#ffffff</key>
|
32 |
+
<key name="background-current-hover">#eeeeee</key>
|
33 |
+
<key name="font-other-normal">#444444</key>
|
34 |
+
<key name="font-other-hover">#000000</key>
|
35 |
+
<key name="background-other-normal">#ffffff</key>
|
36 |
+
<key name="background-other-hover">#eeeeee</key>
|
37 |
+
<key name="border">#cdcdcd</key>
|
38 |
+
</key>
|
39 |
+
<key name="icl_language_switcher_sidebar">0</key>
|
40 |
+
<key name="icl_widget_title_show">0</key>
|
41 |
+
<key name="icl_lang_sel_type">dropdown</key>
|
42 |
+
<key name="icl_lso_link_empty">0</key>
|
43 |
+
<key name="icl_lso_flags">0</key>
|
44 |
+
<key name="icl_lso_native_lang">1</key>
|
45 |
+
<key name="icl_lso_display_lang">1</key>
|
46 |
+
<key name="icl_lang_sel_footer">0</key>
|
47 |
+
<key name="icl_post_availability">0</key>
|
48 |
+
<key name="icl_post_availability_position">below</key>
|
49 |
+
<key name="icl_post_availability_text">This post is also available in: %s</key>
|
50 |
+
</language-switcher-settings>
|
51 |
+
</wpml-config>
|