Slider by WD – Responsive Slider - Version 1.0.41

Version Description

Added: Video slide/layer.
Fixed: Line break in text, hotspot layer on export/import.

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Slider by WD – Responsive Slider
Version 1.0.41
Comparing to
See all releases

Code changes from version 1.0.40 to 1.0.41

admin/views/WDSViewSliders_wds.php CHANGED
@@ -1832,6 +1832,7 @@ class WDSViewSliders_wds {
1832
  }
1833
  ?>
1834
  <input type="button" class="button-primary" onclick="wds_add_image_url('<?php echo $slide_row->id; ?>')" value="Add Image by URL" />
 
1835
  <input type="button" class="button-secondary wds_free_button" onclick="alert('This functionality is disabled in free version.')" value="Embed Media" />
1836
  <input class="button-secondary wds_free_button" type="button" value="Add Post" onclick="alert('This functionality is disabled in free version.')" />
1837
  <input type="button" class="button-secondary" id="delete_image_url<?php echo $slide_row->id; ?>" onclick="spider_remove_url('image_url<?php echo $slide_row->id; ?>', 'wds_preview_image<?php echo $slide_row->id; ?>')" value="Remove" />
@@ -1933,6 +1934,7 @@ class WDSViewSliders_wds {
1933
  <?php
1934
  }
1935
  ?>
 
1936
  <input type="button" class="button-secondary button button-small wds_free_button" onclick="alert('This functionality is disabled in free version.'); return false;" value="Embed Media Layer" />
1937
  <input type="button" class="button-secondary button button-small wds_free_button" onclick="alert('This functionality is disabled in free version.'); return false;" value="Add Social Button Layer" />
1938
  <input type="button" class="button-secondary button button-small wds_free_button" onclick="alert('This functionality is disabled in free version.'); return false;" value="Add Hotspot Layer" />
1832
  }
1833
  ?>
1834
  <input type="button" class="button-primary" onclick="wds_add_image_url('<?php echo $slide_row->id; ?>')" value="Add Image by URL" />
1835
+ <input type="button" class="button-secondary wds_free_button" onclick="alert('This functionality is disabled in free version.')" value="Add Video" />
1836
  <input type="button" class="button-secondary wds_free_button" onclick="alert('This functionality is disabled in free version.')" value="Embed Media" />
1837
  <input class="button-secondary wds_free_button" type="button" value="Add Post" onclick="alert('This functionality is disabled in free version.')" />
1838
  <input type="button" class="button-secondary" id="delete_image_url<?php echo $slide_row->id; ?>" onclick="spider_remove_url('image_url<?php echo $slide_row->id; ?>', 'wds_preview_image<?php echo $slide_row->id; ?>')" value="Remove" />
1934
  <?php
1935
  }
1936
  ?>
1937
+ <input type="button" class="button-secondary button button-small wds_free_button" id="button_video_url<?php echo $slide_row->id; ?>" onclick="alert('This functionality is disabled in free version.'); return false;" value="Add Video Layer" />
1938
  <input type="button" class="button-secondary button button-small wds_free_button" onclick="alert('This functionality is disabled in free version.'); return false;" value="Embed Media Layer" />
1939
  <input type="button" class="button-secondary button button-small wds_free_button" onclick="alert('This functionality is disabled in free version.'); return false;" value="Add Social Button Layer" />
1940
  <input type="button" class="button-secondary button button-small wds_free_button" onclick="alert('This functionality is disabled in free version.'); return false;" value="Add Hotspot Layer" />
js/wds.js CHANGED
@@ -2351,6 +2351,7 @@ function wds_add_slide() {
2351
  '<tr><td colspan="4">' +
2352
  slide_upload_by +
2353
  ' <input class="button-primary" type="button" value="Add Image by URL" onclick="wds_add_image_url(\'' + slideID + '\')">' +
 
2354
  ' <input class="button-secondary wds_free_button" type="button" value="Embed Media" onclick="alert(\'This functionality is disabled in free version.\')">' +
2355
  ' <input class="button-secondary wds_free_button" type="button" value="Add Post" onclick="alert(\'This functionality is disabled in free version.\')">' +
2356
  ' <input id="delete_image_url' + slideID + '" class="button-secondary" type="button" value="Remove" onclick="spider_remove_url(\'image_url' + slideID + '\', \'wds_preview_image' + slideID + '\')" />' +
@@ -2383,6 +2384,7 @@ function wds_add_slide() {
2383
  '</tr><tr><td colspan="4">' +
2384
  ' <input class="button-' + (!fv ? "primary" : "secondary wds_free_button") + ' button button-small" type="button" value="Add Text Layer" onclick="' + (!fv ? "wds_add_layer(\'text\', \'' + slideID + '\')" : "alert('This functionality is disabled in free version.')") + '; return false;">' +
2385
  img_layer_upload_by +
 
2386
  ' <input class="button-secondary button button-small wds_free_button" type="button" value="Embed Media Layer" onclick="alert(\'This functionality is disabled in free version.\'); return false;" />' +
2387
  ' <input class="button-secondary button button-small wds_free_button" type="button" value="Add Social Buttons Layer" onclick="alert(\'This functionality is disabled in free version.\'); return false;">' +
2388
  ' <input class="button-secondary button button-small wds_free_button" type="button" value="Add Hotspot Layer" onclick="alert(\'This functionality is disabled in free version.\'); return false;"></td>' +
2351
  '<tr><td colspan="4">' +
2352
  slide_upload_by +
2353
  ' <input class="button-primary" type="button" value="Add Image by URL" onclick="wds_add_image_url(\'' + slideID + '\')">' +
2354
+ ' <input type="button" class="button-secondary wds_free_button" onclick="alert(\'This functionality is disabled in free version.\')"" value="Add Video" />' +
2355
  ' <input class="button-secondary wds_free_button" type="button" value="Embed Media" onclick="alert(\'This functionality is disabled in free version.\')">' +
2356
  ' <input class="button-secondary wds_free_button" type="button" value="Add Post" onclick="alert(\'This functionality is disabled in free version.\')">' +
2357
  ' <input id="delete_image_url' + slideID + '" class="button-secondary" type="button" value="Remove" onclick="spider_remove_url(\'image_url' + slideID + '\', \'wds_preview_image' + slideID + '\')" />' +
2384
  '</tr><tr><td colspan="4">' +
2385
  ' <input class="button-' + (!fv ? "primary" : "secondary wds_free_button") + ' button button-small" type="button" value="Add Text Layer" onclick="' + (!fv ? "wds_add_layer(\'text\', \'' + slideID + '\')" : "alert('This functionality is disabled in free version.')") + '; return false;">' +
2386
  img_layer_upload_by +
2387
+ ' <input class="button-secondary button button-small wds_free_button" type="button" onclick="alert(\'This functionality is disabled in free version.\'); return false;" value="Add Video Layer" />' +
2388
  ' <input class="button-secondary button button-small wds_free_button" type="button" value="Embed Media Layer" onclick="alert(\'This functionality is disabled in free version.\'); return false;" />' +
2389
  ' <input class="button-secondary button button-small wds_free_button" type="button" value="Add Social Buttons Layer" onclick="alert(\'This functionality is disabled in free version.\'); return false;">' +
2390
  ' <input class="button-secondary button button-small wds_free_button" type="button" value="Add Hotspot Layer" onclick="alert(\'This functionality is disabled in free version.\'); return false;"></td>' +
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Slider WD ===
2
  Contributors: webdorado
3
  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.3
7
- Stable tag: 1.0.40
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -147,6 +147,10 @@ After downloading the ZIP file of the slider plugin,
147
 
148
  == Changelog ==
149
 
 
 
 
 
150
  = 1.0.40 =
151
  Added: Swipe for filmstrip.
152
  Added: Mousewheel and keyboard navigation methods.
1
  === Slider WD ===
2
  Contributors: webdorado
3
  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, mp3
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
+ Stable tag: 1.0.41
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
147
 
148
  == Changelog ==
149
 
150
+ = 1.0.41 =
151
+ Added: Video slide/layer.
152
+ Fixed: Line break in text, hotspot layer on export/import.
153
+
154
  = 1.0.40 =
155
  Added: Swipe for filmstrip.
156
  Added: Mousewheel and keyboard navigation methods.
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.40
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -392,7 +392,7 @@ register_activation_hook(__FILE__, 'wds_activate');
392
 
393
  function wds_install() {
394
  $version = get_option("wds_version");
395
- $new_version = '1.0.40';
396
  if ($version && version_compare($version, $new_version, '<')) {
397
  require_once WD_S_DIR . "/sliders-update.php";
398
  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.41
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
392
 
393
  function wds_install() {
394
  $version = get_option("wds_version");
395
+ $new_version = '1.0.41';
396
  if ($version && version_compare($version, $new_version, '<')) {
397
  require_once WD_S_DIR . "/sliders-update.php";
398
  wds_update($version);
sliders-insert.php CHANGED
@@ -105,7 +105,7 @@ function wds_insert() {
105
  $wdsslide = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "wdsslide` (
106
  `id` int(11) NOT NULL AUTO_INCREMENT,
107
  `slider_id` bigint(20) NOT NULL,
108
- `title` varchar(127) NOT NULL,
109
  `type` varchar(128) NOT NULL,
110
  `image_url` mediumtext NOT NULL,
111
  `thumb_url` mediumtext NOT NULL,
@@ -118,7 +118,7 @@ function wds_insert() {
118
  $wpdb->query($wdsslide);
119
  $wdslayer = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "wdslayer` (
120
  `id` int(11) NOT NULL AUTO_INCREMENT,
121
- `title` varchar(127) NOT NULL,
122
  `slide_id` bigint(20) NOT NULL,
123
  `type` varchar(8) NOT NULL,
124
  `depth` bigint(20) NOT NULL,
105
  $wdsslide = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "wdsslide` (
106
  `id` int(11) NOT NULL AUTO_INCREMENT,
107
  `slider_id` bigint(20) NOT NULL,
108
+ `title` longtext NOT NULL,
109
  `type` varchar(128) NOT NULL,
110
  `image_url` mediumtext NOT NULL,
111
  `thumb_url` mediumtext NOT NULL,
118
  $wpdb->query($wdsslide);
119
  $wdslayer = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "wdslayer` (
120
  `id` int(11) NOT NULL AUTO_INCREMENT,
121
+ `title` longtext NOT NULL,
122
  `slide_id` bigint(20) NOT NULL,
123
  `type` varchar(8) NOT NULL,
124
  `depth` bigint(20) NOT NULL,
sliders-update.php CHANGED
@@ -83,6 +83,10 @@ function wds_update($version) {
83
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `mouse_wheel_nav` tinyint(1) NOT NULL DEFAULT 0");
84
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `keyboard_nav` tinyint(1) NOT NULL DEFAULT 0");
85
  }
 
 
 
 
86
  return;
87
  }
88
 
83
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `mouse_wheel_nav` tinyint(1) NOT NULL DEFAULT 0");
84
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `keyboard_nav` tinyint(1) NOT NULL DEFAULT 0");
85
  }
86
+ if (version_compare($version, '1.0.41') == -1) {
87
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslide` CHANGE `title` `title` longtext");
88
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdslayer` CHANGE `title` `title` longtext");
89
+ }
90
  return;
91
  }
92