Version Description
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.0.26 |
Comparing to | |
See all releases |
Code changes from version 1.0.25 to 1.0.26
- admin/controllers/WDSControllerSliders_wds.php +7 -1
- admin/models/WDSModelSliders_wds.php +1 -0
- admin/views/WDSViewSliders_wds.php +8 -0
- js/wds.js +1 -0
- readme.txt +5 -2
- slider-wd.php +3 -2
- sliders-insert.php +1 -0
- sliders-update.php +4 -0
admin/controllers/WDSControllerSliders_wds.php
CHANGED
@@ -187,6 +187,7 @@ class WDSControllerSliders_wds {
|
|
187 |
$carousel_image_parameters = 0.85;
|
188 |
$carousel_fit_containerWidth = 0;
|
189 |
$carousel_width = 1000;
|
|
|
190 |
|
191 |
if (!$slider_id) {
|
192 |
$save = $wpdb->insert($wpdb->prefix . 'wdsslider', array(
|
@@ -278,7 +279,8 @@ class WDSControllerSliders_wds {
|
|
278 |
'carousel_image_counts' => $carousel_image_counts,
|
279 |
'carousel_image_parameters' => $carousel_image_parameters,
|
280 |
'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
|
281 |
-
'carousel_width' => $carousel_width
|
|
|
282 |
), array(
|
283 |
'%s',
|
284 |
'%d',
|
@@ -369,6 +371,7 @@ class WDSControllerSliders_wds {
|
|
369 |
'%s',
|
370 |
'%d',
|
371 |
'%d',
|
|
|
372 |
));
|
373 |
$_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'wdsslider');
|
374 |
}
|
@@ -463,6 +466,7 @@ class WDSControllerSliders_wds {
|
|
463 |
'carousel_image_parameters' => $carousel_image_parameters,
|
464 |
'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
|
465 |
'carousel_width' => $carousel_width,
|
|
|
466 |
), array('id' => $slider_id));
|
467 |
}
|
468 |
if ($save !== FALSE) {
|
@@ -921,6 +925,7 @@ class WDSControllerSliders_wds {
|
|
921 |
'carousel_image_parameters' => $slider_row->carousel_image_parameters,
|
922 |
'carousel_fit_containerWidth' => $slider_row->carousel_fit_containerWidth,
|
923 |
'carousel_width' => $slider_row->carousel_width,
|
|
|
924 |
), array(
|
925 |
'%s',
|
926 |
'%d',
|
@@ -1011,6 +1016,7 @@ class WDSControllerSliders_wds {
|
|
1011 |
'%s',
|
1012 |
'%d',
|
1013 |
'%d',
|
|
|
1014 |
));
|
1015 |
$new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
|
1016 |
|
187 |
$carousel_image_parameters = 0.85;
|
188 |
$carousel_fit_containerWidth = 0;
|
189 |
$carousel_width = 1000;
|
190 |
+
$parallax_effect = 0;
|
191 |
|
192 |
if (!$slider_id) {
|
193 |
$save = $wpdb->insert($wpdb->prefix . 'wdsslider', array(
|
279 |
'carousel_image_counts' => $carousel_image_counts,
|
280 |
'carousel_image_parameters' => $carousel_image_parameters,
|
281 |
'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
|
282 |
+
'carousel_width' => $carousel_width,
|
283 |
+
'parallax_effect' => $parallax_effect,
|
284 |
), array(
|
285 |
'%s',
|
286 |
'%d',
|
371 |
'%s',
|
372 |
'%d',
|
373 |
'%d',
|
374 |
+
'%d',
|
375 |
));
|
376 |
$_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'wdsslider');
|
377 |
}
|
466 |
'carousel_image_parameters' => $carousel_image_parameters,
|
467 |
'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
|
468 |
'carousel_width' => $carousel_width,
|
469 |
+
'parallax_effect' => $parallax_effect,
|
470 |
), array('id' => $slider_id));
|
471 |
}
|
472 |
if ($save !== FALSE) {
|
925 |
'carousel_image_parameters' => $slider_row->carousel_image_parameters,
|
926 |
'carousel_fit_containerWidth' => $slider_row->carousel_fit_containerWidth,
|
927 |
'carousel_width' => $slider_row->carousel_width,
|
928 |
+
'parallax_effect' => $slider_row->parallax_effect,
|
929 |
), array(
|
930 |
'%s',
|
931 |
'%d',
|
1016 |
'%s',
|
1017 |
'%d',
|
1018 |
'%d',
|
1019 |
+
'%d',
|
1020 |
));
|
1021 |
$new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
|
1022 |
|
admin/models/WDSModelSliders_wds.php
CHANGED
@@ -198,6 +198,7 @@ class WDSModelSliders_wds {
|
|
198 |
$row->carousel_image_parameters = 0.85;
|
199 |
$row->carousel_fit_containerWidth = 0;
|
200 |
$row->carousel_width = 1000;
|
|
|
201 |
}
|
202 |
return $row;
|
203 |
}
|
198 |
$row->carousel_image_parameters = 0.85;
|
199 |
$row->carousel_fit_containerWidth = 0;
|
200 |
$row->carousel_width = 1000;
|
201 |
+
$row->parallax_effect = 0;
|
202 |
}
|
203 |
return $row;
|
204 |
}
|
admin/views/WDSViewSliders_wds.php
CHANGED
@@ -522,6 +522,14 @@ class WDSViewSliders_wds {
|
|
522 |
<div class="spider_description">Define the time for the effect.</div>
|
523 |
</td>
|
524 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
525 |
<tr>
|
526 |
<td class="spider_label"><label>Autoplay: </label></td>
|
527 |
<td>
|
522 |
<div class="spider_description">Define the time for the effect.</div>
|
523 |
</td>
|
524 |
</tr>
|
525 |
+
<tr>
|
526 |
+
<td class="spider_label spider_free_version_label"><label>Parallax Effect: </label></td>
|
527 |
+
<td>
|
528 |
+
<input disabled="disabled" type="radio" id="parallax_effect1" name="parallax_effect" <?php echo (($row->parallax_effect) ? 'checked="checked"' : ''); ?> value="1" /><label for="parallax_effect1">Yes</label>
|
529 |
+
<input disabled="disabled" type="radio" id="parallax_effect0" name="parallax_effect" <?php echo (($row->parallax_effect) ? '' : 'checked="checked"'); ?> value="0" /><label for="parallax_effect0">No</label>
|
530 |
+
<div class="spider_description">The direction of the movement, as well as the layer moving pace depend on the z-index value.</div>
|
531 |
+
</td>
|
532 |
+
</tr>
|
533 |
<tr>
|
534 |
<td class="spider_label"><label>Autoplay: </label></td>
|
535 |
<td>
|
js/wds.js
CHANGED
@@ -39,6 +39,7 @@ function spider_ajax_save(form_id, event) {
|
|
39 |
post_data["published"] = jQuery("input[name=published]:checked").val();
|
40 |
post_data["start_slide_num"] = jQuery("#start_slide_num").val();
|
41 |
post_data["effect_duration"] = jQuery("#effect_duration").val();
|
|
|
42 |
post_data["carousel"] = jQuery("input[name=carousel]:checked").val();
|
43 |
post_data["carousel_image_counts"] = jQuery("#carousel_image_counts").val();
|
44 |
post_data["carousel_image_parameters"] = jQuery("#carousel_image_parameters").val();
|
39 |
post_data["published"] = jQuery("input[name=published]:checked").val();
|
40 |
post_data["start_slide_num"] = jQuery("#start_slide_num").val();
|
41 |
post_data["effect_duration"] = jQuery("#effect_duration").val();
|
42 |
+
post_data["parallax_effect"] = jQuery("input[name=parallax_effect]:checked").val();
|
43 |
post_data["carousel"] = jQuery("input[name=carousel]:checked").val();
|
44 |
post_data["carousel_image_counts"] = jQuery("#carousel_image_counts").val();
|
45 |
post_data["carousel_image_parameters"] = jQuery("#carousel_image_parameters").val();
|
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 |
|
@@ -57,6 +57,7 @@ Upgrade to [WordPress Slider Pro](http://web-dorado.com/products/wordpress-slide
|
|
57 |
* Slider Filmstrip possibility
|
58 |
* Navigation button/bullet styles
|
59 |
* Support for Vimeo and YouTube videos
|
|
|
60 |
|
61 |
###IMPORTANT:
|
62 |
If you think you found a bug in Slider WD or have any problem/question concerning the plugin, please check out [WordPress Slider Support Forum](http://web-dorado.com/forum/slider-plugin.html) in our website. If you do not find a solution here, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
@@ -138,7 +139,9 @@ After downloading the ZIP file of the slider plugin,
|
|
138 |
|
139 |
|
140 |
== Changelog ==
|
141 |
-
|
|
|
|
|
142 |
= 1.0.25 =
|
143 |
Fixed: security issue.
|
144 |
Changed: Manage buttons position.
|
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.26
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
57 |
* Slider Filmstrip possibility
|
58 |
* Navigation button/bullet styles
|
59 |
* Support for Vimeo and YouTube videos
|
60 |
+
* Parallax effect
|
61 |
|
62 |
###IMPORTANT:
|
63 |
If you think you found a bug in Slider WD or have any problem/question concerning the plugin, please check out [WordPress Slider Support Forum](http://web-dorado.com/forum/slider-plugin.html) in our website. If you do not find a solution here, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
139 |
|
140 |
|
141 |
== Changelog ==
|
142 |
+
= 1.2.26 =
|
143 |
+
New: Parallax effect.
|
144 |
+
|
145 |
= 1.0.25 =
|
146 |
Fixed: security issue.
|
147 |
Changed: Manage buttons position.
|
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
|
@@ -321,6 +321,7 @@ function wds_activate() {
|
|
321 |
'carousel_image_parameters' => '0.85',
|
322 |
'carousel_fit_containerWidth' => 0,
|
323 |
'carousel_width' => 1000,
|
|
|
324 |
)
|
325 |
);
|
326 |
}
|
@@ -334,7 +335,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
334 |
|
335 |
function wds_install() {
|
336 |
$version = get_option("wds_version");
|
337 |
-
$new_version = '1.0.
|
338 |
if ($version && version_compare($version, $new_version, '<')) {
|
339 |
require_once WD_S_DIR . "/sliders-update.php";
|
340 |
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.26
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
321 |
'carousel_image_parameters' => '0.85',
|
322 |
'carousel_fit_containerWidth' => 0,
|
323 |
'carousel_width' => 1000,
|
324 |
+
'parallax_effect' => 0,
|
325 |
)
|
326 |
);
|
327 |
}
|
335 |
|
336 |
function wds_install() {
|
337 |
$version = get_option("wds_version");
|
338 |
+
$new_version = '1.0.26';
|
339 |
if ($version && version_compare($version, $new_version, '<')) {
|
340 |
require_once WD_S_DIR . "/sliders-update.php";
|
341 |
wds_update($version);
|
sliders-insert.php
CHANGED
@@ -93,6 +93,7 @@ function wds_insert() {
|
|
93 |
`carousel_image_parameters` varchar(8) NOT NULL,
|
94 |
`carousel_fit_containerWidth` tinyint(1) NOT NULL,
|
95 |
`carousel_width` int(4) NOT NULL,
|
|
|
96 |
PRIMARY KEY (`id`)
|
97 |
) DEFAULT CHARSET=utf8;";
|
98 |
$wpdb->query($wdsslider);
|
93 |
`carousel_image_parameters` varchar(8) NOT NULL,
|
94 |
`carousel_fit_containerWidth` tinyint(1) NOT NULL,
|
95 |
`carousel_width` int(4) NOT NULL,
|
96 |
+
`parallax_effect` tinyint(1) NOT NULL,
|
97 |
PRIMARY KEY (`id`)
|
98 |
) DEFAULT CHARSET=utf8;";
|
99 |
$wpdb->query($wdsslider);
|
sliders-update.php
CHANGED
@@ -61,6 +61,10 @@ function wds_update($version) {
|
|
61 |
if (version_compare($version, '1.0.24') == -1) {
|
62 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslide` CHANGE `type` `type` varchar(128)");
|
63 |
}
|
|
|
|
|
|
|
|
|
64 |
return;
|
65 |
}
|
66 |
|
61 |
if (version_compare($version, '1.0.24') == -1) {
|
62 |
$wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslide` CHANGE `type` `type` varchar(128)");
|
63 |
}
|
64 |
+
if (version_compare($version, '1.0.26') == -1) {
|
65 |
+
// Parallax_effect.
|
66 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `parallax_effect` tinyint(1) NOT NULL DEFAULT 0");
|
67 |
+
}
|
68 |
return;
|
69 |
}
|
70 |
|