Version Description
- 2022-03-06 fix - slider timeout and speed issue fixed.
Download this release
Release Info
Developer | pickplugins |
Plugin | Woocommerce Products Slider |
Version | 1.13.32 |
Comparing to | |
See all releases |
Code changes from version 1.13.31 to 1.13.32
includes/class-metabox-wcps-hook.php
CHANGED
@@ -1466,7 +1466,7 @@ if(!function_exists('wcps_metabox_content_slider_options')) {
|
|
1466 |
|
1467 |
|
1468 |
|
1469 |
-
|
1470 |
$slider_pagination_speed = isset($slider_option['pagination_speed']) ? $slider_option['pagination_speed'] : 1200;
|
1471 |
|
1472 |
$gutter = isset($slider_option['gutter']) ? $slider_option['gutter'] : 10;
|
@@ -1634,20 +1634,20 @@ if(!function_exists('wcps_metabox_content_slider_options')) {
|
|
1634 |
|
1635 |
$settings_tabs_field->generate_field($args);
|
1636 |
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
//
|
1647 |
-
//
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
|
1652 |
|
1653 |
// $args = array(
|
@@ -1720,18 +1720,18 @@ if(!function_exists('wcps_metabox_content_slider_options')) {
|
|
1720 |
|
1721 |
$settings_tabs_field->generate_field($args);
|
1722 |
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
|
1736 |
|
1737 |
$args = array(
|
1466 |
|
1467 |
|
1468 |
|
1469 |
+
$slider_slide_speed = isset($slider_option['slide_speed']) ? $slider_option['slide_speed'] : 1000;
|
1470 |
$slider_pagination_speed = isset($slider_option['pagination_speed']) ? $slider_option['pagination_speed'] : 1200;
|
1471 |
|
1472 |
$gutter = isset($slider_option['gutter']) ? $slider_option['gutter'] : 10;
|
1634 |
|
1635 |
$settings_tabs_field->generate_field($args);
|
1636 |
|
1637 |
+
$args = array(
|
1638 |
+
'id' => 'auto_play_timeout',
|
1639 |
+
'parent' => 'wcps_options[slider]',
|
1640 |
+
'title' => __('Auto play timeout','woocommerce-products-slider'),
|
1641 |
+
'details' => __('Set auto play timeout, ex: 2000','woocommerce-products-slider'),
|
1642 |
+
'type' => 'text',
|
1643 |
+
'value' => $auto_play_timeout,
|
1644 |
+
'default' => 2000,
|
1645 |
+
'placeholder' => '2000',
|
1646 |
+
//'is_error' => ($auto_play_speed > $auto_play_timeout)? true : false,
|
1647 |
+
//'error_details' => __('Value should larger than <b>Auto play speed</b>'),
|
1648 |
+
);
|
1649 |
+
|
1650 |
+
$settings_tabs_field->generate_field($args);
|
1651 |
|
1652 |
|
1653 |
// $args = array(
|
1720 |
|
1721 |
$settings_tabs_field->generate_field($args);
|
1722 |
|
1723 |
+
$args = array(
|
1724 |
+
'id' => 'slide_speed',
|
1725 |
+
'parent' => 'wcps_options[slider]',
|
1726 |
+
'title' => __('Navigation slide speed','woocommerce-products-slider'),
|
1727 |
+
'details' => __('Set slide speed, ex: 1000','woocommerce-products-slider'),
|
1728 |
+
'type' => 'text',
|
1729 |
+
'value' => $slider_slide_speed,
|
1730 |
+
'default' => 1000,
|
1731 |
+
'placeholder' => '1000',
|
1732 |
+
);
|
1733 |
+
|
1734 |
+
$settings_tabs_field->generate_field($args);
|
1735 |
|
1736 |
|
1737 |
$args = array(
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Tags: product slider, woocommerce slider, carousel slider, product category slider, woo slider, carousel slider, woocommerce product slider
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.9
|
7 |
-
Stable tag: 1.13.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -142,6 +142,10 @@ then paste this shortcode anywhere in your page to display slider<br />
|
|
142 |
== Changelog ==
|
143 |
|
144 |
|
|
|
|
|
|
|
|
|
145 |
= 1.13.31 =
|
146 |
* 2022-02-18 removed - Remove tiny-slider.js and replaced by slick.js
|
147 |
* 2022-02-07 add - Remove slides gutter replaced by margin.
|
4 |
Tags: product slider, woocommerce slider, carousel slider, product category slider, woo slider, carousel slider, woocommerce product slider
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.9
|
7 |
+
Stable tag: 1.13.32
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
142 |
== Changelog ==
|
143 |
|
144 |
|
145 |
+
|
146 |
+
= 1.13.32 =
|
147 |
+
* 2022-03-06 fix - slider timeout and speed issue fixed.
|
148 |
+
|
149 |
= 1.13.31 =
|
150 |
* 2022-02-18 removed - Remove tiny-slider.js and replaced by slick.js
|
151 |
* 2022-02-07 add - Remove slides gutter replaced by margin.
|
templates/wcps-slider/wcps-slider-hook.php
CHANGED
@@ -791,7 +791,7 @@ function wcps_slider_main_scripts_slick($args)
|
|
791 |
|
792 |
|
793 |
|
794 |
-
|
795 |
// $slider_pagination_speed = isset($slider_option['pagination_speed']) ? $slider_option['pagination_speed'] : 1200;
|
796 |
$gutter = isset($slider_option['gutter']) ? $slider_option['gutter'] : 10;
|
797 |
|
@@ -893,16 +893,13 @@ function wcps_slider_main_scripts_slick($args)
|
|
893 |
prevArrow: '<div class="prev"><?php echo $navigation_text_prev; ?></div>',
|
894 |
nextArrow: '<div class="next"><?php echo $navigation_text_next; ?></div>',
|
895 |
|
896 |
-
|
897 |
speed: <?php echo $auto_play_speed; ?>,
|
898 |
autoplay: <?php echo $slider_auto_play; ?>,
|
899 |
-
autoplaySpeed: <?php echo $
|
900 |
|
901 |
-
autoplayTimeout: <?php echo $auto_play_timeout; ?>,
|
902 |
// autoplayDirection: <?php echo ($slider_rtl === 'true') ? "'forward'" : "'backward'"; ?>,
|
903 |
pauseOnHover: <?php echo $slider_stop_on_hover; ?>,
|
904 |
-
//navSpeed: <?php //echo $slider_slide_speed;
|
905 |
-
?>//,
|
906 |
dots: <?php echo $slider_pagination; ?>,
|
907 |
navPosition: 'bottom',
|
908 |
//dotsSpeed: <?php //echo $slider_pagination_speed;
|
@@ -1174,7 +1171,7 @@ function wcps_slider_main_scripts($args)
|
|
1174 |
$auto_play_speed = !empty($slider_option['auto_play_speed']) ? $slider_option['auto_play_speed'] : 1000;
|
1175 |
$auto_play_timeout = !empty($slider_option['auto_play_timeout']) ? $slider_option['auto_play_timeout'] : 1200;
|
1176 |
|
1177 |
-
|
1178 |
|
1179 |
$slider_rewind = !empty($slider_option['rewind']) ? $slider_option['rewind'] : 'true';
|
1180 |
$slider_loop = !empty($slider_option['loop']) ? $slider_option['loop'] : 'true';
|
@@ -1334,7 +1331,7 @@ function wcps_slider_main_style($args)
|
|
1334 |
$auto_play_speed = !empty($slider_option['auto_play_speed']) ? $slider_option['auto_play_speed'] : 1000;
|
1335 |
$auto_play_timeout = !empty($slider_option['auto_play_timeout']) ? $slider_option['auto_play_timeout'] : 1200;
|
1336 |
|
1337 |
-
|
1338 |
|
1339 |
$slider_rewind = !empty($slider_option['rewind']) ? $slider_option['rewind'] : 'true';
|
1340 |
$slider_loop = !empty($slider_option['loop']) ? $slider_option['loop'] : 'true';
|
791 |
|
792 |
|
793 |
|
794 |
+
$slider_slide_speed = isset($slider_option['slide_speed']) ? $slider_option['slide_speed'] : 1000;
|
795 |
// $slider_pagination_speed = isset($slider_option['pagination_speed']) ? $slider_option['pagination_speed'] : 1200;
|
796 |
$gutter = isset($slider_option['gutter']) ? $slider_option['gutter'] : 10;
|
797 |
|
893 |
prevArrow: '<div class="prev"><?php echo $navigation_text_prev; ?></div>',
|
894 |
nextArrow: '<div class="next"><?php echo $navigation_text_next; ?></div>',
|
895 |
|
|
|
896 |
speed: <?php echo $auto_play_speed; ?>,
|
897 |
autoplay: <?php echo $slider_auto_play; ?>,
|
898 |
+
autoplaySpeed: <?php echo $auto_play_timeout; ?>,
|
899 |
|
|
|
900 |
// autoplayDirection: <?php echo ($slider_rtl === 'true') ? "'forward'" : "'backward'"; ?>,
|
901 |
pauseOnHover: <?php echo $slider_stop_on_hover; ?>,
|
902 |
+
//navSpeed: <?php //echo $slider_slide_speed; ?>//,
|
|
|
903 |
dots: <?php echo $slider_pagination; ?>,
|
904 |
navPosition: 'bottom',
|
905 |
//dotsSpeed: <?php //echo $slider_pagination_speed;
|
1171 |
$auto_play_speed = !empty($slider_option['auto_play_speed']) ? $slider_option['auto_play_speed'] : 1000;
|
1172 |
$auto_play_timeout = !empty($slider_option['auto_play_timeout']) ? $slider_option['auto_play_timeout'] : 1200;
|
1173 |
|
1174 |
+
//$auto_play_timeout = ($auto_play_speed >= $auto_play_timeout) ? $auto_play_speed + 1000 : $auto_play_timeout;
|
1175 |
|
1176 |
$slider_rewind = !empty($slider_option['rewind']) ? $slider_option['rewind'] : 'true';
|
1177 |
$slider_loop = !empty($slider_option['loop']) ? $slider_option['loop'] : 'true';
|
1331 |
$auto_play_speed = !empty($slider_option['auto_play_speed']) ? $slider_option['auto_play_speed'] : 1000;
|
1332 |
$auto_play_timeout = !empty($slider_option['auto_play_timeout']) ? $slider_option['auto_play_timeout'] : 1200;
|
1333 |
|
1334 |
+
//$auto_play_timeout = ($auto_play_speed >= $auto_play_timeout) ? $auto_play_speed + 1000 : $auto_play_timeout;
|
1335 |
|
1336 |
$slider_rewind = !empty($slider_option['rewind']) ? $slider_option['rewind'] : 'true';
|
1337 |
$slider_loop = !empty($slider_option['loop']) ? $slider_option['loop'] : 'true';
|
woocommerce-products-slider.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: PickPlugins Product Slider for WooCommerce
|
4 |
Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
|
5 |
Description: Fully responsive and mobile ready Carousel Slider for your WooCommerce product. unlimited slider anywhere via short-codes and easy admin setting.
|
6 |
-
Version: 1.13.
|
7 |
WC requires at least: 3.0.0
|
8 |
WC tested up to: 5.9
|
9 |
Author: PickPlugins
|
@@ -25,7 +25,7 @@ class WoocommerceProductsSlider
|
|
25 |
define('wcps_plugin_url', plugins_url('/', __FILE__));
|
26 |
define('wcps_plugin_dir', plugin_dir_path(__FILE__));
|
27 |
define('wcps_plugin_name', 'PickPlugins Product Slider');
|
28 |
-
define('wcps_plugin_version', '1.13.
|
29 |
define('wcps_server_url', 'https://www.pickplugins.com/demo/woocommerce-products-slider/');
|
30 |
//define('wcps_server_url', 'http://localhost/wp/');
|
31 |
|
3 |
Plugin Name: PickPlugins Product Slider for WooCommerce
|
4 |
Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
|
5 |
Description: Fully responsive and mobile ready Carousel Slider for your WooCommerce product. unlimited slider anywhere via short-codes and easy admin setting.
|
6 |
+
Version: 1.13.32
|
7 |
WC requires at least: 3.0.0
|
8 |
WC tested up to: 5.9
|
9 |
Author: PickPlugins
|
25 |
define('wcps_plugin_url', plugins_url('/', __FILE__));
|
26 |
define('wcps_plugin_dir', plugin_dir_path(__FILE__));
|
27 |
define('wcps_plugin_name', 'PickPlugins Product Slider');
|
28 |
+
define('wcps_plugin_version', '1.13.32');
|
29 |
define('wcps_server_url', 'https://www.pickplugins.com/demo/woocommerce-products-slider/');
|
30 |
//define('wcps_server_url', 'http://localhost/wp/');
|
31 |
|