Slider by WD – Responsive Slider - Version 1.1.48

Version Description

  • Fixed: Preview popup.
  • Fixed: Add posts popup styles.
  • Fixed: Loading in filemanager.
  • Fixed: Resetting layer positions on parallax sliders on touch leave.
Download this release

Release Info

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

Code changes from version 1.1.47 to 1.1.48

filemanager/js/default.js CHANGED
@@ -30,10 +30,16 @@ var isUploading;
30
  ////////////////////////////////////////////////////////////////////////////////////////
31
  jQuery(document).ready(function () {
32
  var all_images_count = jQuery(".item_thumb img").length;
 
 
 
 
 
 
33
  if (all_images_count == 0 || all_images_count <= 24) {
34
- jQuery("#opacity_div").hide();
35
- jQuery("#loading_div").hide();
36
  }
 
37
  filesSelected = [];
38
  filesSelectedML = [];
39
  dragFiles = [];
@@ -309,6 +315,7 @@ function onBtnRemoveItemsClick(event, obj) {
309
  }
310
 
311
  function onBtnShowUploaderClick(event, obj) {
 
312
  jQuery("#uploader").fadeIn();
313
  }
314
 
@@ -329,7 +336,14 @@ function onBtnBackClick(event, obj) {
329
  }
330
 
331
 
332
- function onPathComponentClick(event, obj, path) {
 
 
 
 
 
 
 
333
  submit("", null, null, null, path, null, null, null, null, null, null);
334
  }
335
 
30
  ////////////////////////////////////////////////////////////////////////////////////////
31
  jQuery(document).ready(function () {
32
  var all_images_count = jQuery(".item_thumb img").length;
33
+ if(!all_images_count) {
34
+ setTimeout(function(){jQuery(document).trigger("onUpload")});
35
+ }
36
+ else {
37
+ setTimeout(function(){jQuery(document).trigger("onSelectAllImage")});
38
+ }
39
  if (all_images_count == 0 || all_images_count <= 24) {
40
+ loaded();
 
41
  }
42
+ setTimeout(function(){loaded()}, 10000);
43
  filesSelected = [];
44
  filesSelectedML = [];
45
  dragFiles = [];
315
  }
316
 
317
  function onBtnShowUploaderClick(event, obj) {
318
+ jQuery(document).trigger("onUploadFilesPressed");
319
  jQuery("#uploader").fadeIn();
320
  }
321
 
336
  }
337
 
338
 
339
+ function onPathComponentClick(event, obj, key) {
340
+ if (typeof key != "undefined" && key == 0) {
341
+ path = "";
342
+ }
343
+ else {
344
+ path = jQuery(obj).html();
345
+ path = path.trim();
346
+ }
347
  submit("", null, null, null, path, null, null, null, null, null, null);
348
  }
349
 
filemanager/view.php CHANGED
@@ -221,7 +221,7 @@ class FilemanagerView {
221
  isDir="<?php echo $file['is_dir'] == true ? 'true' : 'false'; ?>">
222
  <span class="item_numbering"><?php echo ++$i; ?></span>
223
  <span class="item_thumb">
224
- <img src="<?php echo $file['thumb']; ?>" <?php echo $key == 24 ? 'onload="loaded()"' : ''; ?> />
225
  </span>
226
  <span class="item_icon">
227
  <img src="<?php echo $file['icon']; ?>"/>
221
  isDir="<?php echo $file['is_dir'] == true ? 'true' : 'false'; ?>">
222
  <span class="item_numbering"><?php echo ++$i; ?></span>
223
  <span class="item_thumb">
224
+ <img src="<?php echo $file['thumb']; ?>" <?php echo $key >= 24 ? 'onload="loaded()"' : ''; ?> />
225
  </span>
226
  <span class="item_icon">
227
  <img src="<?php echo $file['icon']; ?>"/>
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: image slider, slider, slideshow, image, images, responsive, shortcode, widget, jquery, gallery, swipe, layer
5
  Requires at least: 3.4
6
  Tested up to: 4.6
7
- Stable tag: 1.1.47
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -160,6 +160,12 @@ After downloading the ZIP file of the slider plugin,
160
 
161
  == Changelog ==
162
 
 
 
 
 
 
 
163
  = 1.1.47 =
164
  * Fixed: Case sensitive search by name in Filemanager bug.
165
  * Changed: Show last uploaded files as first in Filemanager.
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.6
7
+ Stable tag: 1.1.48
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
160
 
161
  == Changelog ==
162
 
163
+ = 1.1.48 =
164
+ * Fixed: Preview popup.
165
+ * Fixed: Add posts popup styles.
166
+ * Fixed: Loading in filemanager.
167
+ * Fixed: Resetting layer positions on parallax sliders on touch leave.
168
+
169
  = 1.1.47 =
170
  * Fixed: Case sensitive search by name in Filemanager bug.
171
  * Changed: Show last uploaded files as first in Filemanager.
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.47
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.47');
18
 
19
  function wds_use_home_url() {
20
  $home_url = str_replace("http://", "", home_url());
@@ -231,8 +231,6 @@ function wds_preview() {
231
  <link id="wds_googlefonts" media="all" type="text/css" href="https://fonts.googleapis.com/css?family=<?php echo $query . '&subset=greek,latin,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic'; ?>" rel="stylesheet">
232
  <?php
233
  }
234
- ?>
235
-
236
  $id = WDW_S_Library::get('slider_id');
237
  ?>
238
  <div class="wds_preview_cont1">
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.48
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.48');
18
 
19
  function wds_use_home_url() {
20
  $home_url = str_replace("http://", "", home_url());
231
  <link id="wds_googlefonts" media="all" type="text/css" href="https://fonts.googleapis.com/css?family=<?php echo $query . '&subset=greek,latin,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic'; ?>" rel="stylesheet">
232
  <?php
233
  }
 
 
234
  $id = WDW_S_Library::get('slider_id');
235
  ?>
236
  <div class="wds_preview_cont1">