Version Description
Download this release
Release Info
Developer | TemplateMonster 2002 |
Plugin | Cherry Testimonials |
Version | 1.1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.0.3 to 1.1.0.4
- public/assets/js/public.js +8 -0
- public/assets/js/public.min.js +1 -1
- readme.txt +2 -2
- testimonials.php +6 -6
public/assets/js/public.js
CHANGED
@@ -10,10 +10,17 @@
|
|
10 |
|
11 |
var $container = $( this ),
|
12 |
atts = $container.data( 'atts' ),
|
|
|
13 |
params = {},
|
14 |
swiper = null,
|
15 |
key;
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
if ( undefined !== atts ) {
|
18 |
|
19 |
params = {
|
@@ -64,3 +71,4 @@
|
|
64 |
$( window ).on( 'elementor/frontend/init', initElementorPlugin );
|
65 |
|
66 |
} )( jQuery );
|
|
10 |
|
11 |
var $container = $( this ),
|
12 |
atts = $container.data( 'atts' ),
|
13 |
+
inited = $container.data( 'init' ),
|
14 |
params = {},
|
15 |
swiper = null,
|
16 |
key;
|
17 |
|
18 |
+
if ( true === inited ) {
|
19 |
+
return;
|
20 |
+
}
|
21 |
+
|
22 |
+
$container.data( 'init', true );
|
23 |
+
|
24 |
if ( undefined !== atts ) {
|
25 |
|
26 |
params = {
|
71 |
$( window ).on( 'elementor/frontend/init', initElementorPlugin );
|
72 |
|
73 |
} )( jQuery );
|
74 |
+
|
public/assets/js/public.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){"use strict";function n(){var n,a=t(this),e=a.data("atts"),o={};if(void 0!==e){o={pagination:"#tm-testi-slider-pagination-"+e.id,nextButton:"#tm-testi-slider-next-"+e.id,prevButton:"#tm-testi-slider-prev-"+e.id,paginationClickable:!0,autoHeight:!1,paginationBulletRender:i};for(n in e)o[n]=e[n]}new Swiper(a,o)}function i(t,n,i){if(!t.paginationContainer)return'<span class="'+i+'"></span>';var a=t.paginationContainer.data("avatars"),e=t.paginationContainer.data("size"),o=null;return a?(o=a[n],'<span class="'+i+' img-pagination-item" style="background-image: url(\''+o+"'); width:"+e+"px; height:"+e+'px;"></span>'):'<span class="'+i+'"></span>'}t(function(){t(".tm-testi-slider").each(n)}),t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/tm_testimonials.default",function(t){t.find(".tm-testi-slider").each(n)})})}(jQuery);
|
1 |
+
!function(t){"use strict";function n(){var n,a=t(this),e=a.data("atts"),o={};if(!0!==a.data("init")){if(a.data("init",!0),void 0!==e){o={pagination:"#tm-testi-slider-pagination-"+e.id,nextButton:"#tm-testi-slider-next-"+e.id,prevButton:"#tm-testi-slider-prev-"+e.id,paginationClickable:!0,autoHeight:!1,paginationBulletRender:i};for(n in e)o[n]=e[n]}o.slidesPerView=1,new Swiper(a,o)}}function i(t,n,i){if(!t.paginationContainer)return'<span class="'+i+'"></span>';var a=t.paginationContainer.data("avatars"),e=t.paginationContainer.data("size"),o=null;return a?(o=a[n],'<span class="'+i+' img-pagination-item" style="background-image: url(\''+o+"'); width:"+e+"px; height:"+e+'px;"></span>'):'<span class="'+i+'"></span>'}t(function(){t(".tm-testi-slider").each(n)}),t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/tm_testimonials.default",function(t){t.find(".tm-testi-slider").each(n)})})}(jQuery);
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: TemplateMonster 2002
|
3 |
Tags: testimonials, reviews, custom post type, slider, swiper, cherry framework, elementor
|
4 |
Requires at least: 4.5
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
2 |
Contributors: TemplateMonster 2002
|
3 |
Tags: testimonials, reviews, custom post type, slider, swiper, cherry framework, elementor
|
4 |
Requires at least: 4.5
|
5 |
+
Tested up to: 4.9
|
6 |
+
Stable tag: 1.1.0.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
testimonials.php
CHANGED
@@ -3,18 +3,18 @@
|
|
3 |
* Plugin Name: Cherry Testimonials
|
4 |
* Plugin URI:
|
5 |
* Description: A testimonials management plugin for WordPress.
|
6 |
-
* Version: 1.1.0.
|
7 |
-
* Author:
|
8 |
-
* Author URI: https://
|
9 |
* Text Domain: cherry-testi
|
10 |
* License: GPL-3.0+
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
12 |
* Domain Path: /languages
|
13 |
*
|
14 |
* @package Cherry_Testi
|
15 |
-
* @author
|
16 |
* @license GPL-3.0+
|
17 |
-
* @copyright 2002-2016,
|
18 |
*/
|
19 |
|
20 |
// If this file is called directly, abort.
|
@@ -104,7 +104,7 @@ if ( ! class_exists( 'TM_Testimonials_Plugin' ) ) {
|
|
104 |
*
|
105 |
* @since 1.0.0
|
106 |
*/
|
107 |
-
define( 'TM_TESTI_VERSION', '1.1.0.
|
108 |
|
109 |
/**
|
110 |
* Set the name for the `meta_key` value in the `wp_postmeta` table.
|
3 |
* Plugin Name: Cherry Testimonials
|
4 |
* Plugin URI:
|
5 |
* Description: A testimonials management plugin for WordPress.
|
6 |
+
* Version: 1.1.0.4
|
7 |
+
* Author: Zemez
|
8 |
+
* Author URI: https://zemez.io/wordpress/
|
9 |
* Text Domain: cherry-testi
|
10 |
* License: GPL-3.0+
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
12 |
* Domain Path: /languages
|
13 |
*
|
14 |
* @package Cherry_Testi
|
15 |
+
* @author Zemez
|
16 |
* @license GPL-3.0+
|
17 |
+
* @copyright 2002-2016, Zemez
|
18 |
*/
|
19 |
|
20 |
// If this file is called directly, abort.
|
104 |
*
|
105 |
* @since 1.0.0
|
106 |
*/
|
107 |
+
define( 'TM_TESTI_VERSION', '1.1.0.4' );
|
108 |
|
109 |
/**
|
110 |
* Set the name for the `meta_key` value in the `wp_postmeta` table.
|