Slider by WD – Responsive Slider - Version 1.1.65

Version Description

  • Fixed: Fixed background videos.
  • Changed: "Select slider to use settings from" option on sliders merge.
Download this release

Release Info

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

Code changes from version 1.1.64 to 1.1.65

admin/controllers/WDSControllerSliders_wds.php CHANGED
@@ -103,7 +103,7 @@ class WDSControllerSliders_wds {
103
  $music_url = str_replace(site_url(), '{site_url}', $music_url);
104
  $preload_images = ((isset($params_array['preload_images'])) ? (int) esc_html(stripslashes($params_array['preload_images'])) : 1);
105
  $background_color = ((isset($params_array['background_color'])) ? esc_html(stripslashes($params_array['background_color'])) : '000000');
106
- $background_transparent = ((isset($params_array['background_transparent'])) ? esc_html(stripslashes($params_array['background_transparent'])) : 100);
107
  $glb_border_width = ((isset($params_array['glb_border_width'])) ? (int) esc_html(stripslashes($params_array['glb_border_width'])) : 0);
108
  $glb_border_style = ((isset($params_array['glb_border_style'])) ? esc_html(stripslashes($params_array['glb_border_style'])) : 'none');
109
  $glb_border_color = ((isset($params_array['glb_border_color'])) ? esc_html(stripslashes($params_array['glb_border_color'])) : '000000');
@@ -149,12 +149,12 @@ class WDSControllerSliders_wds {
149
  $film_dac_transparent = ((isset($params_array['film_dac_transparent'])) ? (int) esc_html(stripslashes($params_array['film_dac_transparent'])) : 50);
150
  $built_in_watermark_type = (isset($params_array['built_in_watermark_type']) ? esc_html(stripslashes($params_array['built_in_watermark_type'])) : 'none');
151
  $built_in_watermark_position = (isset($params_array['built_in_watermark_position']) ? esc_html(stripslashes($params_array['built_in_watermark_position'])) : 'middle-center');
152
- $built_in_watermark_size = (isset($params_array['built_in_watermark_size']) ? esc_html(stripslashes($params_array['built_in_watermark_size'])) : 15);
153
  $built_in_watermark_url = (isset($params_array['built_in_watermark_url']) ? esc_html(stripslashes($params_array['built_in_watermark_url'])) : '');
154
  $built_in_watermark_url = str_replace(site_url(), '{site_url}', $built_in_watermark_url);
155
  $built_in_watermark_text = (isset($params_array['built_in_watermark_text']) ? esc_html(stripslashes($params_array['built_in_watermark_text'])) : 'web-dorado.com');
156
- $built_in_watermark_opacity = (isset($params_array['built_in_watermark_opacity']) ? esc_html(stripslashes($params_array['built_in_watermark_opacity'])) : 70);
157
- $built_in_watermark_font_size = (isset($params_array['built_in_watermark_font_size']) ? esc_html(stripslashes($params_array['built_in_watermark_font_size'])) : 20);
158
  $built_in_watermark_font = (isset($params_array['built_in_watermark_font']) ? esc_html(stripslashes($params_array['built_in_watermark_font'])) : '');
159
  $built_in_watermark_color = (isset($params_array['built_in_watermark_color']) ? esc_html(stripslashes($params_array['built_in_watermark_color'])) : 'FFFFFF');
160
  $css = (isset($params_array['css']) ? htmlspecialchars_decode((stripslashes($params_array['css'])), ENT_QUOTES) : '');
@@ -162,9 +162,9 @@ class WDSControllerSliders_wds {
162
  if (isset($params_array['enable_time_bar']) && (esc_html(stripslashes($params_array['enable_time_bar'])) == 0)) {
163
  $timer_bar_type = 'none';
164
  }
165
- $timer_bar_size = (isset($params_array['timer_bar_size']) ? esc_html(stripslashes($params_array['timer_bar_size'])) : 5);
166
  $timer_bar_color = (isset($params_array['timer_bar_color']) ? esc_html(stripslashes($params_array['timer_bar_color'])) : 'BBBBBB');
167
- $timer_bar_transparent = (isset($params_array['timer_bar_transparent']) ? esc_html(stripslashes($params_array['timer_bar_transparent'])) : 50);
168
  $stop_animation = ((isset($params_array['stop_animation'])) ? (int) esc_html(stripslashes($params_array['stop_animation'])) : 0);
169
  $right_butt_url = (isset($params_array['right_butt_url']) ? esc_html(stripslashes($params_array['right_butt_url'])) : '');
170
  $right_butt_url = str_replace(site_url(), '{site_url}', $right_butt_url);
@@ -376,7 +376,7 @@ class WDSControllerSliders_wds {
376
  $type = ((isset($params_array['type' . $slide_id])) ? esc_html(stripslashes($params_array['type' . $slide_id])) : '');
377
  $order = ((isset($params_array['order' . $slide_id])) ? esc_html(stripslashes($params_array['order' . $slide_id])) : '');
378
  $published = ((isset($params_array['published' . $slide_id])) ? esc_html(stripslashes($params_array['published' . $slide_id])) : '');
379
- $target_attr_slide = ((isset($params_array['target_attr_slide' . $slide_id])) ? esc_html(stripslashes($params_array['target_attr_slide' . $slide_id])) : 0);
380
  $link = ((isset($params_array['link' . $slide_id])) ? esc_html(stripslashes($params_array['link' . $slide_id])) : (($type == 'video') ? 0 : ''));
381
  $image_url = ((isset($params_array['image_url' . $slide_id])) ? esc_html(stripslashes($params_array['image_url' . $slide_id])) : '');
382
  $image_url = str_replace(site_url(), '{site_url}', $image_url);
@@ -435,7 +435,7 @@ class WDSControllerSliders_wds {
435
  $depth = ((isset($params_array_layer['depth'])) ? esc_html(stripslashes($params_array_layer['depth'])) : '');
436
  $text = ((isset($params_array_layer['text'])) ? stripcslashes($params_array_layer['text']) : '');
437
  $link = ((isset($params_array_layer['link'])) ? esc_html(stripslashes($params_array_layer['link'])) : '');
438
- $target_attr_layer = ((isset($params_array_layer['target_attr_layer'])) ? esc_html(stripslashes($params_array_layer['target_attr_layer'])) : 0);
439
  $left = ((isset($params_array_layer['left'])) ? esc_html(stripslashes($params_array_layer['left'])) : '');
440
  $top = ((isset($params_array_layer['top'])) ? esc_html(stripslashes($params_array_layer['top'])) : '');
441
  $start = ((isset($params_array_layer['start'])) ? esc_html(stripslashes($params_array_layer['start'])) : '');
@@ -464,8 +464,8 @@ class WDSControllerSliders_wds {
464
  $hover_color = ((isset($params_array_layer['hover_color'])) ? esc_html(stripslashes($params_array_layer['hover_color'])) : '');
465
  $layer_effect_in = ((isset($params_array_layer['layer_effect_in'])) ? esc_html(stripslashes($params_array_layer['layer_effect_in'])) : '');
466
  $layer_effect_out = ((isset($params_array_layer['layer_effect_out'])) ? esc_html(stripslashes($params_array_layer['layer_effect_out'])) : '');
467
- $duration_eff_in = ((isset($params_array_layer['duration_eff_in'])) ? esc_html(stripslashes($params_array_layer['duration_eff_in'])) : 3);
468
- $duration_eff_out = ((isset($params_array_layer['duration_eff_out'])) ? esc_html(stripslashes($params_array_layer['duration_eff_out'])) : 3);
469
 
470
  $hotp_width = ((isset($params_array_layer['hotp_width'])) ? esc_html(stripslashes($params_array_layer['hotp_width'])) : '');
471
  $hotp_fbgcolor = ((isset($params_array_layer['hotp_fbgcolor'])) ? esc_html(stripslashes($params_array_layer['hotp_fbgcolor'])) : '');
@@ -474,7 +474,7 @@ class WDSControllerSliders_wds {
474
  $hotp_border_color = ((isset($params_array_layer['hotp_border_color'])) ? esc_html(stripslashes($params_array_layer['hotp_border_color'])) : '');
475
  $hotp_border_radius = ((isset($params_array_layer['hotp_border_radius'])) ? esc_html(stripslashes($params_array_layer['hotp_border_radius'])) : '');
476
  $hotp_text_position = ((isset($params_array_layer['hotp_text_position'])) ? esc_html(stripslashes($params_array_layer['hotp_text_position'])) : '');
477
- $google_fonts = ((isset($params_array_layer['google_fonts'])) ? esc_html(stripslashes($params_array_layer['google_fonts'])) : 0);
478
  $add_class = ((isset($params_array_layer['add_class'])) ? esc_html(stripslashes($params_array_layer['add_class'])) : '');
479
  $layer_callback_list = ((isset($params_array_layer['layer_callback_list'])) ? esc_html(stripslashes($params_array_layer['layer_callback_list'])) : '');
480
  $hover_color_text = ((isset($params_array_layer['hover_color_text'])) ? esc_html(stripslashes($params_array_layer['hover_color_text'])) : '');
@@ -856,6 +856,7 @@ class WDSControllerSliders_wds {
856
  'touch_swipe_nav' => $slider_row->touch_swipe_nav,
857
  'mouse_wheel_nav' => $slider_row->mouse_wheel_nav,
858
  'keyboard_nav' => $slider_row->keyboard_nav,
 
859
  ));
860
  $new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
861
 
@@ -1244,10 +1245,15 @@ class WDSControllerSliders_wds {
1244
  }
1245
  if (count($check_sliders) > 1) {
1246
  $name .= implode(",",$sliders_names);
1247
- $last_slider_id = $check_sliders[count($check_sliders) - 1];
1248
- $new_slider_id = $this->duplicate_tables($last_slider_id, $name);
1249
- $max_order = $wpdb->get_var($wpdb->prepare('SELECT MAX(`order`) FROM ' . $wpdb->prefix . 'wdsslide WHERE slider_id="%d"',$new_slider_id));
1250
- array_pop($check_sliders);
 
 
 
 
 
1251
  $this->insert_slides($new_slider_id, $check_sliders, $max_order);
1252
  $flag = TRUE;
1253
  echo WDW_S_Library::message('The selected items are merged as a new slider.', 'wd_updated');
103
  $music_url = str_replace(site_url(), '{site_url}', $music_url);
104
  $preload_images = ((isset($params_array['preload_images'])) ? (int) esc_html(stripslashes($params_array['preload_images'])) : 1);
105
  $background_color = ((isset($params_array['background_color'])) ? esc_html(stripslashes($params_array['background_color'])) : '000000');
106
+ $background_transparent = ((isset($params_array['background_transparent'])) ? (int) esc_html(stripslashes($params_array['background_transparent'])) : 100);
107
  $glb_border_width = ((isset($params_array['glb_border_width'])) ? (int) esc_html(stripslashes($params_array['glb_border_width'])) : 0);
108
  $glb_border_style = ((isset($params_array['glb_border_style'])) ? esc_html(stripslashes($params_array['glb_border_style'])) : 'none');
109
  $glb_border_color = ((isset($params_array['glb_border_color'])) ? esc_html(stripslashes($params_array['glb_border_color'])) : '000000');
149
  $film_dac_transparent = ((isset($params_array['film_dac_transparent'])) ? (int) esc_html(stripslashes($params_array['film_dac_transparent'])) : 50);
150
  $built_in_watermark_type = (isset($params_array['built_in_watermark_type']) ? esc_html(stripslashes($params_array['built_in_watermark_type'])) : 'none');
151
  $built_in_watermark_position = (isset($params_array['built_in_watermark_position']) ? esc_html(stripslashes($params_array['built_in_watermark_position'])) : 'middle-center');
152
+ $built_in_watermark_size = (isset($params_array['built_in_watermark_size']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_size'])) : 15);
153
  $built_in_watermark_url = (isset($params_array['built_in_watermark_url']) ? esc_html(stripslashes($params_array['built_in_watermark_url'])) : '');
154
  $built_in_watermark_url = str_replace(site_url(), '{site_url}', $built_in_watermark_url);
155
  $built_in_watermark_text = (isset($params_array['built_in_watermark_text']) ? esc_html(stripslashes($params_array['built_in_watermark_text'])) : 'web-dorado.com');
156
+ $built_in_watermark_opacity = (isset($params_array['built_in_watermark_opacity']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_opacity'])) : 70);
157
+ $built_in_watermark_font_size = (isset($params_array['built_in_watermark_font_size']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_font_size'])) : 20);
158
  $built_in_watermark_font = (isset($params_array['built_in_watermark_font']) ? esc_html(stripslashes($params_array['built_in_watermark_font'])) : '');
159
  $built_in_watermark_color = (isset($params_array['built_in_watermark_color']) ? esc_html(stripslashes($params_array['built_in_watermark_color'])) : 'FFFFFF');
160
  $css = (isset($params_array['css']) ? htmlspecialchars_decode((stripslashes($params_array['css'])), ENT_QUOTES) : '');
162
  if (isset($params_array['enable_time_bar']) && (esc_html(stripslashes($params_array['enable_time_bar'])) == 0)) {
163
  $timer_bar_type = 'none';
164
  }
165
+ $timer_bar_size = (isset($params_array['timer_bar_size']) ? (int) esc_html(stripslashes($params_array['timer_bar_size'])) : 5);
166
  $timer_bar_color = (isset($params_array['timer_bar_color']) ? esc_html(stripslashes($params_array['timer_bar_color'])) : 'BBBBBB');
167
+ $timer_bar_transparent = (isset($params_array['timer_bar_transparent']) ? (int) esc_html(stripslashes($params_array['timer_bar_transparent'])) : 50);
168
  $stop_animation = ((isset($params_array['stop_animation'])) ? (int) esc_html(stripslashes($params_array['stop_animation'])) : 0);
169
  $right_butt_url = (isset($params_array['right_butt_url']) ? esc_html(stripslashes($params_array['right_butt_url'])) : '');
170
  $right_butt_url = str_replace(site_url(), '{site_url}', $right_butt_url);
376
  $type = ((isset($params_array['type' . $slide_id])) ? esc_html(stripslashes($params_array['type' . $slide_id])) : '');
377
  $order = ((isset($params_array['order' . $slide_id])) ? esc_html(stripslashes($params_array['order' . $slide_id])) : '');
378
  $published = ((isset($params_array['published' . $slide_id])) ? esc_html(stripslashes($params_array['published' . $slide_id])) : '');
379
+ $target_attr_slide = ((isset($params_array['target_attr_slide' . $slide_id])) ? (int) esc_html(stripslashes($params_array['target_attr_slide' . $slide_id])) : 0);
380
  $link = ((isset($params_array['link' . $slide_id])) ? esc_html(stripslashes($params_array['link' . $slide_id])) : (($type == 'video') ? 0 : ''));
381
  $image_url = ((isset($params_array['image_url' . $slide_id])) ? esc_html(stripslashes($params_array['image_url' . $slide_id])) : '');
382
  $image_url = str_replace(site_url(), '{site_url}', $image_url);
435
  $depth = ((isset($params_array_layer['depth'])) ? esc_html(stripslashes($params_array_layer['depth'])) : '');
436
  $text = ((isset($params_array_layer['text'])) ? stripcslashes($params_array_layer['text']) : '');
437
  $link = ((isset($params_array_layer['link'])) ? esc_html(stripslashes($params_array_layer['link'])) : '');
438
+ $target_attr_layer = ((isset($params_array_layer['target_attr_layer'])) ? (int) esc_html(stripslashes($params_array_layer['target_attr_layer'])) : 0);
439
  $left = ((isset($params_array_layer['left'])) ? esc_html(stripslashes($params_array_layer['left'])) : '');
440
  $top = ((isset($params_array_layer['top'])) ? esc_html(stripslashes($params_array_layer['top'])) : '');
441
  $start = ((isset($params_array_layer['start'])) ? esc_html(stripslashes($params_array_layer['start'])) : '');
464
  $hover_color = ((isset($params_array_layer['hover_color'])) ? esc_html(stripslashes($params_array_layer['hover_color'])) : '');
465
  $layer_effect_in = ((isset($params_array_layer['layer_effect_in'])) ? esc_html(stripslashes($params_array_layer['layer_effect_in'])) : '');
466
  $layer_effect_out = ((isset($params_array_layer['layer_effect_out'])) ? esc_html(stripslashes($params_array_layer['layer_effect_out'])) : '');
467
+ $duration_eff_in = ((isset($params_array_layer['duration_eff_in'])) ? (int) esc_html(stripslashes($params_array_layer['duration_eff_in'])) : 3);
468
+ $duration_eff_out = ((isset($params_array_layer['duration_eff_out'])) ? (int) esc_html(stripslashes($params_array_layer['duration_eff_out'])) : 3);
469
 
470
  $hotp_width = ((isset($params_array_layer['hotp_width'])) ? esc_html(stripslashes($params_array_layer['hotp_width'])) : '');
471
  $hotp_fbgcolor = ((isset($params_array_layer['hotp_fbgcolor'])) ? esc_html(stripslashes($params_array_layer['hotp_fbgcolor'])) : '');
474
  $hotp_border_color = ((isset($params_array_layer['hotp_border_color'])) ? esc_html(stripslashes($params_array_layer['hotp_border_color'])) : '');
475
  $hotp_border_radius = ((isset($params_array_layer['hotp_border_radius'])) ? esc_html(stripslashes($params_array_layer['hotp_border_radius'])) : '');
476
  $hotp_text_position = ((isset($params_array_layer['hotp_text_position'])) ? esc_html(stripslashes($params_array_layer['hotp_text_position'])) : '');
477
+ $google_fonts = ((isset($params_array_layer['google_fonts'])) ? (int) esc_html(stripslashes($params_array_layer['google_fonts'])) : 0);
478
  $add_class = ((isset($params_array_layer['add_class'])) ? esc_html(stripslashes($params_array_layer['add_class'])) : '');
479
  $layer_callback_list = ((isset($params_array_layer['layer_callback_list'])) ? esc_html(stripslashes($params_array_layer['layer_callback_list'])) : '');
480
  $hover_color_text = ((isset($params_array_layer['hover_color_text'])) ? esc_html(stripslashes($params_array_layer['hover_color_text'])) : '');
856
  'touch_swipe_nav' => $slider_row->touch_swipe_nav,
857
  'mouse_wheel_nav' => $slider_row->mouse_wheel_nav,
858
  'keyboard_nav' => $slider_row->keyboard_nav,
859
+ 'fixed_bg' => $slider_row->fixed_bg,
860
  ));
861
  $new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
862
 
1245
  }
1246
  if (count($check_sliders) > 1) {
1247
  $name .= implode(",",$sliders_names);
1248
+ if (isset($_POST["select_slider_merge"])) {
1249
+ $select_slider_merge = (int) $_POST["select_slider_merge"];
1250
+ $new_slider_id = $this->duplicate_tables($select_slider_merge, $name);
1251
+ $max_order = $wpdb->get_var($wpdb->prepare('SELECT MAX(`order`) FROM ' . $wpdb->prefix . 'wdsslide WHERE slider_id="%d"', $new_slider_id));
1252
+ $key = array_search($select_slider_merge, $check_sliders);
1253
+ if (isset($check_sliders[$key])) {
1254
+ unset($check_sliders[$key]);
1255
+ }
1256
+ }
1257
  $this->insert_slides($new_slider_id, $check_sliders, $max_order);
1258
  $flag = TRUE;
1259
  echo WDW_S_Library::message('The selected items are merged as a new slider.', 'wd_updated');
admin/views/WDSViewSliders_wds.php CHANGED
@@ -87,6 +87,21 @@ class WDSViewSliders_wds {
87
  <a class="button-secondary wds_export" type="button" href="<?php echo add_query_arg(array('action' => 'WDSExport'), admin_url('admin-ajax.php')); ?>" onclick="wds_get_checked()">Export</a>
88
  <input type="button" class="button-secondary" onclick="jQuery('.wds_exports').hide();jQuery('.wds_opacity_export').hide(); return false;" value="Cancel" />
89
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  <div class="wds_opacity_import" onclick="jQuery('.wds_opacity_import').hide();jQuery('.wds_imports').hide();"></div>
91
  <div class="wds_imports">
92
  <input type="file" name="fileimport" id="fileimport" />
87
  <a class="button-secondary wds_export" type="button" href="<?php echo add_query_arg(array('action' => 'WDSExport'), admin_url('admin-ajax.php')); ?>" onclick="wds_get_checked()">Export</a>
88
  <input type="button" class="button-secondary" onclick="jQuery('.wds_exports').hide();jQuery('.wds_opacity_export').hide(); return false;" value="Cancel" />
89
  </div>
90
+ <div class="wds_opacity_merge" onclick="jQuery('.wds_opacity_merge').hide();jQuery('.wds_merge').hide();"></div>
91
+ <div class="wds_merge">
92
+ <select class="select_icon select_icon_320" style="width:200px" name="select_slider_merge" id="select_slider_merge" style="margin-bottom: 6px;">
93
+ <?php
94
+ foreach ($rows_data as $row_data) {
95
+ ?>
96
+ <option value="<?php echo $row_data->id; ?>"><?php echo $row_data->name; ?></option>
97
+ <?php
98
+ }
99
+ ?>
100
+ </select>
101
+ <input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'merge_sliders');" value="Merge" />
102
+ <input type="button" class="button-secondary" onclick="jQuery('.wds_merge').hide();jQuery('.wds_opacity_merge').hide(); return false;" value="Cancel" />
103
+ <div class="spider_description">Select slider to use settings from.</div>
104
+ </div>
105
  <div class="wds_opacity_import" onclick="jQuery('.wds_opacity_import').hide();jQuery('.wds_imports').hide();"></div>
106
  <div class="wds_imports">
107
  <input type="file" name="fileimport" id="fileimport" />
css/wds_tables.css CHANGED
@@ -552,7 +552,8 @@
552
  .wds_resize_image,
553
  .wds_imports,
554
  .wds_exports,
555
- .wds_editor {
 
556
  display: none;
557
  padding: 10px;
558
  height: 60px;
@@ -576,6 +577,10 @@
576
  margin-left: -240px;
577
  }
578
 
 
 
 
 
579
  .wds_editor {
580
  background-color: transparent;
581
  border: none;
@@ -613,7 +618,8 @@
613
 
614
  .wds_opacity_video,
615
  .wds_opacity_import,
616
- .wds_opacity_export {
 
617
  background-color: #000000;
618
  display: none;
619
  opacity: 0.75;
@@ -1829,4 +1835,8 @@ th.sorted a span {
1829
  width: 40px;
1830
  height: 40px;
1831
  padding-left: 15px;
 
 
 
 
1832
  }
552
  .wds_resize_image,
553
  .wds_imports,
554
  .wds_exports,
555
+ .wds_editor,
556
+ .wds_merge {
557
  display: none;
558
  padding: 10px;
559
  height: 60px;
577
  margin-left: -240px;
578
  }
579
 
580
+ .wds_merge {
581
+ margin-left: -175px;
582
+ }
583
+
584
  .wds_editor {
585
  background-color: transparent;
586
  border: none;
618
 
619
  .wds_opacity_video,
620
  .wds_opacity_import,
621
+ .wds_opacity_export,
622
+ .wds_opacity_merge {
623
  background-color: #000000;
624
  display: none;
625
  opacity: 0.75;
1835
  width: 40px;
1836
  height: 40px;
1837
  padding-left: 15px;
1838
+ }
1839
+
1840
+ #select_slider_merge option {
1841
+ display: none;
1842
  }
frontend/views/WDSViewSlider.php CHANGED
@@ -1839,7 +1839,7 @@ class WDSViewSlider {
1839
  });
1840
  }
1841
  function wds_window_fixed_size<?php echo $wds; ?>(id) {
1842
- if ('<?php echo $fixed_bg; ?>' != 1) {
1843
  return;
1844
  }
1845
  var image = new Image();
1839
  });
1840
  }
1841
  function wds_window_fixed_size<?php echo $wds; ?>(id) {
1842
+ if ('<?php echo $fixed_bg; ?>' != 1 || wds_data_<?php echo $wds; ?>[parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val())]["is_video"] != 'image') {
1843
  return;
1844
  }
1845
  var image = new Image();
js/wds.js CHANGED
@@ -2904,6 +2904,26 @@ jQuery(document).ready(function () {
2904
  }
2905
  });
2906
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2907
  function wde_change_text_bg_color(prefix) {
2908
  var bgColor = wds_hex_rgba(jQuery("#" + prefix + "_fbgcolor").val(), 100 - jQuery("#" + prefix + "_transparent").val());
2909
  jQuery("#" + prefix).css({backgroundColor: bgColor});
@@ -2996,6 +3016,10 @@ function wds_bulk_actions(that) {
2996
  if (action == 'export') {
2997
  alert('This functionality is disabled in free version.');
2998
  }
 
 
 
 
2999
  else if (action != '') {
3000
  if (action == 'delete_all') {
3001
  if (!confirm('Do you want to delete selected items?')) {
2904
  }
2905
  });
2906
 
2907
+ function wds_merge() {
2908
+ var flag = true;
2909
+ jQuery('input[id^="check_"]').each(function() {
2910
+ var id = jQuery(this).attr("id").replace("check_", "");
2911
+ if (jQuery(this).is(':checked')) {
2912
+ flag = false;
2913
+ jQuery('#select_slider_merge option[value="' + id + '"]').show();
2914
+ }
2915
+ else {
2916
+ jQuery('#select_slider_merge option[value="' + id + '"]').hide();
2917
+ }
2918
+ });
2919
+ if (flag) {
2920
+ alert('You must select at least one item.');
2921
+ return false;
2922
+ }
2923
+ jQuery('.wds_opacity_merge').show();
2924
+ jQuery('.wds_merge').show();
2925
+ return false;
2926
+ }
2927
  function wde_change_text_bg_color(prefix) {
2928
  var bgColor = wds_hex_rgba(jQuery("#" + prefix + "_fbgcolor").val(), 100 - jQuery("#" + prefix + "_transparent").val());
2929
  jQuery("#" + prefix).css({backgroundColor: bgColor});
3016
  if (action == 'export') {
3017
  alert('This functionality is disabled in free version.');
3018
  }
3019
+ else if (action == 'merge_sliders') {
3020
+ wds_merge();
3021
+ return false;
3022
+ }
3023
  else if (action != '') {
3024
  if (action == 'delete_all') {
3025
  if (!confirm('Do you want to delete selected items?')) {
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Slider ===
2
  Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
4
- Tags: image slider, slider, slideshow, image, images, responsive, shortcode, widget, jquery, gallery, swipe, layer
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
- Stable tag: 1.1.64
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -125,6 +125,10 @@ After downloading the ZIP file of the slider plugin,
125
 
126
  == Changelog ==
127
 
 
 
 
 
128
  = 1.1.64 =
129
  * Fixed: Upload only images zip.
130
  * Fixed: Removed empty line breaks from inline javascipt to prevent conflict with some themes.
1
  === Slider ===
2
  Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
4
+ Tags: easy slider, gallery slider, image slider, images slider, Photo Slider, post slider, responsive slider, slider, slider plugin, video slider, wordpress slider, youtube slider
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
+ Stable tag: 1.1.65
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
125
 
126
  == Changelog ==
127
 
128
+ = 1.1.65 =
129
+ * Fixed: Fixed background videos.
130
+ * Changed: "Select slider to use settings from" option on sliders merge.
131
+
132
  = 1.1.64 =
133
  * Fixed: Upload only images zip.
134
  * Fixed: Removed empty line breaks from inline javascipt to prevent conflict with some themes.
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.1.64
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -14,7 +14,7 @@ define('WD_S_NAME', plugin_basename(dirname(__FILE__)));
14
  define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
15
  define('WD_S_URL', plugins_url(WD_S_NAME));
16
 
17
- define('WD_S_VERSION', '1.1.64');
18
 
19
  function wds_use_home_url() {
20
  $home_url = str_replace("http://", "", home_url());
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.1.65
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
14
  define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
15
  define('WD_S_URL', plugins_url(WD_S_NAME));
16
 
17
+ define('WD_S_VERSION', '1.1.65');
18
 
19
  function wds_use_home_url() {
20
  $home_url = str_replace("http://", "", home_url());