Version Description
Fixed: Slider playback direction.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.0.20 |
Comparing to | |
See all releases |
Code changes from version 1.0.19 to 1.0.20
- frontend/views/WDSViewSlider.php +16 -3
- readme.txt +4 -1
- slider-wd.php +2 -2
frontend/views/WDSViewSlider.php
CHANGED
@@ -1337,12 +1337,25 @@ class WDSViewSlider {
|
|
1337 |
return;
|
1338 |
}
|
1339 |
var direction = 'right';
|
1340 |
-
|
1341 |
-
|
|
|
|
|
|
|
1342 |
}
|
1343 |
-
else if (
|
1344 |
return;
|
1345 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1346 |
/* Set active thumbnail position.*/
|
1347 |
wds_current_filmstrip_pos_<?php echo $wds; ?> = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_<?php echo $wds; ?>").<?php echo $width_or_height; ?>() + 2 + 2 * 0);
|
1348 |
wds_current_key_<?php echo $wds; ?> = key;
|
1337 |
return;
|
1338 |
}
|
1339 |
var direction = 'right';
|
1340 |
+
var int_curr_key = parseInt(wds_current_key_<?php echo $wds; ?>);
|
1341 |
+
var int_key = parseInt(key);
|
1342 |
+
var last_pos = wds_data_<?php echo $wds; ?>.length - 1;
|
1343 |
+
if (int_curr_key > int_key) {
|
1344 |
+
direction = 'left';
|
1345 |
}
|
1346 |
+
else if (int_curr_key == int_key) {
|
1347 |
return;
|
1348 |
}
|
1349 |
+
if (int_key == 0) {
|
1350 |
+
if (int_curr_key == last_pos) {
|
1351 |
+
direction = 'right';
|
1352 |
+
}
|
1353 |
+
}
|
1354 |
+
if (int_key == last_pos) {
|
1355 |
+
if (int_curr_key == 0) {
|
1356 |
+
direction = 'left';
|
1357 |
+
}
|
1358 |
+
}
|
1359 |
/* Set active thumbnail position.*/
|
1360 |
wds_current_filmstrip_pos_<?php echo $wds; ?> = key * (jQuery(".wds_slideshow_filmstrip_thumbnail_<?php echo $wds; ?>").<?php echo $width_or_height; ?>() + 2 + 2 * 0);
|
1361 |
wds_current_key_<?php echo $wds; ?> = key;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -139,6 +139,9 @@ After downloading the ZIP file of the slider plugin,
|
|
139 |
|
140 |
== Changelog ==
|
141 |
|
|
|
|
|
|
|
142 |
= 1.0.19 =
|
143 |
Fixed: Slider width/height problem after Chrome update.
|
144 |
Fixed: Export.
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 1.0.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
139 |
|
140 |
== Changelog ==
|
141 |
|
142 |
+
= 1.0.20 =
|
143 |
+
Fixed: Slider playback direction.
|
144 |
+
|
145 |
= 1.0.19 =
|
146 |
Fixed: Slider width/height problem after Chrome update.
|
147 |
Fixed: Export.
|
slider-wd.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
-
* Version: 1.0.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -339,7 +339,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
339 |
|
340 |
function wds_install() {
|
341 |
$version = get_option("wds_version");
|
342 |
-
$new_version = '1.0.
|
343 |
if ($version && version_compare($version, $new_version, '<')) {
|
344 |
require_once WD_S_DIR . "/sliders-update.php";
|
345 |
wds_update($version);
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
+
* Version: 1.0.20
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
339 |
|
340 |
function wds_install() {
|
341 |
$version = get_option("wds_version");
|
342 |
+
$new_version = '1.0.20';
|
343 |
if ($version && version_compare($version, $new_version, '<')) {
|
344 |
require_once WD_S_DIR . "/sliders-update.php";
|
345 |
wds_update($version);
|