Slider by WD – Responsive Slider - Version 1.2.43

Version Description

  • Fixed: Compatibility with PHP8.
  • Fixed: Images ratio with Zoom Fade effect.
Download this release

Release Info

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

Code changes from version 1.2.42 to 1.2.43

css/wds_frontend.css CHANGED
@@ -119,13 +119,19 @@ span[data-type="wds_text_parent"] * {
119
  padding: inherit;
120
  }
121
 
122
- @-webkit-keyframes wdszoom0 { 100% { background-size: 170% 170%; }}
123
- @-webkit-keyframes wdszoom70 { 100% { background-size: 100% 100%; }}
124
- @-moz-keyframes wdszoom0 { 100% { background-size: 170% 170%; }}
125
- @-moz-keyframes wdszoom70 { 100% { background-size: 100% 100%; }}
126
- @keyframes wdszoom0 { 100% { background-size: 170% 170%; }}
127
- @keyframes wdszoom70 { 100% { background-size: 100% 100%; }}
128
-
 
 
 
 
 
 
129
  .wds_play_btn_cont{
130
  width:100%;
131
  height:100%;
119
  padding: inherit;
120
  }
121
 
122
+ @-webkit-keyframes wdszoom0 { 100% { background-size: 170% auto; }}
123
+ @-webkit-keyframes wdszoom70 { 100% { background-size: 100% auto; }}
124
+ @-moz-keyframes wdszoom0 { 100% { background-size: 170% auto; }}
125
+ @-moz-keyframes wdszoom70 { 100% { background-size: 100% auto; }}
126
+ @keyframes wdszoom0 { 100% { background-size: 170% auto; }}
127
+ @keyframes wdszoom70 { 100% { background-size: 100% auto; }}
128
+
129
+ @-webkit-keyframes wdszoomv0 { 100% { background-size: auto 170%; }}
130
+ @-webkit-keyframes wdszoomv70 { 100% { background-size: auto 100%; }}
131
+ @-moz-keyframes wdszoomv0 { 100% { background-size: auto 170%; }}
132
+ @-moz-keyframes wdszoomv70 { 100% { background-size: auto 100%; }}
133
+ @keyframes wdszoomv0 { 100% { background-size: auto 170%; }}
134
+ @keyframes wdszoomv70 { 100% { background-size: auto 100%; }}
135
  .wds_play_btn_cont{
136
  width:100%;
137
  height:100%;
framework/WDW_S_Library.php CHANGED
@@ -318,32 +318,6 @@ class WDW_S_Library {
318
  </div>
319
  <?php
320
  }
321
-
322
- public static function search_select($search_by, $search_select_id = 'search_select_value', $search_select_value, $playlists, $form_id) {
323
- ?>
324
- <div class="alignleft actions" style="clear:both;">
325
- <script>
326
- function spider_search_select() {
327
- document.getElementById("page_number").value = "1";
328
- document.getElementById("search_or_not").value = "search";
329
- document.getElementById("<?php echo $form_id; ?>").submit();
330
- }
331
- </script>
332
- <div class="alignleft actions" >
333
- <label for="<?php echo $search_select_id; ?>" style="font-size:14px; width:50px; display:inline-block;"><?php echo $search_by; ?>:</label>
334
- <select id="<?php echo $search_select_id; ?>" name="<?php echo $search_select_id; ?>" onchange="spider_search_select();" style="float: none; width: 150px;">
335
- <?php
336
- foreach ($playlists as $id => $playlist) {
337
- ?>
338
- <option value="<?php echo $id; ?>" <?php echo (($search_select_value == $id) ? 'selected="selected"' : ''); ?>><?php echo $playlist; ?></option>
339
- <?php
340
- }
341
- ?>
342
- </select>
343
- </div>
344
- </div>
345
- <?php
346
- }
347
 
348
  public static function html_page_nav($count_items, $page_number, $form_id, $items_per_page = 20) {
349
  $limit = 20;
318
  </div>
319
  <?php
320
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
 
322
  public static function html_page_nav($count_items, $page_number, $form_id, $items_per_page = 20) {
323
  $limit = 20;
js/wds_frontend.js CHANGED
@@ -318,12 +318,21 @@ function wds_genBgPos(current_key, wds, slideshow_interval) {
318
  var bgPosYArray = ['top', 'bottom'];
319
  var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
320
  var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
321
- jQuery(current_key + " .wds_slideshow_image_" + wds).css({
 
 
 
 
 
 
 
 
 
322
  backgroundPosition: bgPosX + " " + bgPosY,
323
- backgroundSize: (100 + bgSize) + "% " + (100 + bgSize) + "%",
324
  webkitAnimation: ' wdszoom' + bgSize + ' ' + Math.floor(1.1 * slideshow_interval) + 's linear 0s alternate infinite',
325
- mozAnimation: ' wdszoom' + bgSize + ' ' + Math.floor(1.1 * slideshow_interval) + 's linear 0s alternate infinite',
326
- animation: ' wdszoom' + bgSize + ' ' + Math.floor(1.1 * slideshow_interval) + 's linear 0s alternate infinite'
327
  });
328
  }
329
 
318
  var bgPosYArray = ['top', 'bottom'];
319
  var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
320
  var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
321
+ var container = jQuery(current_key + " .wds_slideshow_image_" + wds);
322
+ var container_width = container.width();
323
+ var container_height = container.height();
324
+ var ver_hor_type = '';
325
+ var backgroundSize = (100 + bgSize) + "% " + "auto";
326
+ if( container_width <= container_height ) {
327
+ ver_hor_type = 'v';
328
+ backgroundSize = "auto " + (100 + bgSize) + "%";
329
+ }
330
+ container.css({
331
  backgroundPosition: bgPosX + " " + bgPosY,
332
+ backgroundSize: backgroundSize,
333
  webkitAnimation: ' wdszoom' + bgSize + ' ' + Math.floor(1.1 * slideshow_interval) + 's linear 0s alternate infinite',
334
+ mozAnimation: ' wdszoom' + ver_hor_type + bgSize + ' ' + Math.floor(1.1 * slideshow_interval) + 's linear 0s alternate infinite',
335
+ animation: ' wdszoom' + ver_hor_type + bgSize + ' ' + Math.floor(1.1 * slideshow_interval) + 's linear 0s alternate infinite'
336
  });
337
  }
338
 
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.7
6
  Requires PHP: 5.2
7
- Stable tag: 1.2.42
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.42 =
448
  * Added: Possibility to hide layers on mobile.
449
  * Fixed: Zoom fade effect for first slide.
4
  Requires at least: 3.4
5
  Tested up to: 5.7
6
  Requires PHP: 5.2
7
+ Stable tag: 1.2.43
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.43 =
449
+ * Fixed: Compatibility with PHP8.
450
+ * Fixed: Images ratio with Zoom Fade effect.
451
+
452
  = 1.2.42 =
453
  * Added: Possibility to hide layers on mobile.
454
  * Fixed: Zoom fade effect for first slide.
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.42
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.42';
83
- $this->db_version = '1.2.42';
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.43
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.43';
83
+ $this->db_version = '1.2.43';
84
  $this->prefix = 'wds';
85
  $this->nicename = __('Slider', $this->prefix);
86
  $this->use_home_url();