Slider by WD – Responsive Slider - Version 1.0.47

Version Description

  • Added: Fixed background slider.
Download this release

Release Info

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

Code changes from version 1.0.46 to 1.0.47

admin/controllers/WDSControllerSliders_wds.php CHANGED
@@ -196,6 +196,7 @@ class WDSControllerSliders_wds {
196
  $possib_add_ffamily = ((isset($_POST['possib_add_ffamily'])) ? esc_html(stripslashes($_POST['possib_add_ffamily'])) : '');
197
  $show_thumbnail = ((isset($_POST['show_thumbnail'])) ? (int) esc_html(stripslashes($_POST['show_thumbnail'])) : 0);
198
  $thumb_size = ((isset($_POST['thumb_size'])) ? esc_html(stripslashes($_POST['thumb_size'])) : '0.2');
 
199
 
200
  $data = array(
201
  'name' => $name,
@@ -296,6 +297,7 @@ class WDSControllerSliders_wds {
296
  'possib_add_ffamily' => $possib_add_ffamily,
297
  'show_thumbnail' => $show_thumbnail,
298
  'thumb_size' => $thumb_size,
 
299
  );
300
 
301
  if (!$slider_id) {
196
  $possib_add_ffamily = ((isset($_POST['possib_add_ffamily'])) ? esc_html(stripslashes($_POST['possib_add_ffamily'])) : '');
197
  $show_thumbnail = ((isset($_POST['show_thumbnail'])) ? (int) esc_html(stripslashes($_POST['show_thumbnail'])) : 0);
198
  $thumb_size = ((isset($_POST['thumb_size'])) ? esc_html(stripslashes($_POST['thumb_size'])) : '0.2');
199
+ $fixed_bg = ((isset($_POST['fixed_bg'])) ? (int) esc_html(stripslashes($_POST['fixed_bg'])) : 0);
200
 
201
  $data = array(
202
  'name' => $name,
297
  'possib_add_ffamily' => $possib_add_ffamily,
298
  'show_thumbnail' => $show_thumbnail,
299
  'thumb_size' => $thumb_size,
300
+ 'fixed_bg' => $fixed_bg,
301
  );
302
 
303
  if (!$slider_id) {
admin/models/WDSModelSliders_wds.php CHANGED
@@ -207,6 +207,7 @@ class WDSModelSliders_wds {
207
  $row->possib_add_ffamily = '';
208
  $row->show_thumbnail = 0;
209
  $row->thumb_size = '0.2';
 
210
  }
211
  return $row;
212
  }
207
  $row->possib_add_ffamily = '';
208
  $row->show_thumbnail = 0;
209
  $row->thumb_size = '0.2';
210
+ $row->fixed_bg = 0;
211
  }
212
  return $row;
213
  }
admin/views/WDSViewSliders_wds.php CHANGED
@@ -494,6 +494,14 @@ class WDSViewSliders_wds {
494
  <input type="radio" name="bg_fit" id="bg_fit_contain" value="contain" <?php if ($row->bg_fit == 'contain') echo 'checked="checked"'; ?> onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundSize: 'contain'})" /><label for="bg_fit_contain">Contain</label>
495
  </td>
496
  </tr>
 
 
 
 
 
 
 
 
497
  <tr>
498
  <td class="spider_label"><label for="align">Align: </label></td>
499
  <td>
494
  <input type="radio" name="bg_fit" id="bg_fit_contain" value="contain" <?php if ($row->bg_fit == 'contain') echo 'checked="checked"'; ?> onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundSize: 'contain'})" /><label for="bg_fit_contain">Contain</label>
495
  </td>
496
  </tr>
497
+ <tr>
498
+ <td class="spider_label"><label>Fixed background: </label></td>
499
+ <td>
500
+ <input type="radio" id="fixed_bg1" name="fixed_bg" <?php echo (($row->fixed_bg) ? 'checked="checked"' : ''); ?> value="1" /><label for="fixed_bg1">Yes</label>
501
+ <input type="radio" id="fixed_bg0" name="fixed_bg" <?php echo (($row->fixed_bg) ? '' : 'checked="checked"'); ?> value="0" /><label for="fixed_bg0">No</label>
502
+ <div class="spider_description"></div>
503
+ </td>
504
+ </tr>
505
  <tr>
506
  <td class="spider_label"><label for="align">Align: </label></td>
507
  <td>
frontend/views/WDSViewSlider.php CHANGED
@@ -137,6 +137,7 @@ class WDSViewSlider {
137
 
138
  global $wp;
139
  $current_url = add_query_arg($wp->query_string, '', home_url($wp->request));
 
140
 
141
  $current_image_url = '';
142
  ?>
@@ -187,6 +188,7 @@ class WDSViewSlider {
187
  background-position: center center;
188
  background-repeat: no-repeat;
189
  background-size: <?php echo $slider_row->bg_fit; ?>;
 
190
  width: 100%;
191
  }
192
  #wds_container1_<?php echo $wds; ?> #wds_container2_<?php echo $wds; ?> .wds_slideshow_image_container_<?php echo $wds; ?> {
137
 
138
  global $wp;
139
  $current_url = add_query_arg($wp->query_string, '', home_url($wp->request));
140
+ $fixed_bg = isset($slider_row->fixed_bg) ? $slider_row->fixed_bg : 0;
141
 
142
  $current_image_url = '';
143
  ?>
188
  background-position: center center;
189
  background-repeat: no-repeat;
190
  background-size: <?php echo $slider_row->bg_fit; ?>;
191
+ <?php echo $fixed_bg ? 'background-attachment: fixed;' : ''; ?>
192
  width: 100%;
193
  }
194
  #wds_container1_<?php echo $wds; ?> #wds_container2_<?php echo $wds; ?> .wds_slideshow_image_container_<?php echo $wds; ?> {
js/wds.js CHANGED
@@ -123,6 +123,7 @@ function spider_ajax_save(form_id, event) {
123
  post_data["possib_add_ffamily"] = jQuery("#possib_add_ffamily").val();
124
  post_data["show_thumbnail"] = jQuery("input[name=show_thumbnail]:checked").val();
125
  post_data["thumb_size"] = jQuery("input[name=wds_thumb_size]").val();
 
126
  /* Css.*/
127
  post_data["css"] = jQuery("#css").val();
128
 
123
  post_data["possib_add_ffamily"] = jQuery("#possib_add_ffamily").val();
124
  post_data["show_thumbnail"] = jQuery("input[name=show_thumbnail]:checked").val();
125
  post_data["thumb_size"] = jQuery("input[name=wds_thumb_size]").val();
126
+ post_data["fixed_bg"] = jQuery("input[name=fixed_bg]:checked").val();
127
  /* Css.*/
128
  post_data["css"] = jQuery("#css").val();
129
 
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, mp3, video
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
- Stable tag: 1.0.46
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -49,7 +49,8 @@ The number of the slides for each slider is not limited. Various layers can be a
49
  * Possibility to use Slider WD Media Upload for uploading multiple images at once
50
  * Text and image watermarking possibility
51
  * Option of opening the slider-related link within the same page
52
- * Slide duplication
 
53
 
54
  Upgrade to [WordPress Slider Pro](http://web-dorado.com/products/wordpress-slider-plugin.html) to add features:
55
 
@@ -61,11 +62,13 @@ Upgrade to [WordPress Slider Pro](http://web-dorado.com/products/wordpress-slide
61
  * Layers (text, image and media embed)- [Video Manual](https://www.youtube.com/watch?v=obnyK-Czf0k&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP&index=2)
62
  * Social sharing buttons layer (Google+, Tumblr, Twitter, Pinterest and Facebook)
63
  * Hotspot layer
64
- * Slider Filmstrip possibility
65
  * Navigation button/bullet styles
66
  * Parallax effect
67
  * Carousel effect
68
  * Video Slide and layer (mp4)
 
 
69
 
70
  ###IMPORTANT:
71
  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).
@@ -156,6 +159,9 @@ After downloading the ZIP file of the slider plugin,
156
 
157
  == Changelog ==
158
 
 
 
 
159
  = 1.0.46 =
160
  * Changed: Default uploader.
161
 
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, video
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
+ Stable tag: 1.0.47
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
49
  * Possibility to use Slider WD Media Upload for uploading multiple images at once
50
  * Text and image watermarking possibility
51
  * Option of opening the slider-related link within the same page
52
+ * Slide duplication
53
+ * Fixed background slider
54
 
55
  Upgrade to [WordPress Slider Pro](http://web-dorado.com/products/wordpress-slider-plugin.html) to add features:
56
 
62
  * Layers (text, image and media embed)- [Video Manual](https://www.youtube.com/watch?v=obnyK-Czf0k&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP&index=2)
63
  * Social sharing buttons layer (Google+, Tumblr, Twitter, Pinterest and Facebook)
64
  * Hotspot layer
65
+ * Filmstrip support
66
  * Navigation button/bullet styles
67
  * Parallax effect
68
  * Carousel effect
69
  * Video Slide and layer (mp4)
70
+ * Slider Export/Import.
71
+
72
 
73
  ###IMPORTANT:
74
  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).
159
 
160
  == Changelog ==
161
 
162
+ = 1.0.47 =
163
+ * Added: Fixed background slider.
164
+
165
  = 1.0.46 =
166
  * Changed: Default uploader.
167
 
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.46
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -384,6 +384,7 @@ function wds_activate() {
384
  'possib_add_ffamily' => '',
385
  'show_thumbnail' => 0,
386
  'thumb_size' => '0.2',
 
387
  )
388
  );
389
  }
@@ -397,7 +398,7 @@ register_activation_hook(__FILE__, 'wds_activate');
397
 
398
  function wds_install() {
399
  $version = get_option("wds_version");
400
- $new_version = '1.0.46';
401
  if ($version && version_compare($version, $new_version, '<')) {
402
  require_once WD_S_DIR . "/sliders-update.php";
403
  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.47
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
384
  'possib_add_ffamily' => '',
385
  'show_thumbnail' => 0,
386
  'thumb_size' => '0.2',
387
+ 'fixed_bg' => 0,
388
  )
389
  );
390
  }
398
 
399
  function wds_install() {
400
  $version = get_option("wds_version");
401
+ $new_version = '1.0.47';
402
  if ($version && version_compare($version, $new_version, '<')) {
403
  require_once WD_S_DIR . "/sliders-update.php";
404
  wds_update($version);
sliders-insert.php CHANGED
@@ -102,6 +102,7 @@ function wds_insert() {
102
  `possib_add_ffamily` varchar(255) NOT NULL,
103
  `show_thumbnail` tinyint(1) NOT NULL,
104
  `thumb_size` varchar(8) NOT NULL,
 
105
  PRIMARY KEY (`id`)
106
  ) DEFAULT CHARSET=utf8;";
107
  $wpdb->query($wdsslider);
102
  `possib_add_ffamily` varchar(255) NOT NULL,
103
  `show_thumbnail` tinyint(1) NOT NULL,
104
  `thumb_size` varchar(8) NOT NULL,
105
+ `fixed_bg` tinyint(1) NOT NULL,
106
  PRIMARY KEY (`id`)
107
  ) DEFAULT CHARSET=utf8;";
108
  $wpdb->query($wdsslider);
sliders-update.php CHANGED
@@ -94,6 +94,9 @@ function wds_update($version) {
94
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `show_thumbnail` tinyint(1) NOT NULL DEFAULT 0");
95
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `thumb_size` varchar(8) NOT NULL DEFAULT '0.2'");
96
  }
 
 
 
97
  return;
98
  }
99
 
94
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `show_thumbnail` tinyint(1) NOT NULL DEFAULT 0");
95
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `thumb_size` varchar(8) NOT NULL DEFAULT '0.2'");
96
  }
97
+ if (version_compare($version, '1.0.47') == -1) {
98
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "wdsslider` ADD `fixed_bg` tinyint(1) NOT NULL DEFAULT 0");
99
+ }
100
  return;
101
  }
102