Slider by WD – Responsive Slider - Version 1.2.41

Version Description

  • Fixed: Input styles in settings.
  • Fixed: Hotspot layer with Effect in option.
Download this release

Release Info

Developer 10web
Plugin Icon 128x128 Slider by WD – Responsive Slider
Version 1.2.41
Comparing to
See all releases

Code changes from version 1.2.40 to 1.2.41

css/wds_tables.css CHANGED
@@ -1236,7 +1236,6 @@ tbody .action_buttons {
1236
  -moz-appearance: none;
1237
  background-position: 93% 49%;
1238
  padding-right: 20px !important;
1239
- height: 32px !important;
1240
  }
1241
 
1242
  .select_gif {
@@ -2115,7 +2114,7 @@ form.wds_form_popup {
2115
  }
2116
 
2117
  .wds_options_form .wd-table input[type="text"].spider_int_input {
2118
- width: 45px;
2119
  line-height: 24px;
2120
  }
2121
 
1236
  -moz-appearance: none;
1237
  background-position: 93% 49%;
1238
  padding-right: 20px !important;
 
1239
  }
1240
 
1241
  .select_gif {
2114
  }
2115
 
2116
  .wds_options_form .wd-table input[type="text"].spider_int_input {
2117
+ width: 50px;
2118
  line-height: 24px;
2119
  }
2120
 
framework/WDW_S_Library.php CHANGED
@@ -2356,10 +2356,14 @@ class WDW_S_Library {
2356
  line-height: 1.25em;
2357
  padding: <?php echo $layer->padding; ?>;
2358
  }
2359
- #wds_container1_<?php echo $wds; ?> #wds_container2_<?php echo $wds; ?> .wds_layer_<?php echo $layer->id; ?>_div{
2360
  opacity: <?php echo ($layer->layer_effect_in != 'none') ? '0 !important' : '1'; ?>;
2361
  filter: "Alpha(opacity=<?php echo ($layer->layer_effect_in != 'none') ? '0' : '100'; ?>)" !important;
2362
  }
 
 
 
 
2363
  <?php
2364
  break;
2365
  }
2356
  line-height: 1.25em;
2357
  padding: <?php echo $layer->padding; ?>;
2358
  }
2359
+ #wds_container1_<?php echo $wds; ?> #wds_container2_<?php echo $wds; ?> #wds_<?php echo $wds; ?>_slide1_layer1_div .wds_layer_<?php echo $layer->id; ?>_div {
2360
  opacity: <?php echo ($layer->layer_effect_in != 'none') ? '0 !important' : '1'; ?>;
2361
  filter: "Alpha(opacity=<?php echo ($layer->layer_effect_in != 'none') ? '0' : '100'; ?>)" !important;
2362
  }
2363
+ #wds_container1_<?php echo $wds; ?> #wds_container2_<?php echo $wds; ?> .wds_layer_<?php echo $layer->id; ?>_div{
2364
+ opacity: <?php echo ($layer->layer_effect_in != 'none') ? '0 !important' : '1'; ?>;
2365
+ filter: "Alpha(opacity=<?php echo ($layer->layer_effect_in != 'none') ? '0' : '100'; ?>)" !important;
2366
+ }
2367
  <?php
2368
  break;
2369
  }
js/wds_frontend.js CHANGED
@@ -842,7 +842,11 @@ function wds_change_image_when_loaded(wds, current_key, key, wds_data, from_effe
842
  clearTimeout(wds_params[wds].wds_clear_layers_effects_in[current_key][k]);
843
  clearTimeout(wds_params[wds].wds_clear_layers_effects_out[current_key][k]);
844
  if (wds_data[current_key]["layer_" + k + "_type"] != 'social') {
845
- jQuery('#wds_' + wds + '_slide' + wds_data[current_key]["id"] + '_layer' + wds_data[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_' + wds_data[current_key]["layer_" + k + "_id"]);
 
 
 
 
846
  }
847
  else {
848
  jQuery('#wds_' + wds + '_slide' + wds_data[current_key]["id"] + '_layer' + wds_data[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data[current_key]["layer_" + k + "_id"]);
842
  clearTimeout(wds_params[wds].wds_clear_layers_effects_in[current_key][k]);
843
  clearTimeout(wds_params[wds].wds_clear_layers_effects_out[current_key][k]);
844
  if (wds_data[current_key]["layer_" + k + "_type"] != 'social') {
845
+ if(wds_data[current_key]["layer_" + k + "_type"] == 'hotspots') {
846
+ jQuery('#wds_' + wds + '_slide' + wds_data[current_key]["id"] + '_layer' + wds_data[current_key]["layer_" + k + "_id"]+'_div').removeClass().addClass('hotspot_container wds_layer_' + wds_data[current_key]["layer_" + k + "_id"]+'_div');
847
+ } else {
848
+ jQuery('#wds_' + wds + '_slide' + wds_data[current_key]["id"] + '_layer' + wds_data[current_key]["layer_" + k + "_id"]).removeClass().addClass('wds_layer_' + wds_data[current_key]["layer_" + k + "_id"]);
849
+ }
850
  }
851
  else {
852
  jQuery('#wds_' + wds + '_slide' + wds_data[current_key]["id"] + '_layer' + wds_data[current_key]["layer_" + k + "_id"]).removeClass().addClass('fa fa-' + wds_data[current_key]["layer_" + k + "_social_button"] + ' wds_layer_' + wds_data[current_key]["layer_" + k + "_id"]);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gall
4
  Requires at least: 3.4
5
  Tested up to: 5.6
6
  Requires PHP: 5.2
7
- Stable tag: 1.2.40
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -444,6 +444,11 @@ The plugin takes the full width of the widget area if the **Boxed Layout** in **
444
 
445
 
446
  == Changelog ==
 
 
 
 
 
447
  = 1.2.40 =
448
  * Fixed: Two way slideshow.
449
  * Fixed: JS error on Carousel view.
4
  Requires at least: 3.4
5
  Tested up to: 5.6
6
  Requires PHP: 5.2
7
+ Stable tag: 1.2.41
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
444
 
445
 
446
  == Changelog ==
447
+
448
+ = 1.2.41 =
449
+ * Fixed: Input styles in settings.
450
+ * Fixed: Hotspot layer with Effect in option.
451
+
452
  = 1.2.40 =
453
  * Fixed: Two way slideshow.
454
  * Fixed: JS error on Carousel view.
slider-wd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Slider by 10Web
4
  * Plugin URI: https://10web.io/plugins/wordpress-slider/?utm_source=slider&utm_medium=free_plugin
5
  * 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.
6
- * Version: 1.2.40
7
  * Author: 10Web
8
  * Author URI: https://10web.io/pricing/?utm_source=slider&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -79,8 +79,8 @@ final class WDS {
79
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
80
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
81
  $this->main_file = plugin_basename(__FILE__);
82
- $this->plugin_version = '1.2.40';
83
- $this->db_version = '1.2.40';
84
  $this->prefix = 'wds';
85
  $this->nicename = __('Slider', $this->prefix);
86
  $this->use_home_url();
3
  * Plugin Name: Slider by 10Web
4
  * Plugin URI: https://10web.io/plugins/wordpress-slider/?utm_source=slider&utm_medium=free_plugin
5
  * 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.
6
+ * Version: 1.2.41
7
  * Author: 10Web
8
  * Author URI: https://10web.io/pricing/?utm_source=slider&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
79
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
80
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
81
  $this->main_file = plugin_basename(__FILE__);
82
+ $this->plugin_version = '1.2.41';
83
+ $this->db_version = '1.2.41';
84
  $this->prefix = 'wds';
85
  $this->nicename = __('Slider', $this->prefix);
86
  $this->use_home_url();
sliders-insert.php CHANGED
@@ -329,9 +329,9 @@ function wds_insert() {
329
  ));
330
  }
331
  if ( !$wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "wdsslide") ) {
332
- $wpdb->query('INSERT INTO `' . $wpdb->prefix . 'wdsslide` VALUES(1, 1, "Slide 1", "image", "' . WDS()->plugin_url . '/demo/1.jpg", "' . WDS()->plugin_url . '/demo/1-150x150.jpg", 1, "", 1, 0, 0, 0, "fill")');
333
- $wpdb->query('INSERT INTO `' . $wpdb->prefix . 'wdsslide` VALUES(2, 1, "Slide 2", "image", "' . WDS()->plugin_url . '/demo/2.jpg", "' . WDS()->plugin_url . '/demo/2-150x150.jpg", 1, "", 2, 0, 0, 0, "fill")');
334
- $wpdb->query('INSERT INTO `' . $wpdb->prefix . 'wdsslide` VALUES(3, 1, "Slide 3", "image", "' . WDS()->plugin_url . '/demo/3.jpg", "' . WDS()->plugin_url . '/demo/3-150x150.jpg", 1, "", 3, 0, 0, 0, "fill")');
335
  }
336
  }
337
 
329
  ));
330
  }
331
  if ( !$wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "wdsslide") ) {
332
+ $wpdb->query('INSERT INTO `' . $wpdb->prefix . 'wdsslide` VALUES(1, 1, "Slide 1", "image", "' . WDS()->plugin_url . '/demo/1.jpg", "' . WDS()->plugin_url . '/demo/1-150x150.jpg", 1, "", 1, 0, 0, 0, "fill", 0)');
333
+ $wpdb->query('INSERT INTO `' . $wpdb->prefix . 'wdsslide` VALUES(2, 1, "Slide 2", "image", "' . WDS()->plugin_url . '/demo/2.jpg", "' . WDS()->plugin_url . '/demo/2-150x150.jpg", 1, "", 2, 0, 0, 0, "fill", 0)');
334
+ $wpdb->query('INSERT INTO `' . $wpdb->prefix . 'wdsslide` VALUES(3, 1, "Slide 3", "image", "' . WDS()->plugin_url . '/demo/3.jpg", "' . WDS()->plugin_url . '/demo/3-150x150.jpg", 1, "", 3, 0, 0, 0, "fill", 0)');
335
  }
336
  }
337