Slider by WD – Responsive Slider - Version 1.2.8

Version Description

  • Fixed: Layer effect in animation in some case.
Download this release

Release Info

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

Code changes from version 1.2.7 to 1.2.8

Files changed (3) hide show
  1. js/wds_frontend.js +3 -5
  2. readme.txt +4 -1
  3. slider-wd.php +3 -3
js/wds_frontend.js CHANGED
@@ -1547,9 +1547,10 @@ function wds_set_layer_effect_in_wds(wds, j, key) {
1547
  wds_params[wds].wds_clear_layers_effects_in[key][j] = setTimeout(function () {
1548
  cout = jQuery('#wds_' + wds + '_slide' + wds_params[wds].wds_data[key]["id"] + '_layer' + wds_params[wds].wds_data[key]["layer_" + j + "_id"]);
1549
  if (wds_params[wds].wds_data[key]["layer_" + j + "_type"] != 'social') {
1550
- if (jQuery('#wds_' + wds + '_slide' + wds_params[wds].wds_data[key]["id"] + '_layer' + wds_params[wds].wds_data[key]["layer_" + j + "_id"]).prev().attr('id') != 'wds_' + wds + '_slide' + wds_params[wds].wds_data[key]["id"] + '_layer' + wds_params[wds].wds_data[key]["layer_" + j + "_id"] + '_round_effect') {
1551
  cout.css('-webkit-animation-duration', wds_params[wds].wds_data[key]["layer_" + j + "_duration_eff_in"] / 1000 + 's').css('animation-duration', wds_params[wds].wds_data[key]["layer_" + j + "_duration_eff_in"] / 1000 + 's');
1552
- jQuery('#wds_' + wds + '_slide' + wds_params[wds].wds_data[key]["id"] + '_layer' + wds_params[wds].wds_data[key]["layer_" + j + "_id"]).removeClass().addClass(wds_params[wds].wds_data[key]["layer_" + j + "_layer_effect_in"] + ' wds_animated');
 
1553
  cout.addClass(jQuery('#wds_' + wds + '_slide' + wds_params[wds].wds_data[key]["id"] + '_layer' + wds_params[wds].wds_data[key]["layer_" + j + "_id"]).data("class"));
1554
  }
1555
  else {
@@ -1565,14 +1566,11 @@ function wds_set_layer_effect_in_wds(wds, j, key) {
1565
  /* Play video on layer in.*/
1566
 
1567
  if (wds_params[wds].wds_data[key]["layer_" + j + "_type"] == "video") {
1568
-
1569
  if (wds_params[wds].wds_data[key]["layer_" + j + "_video_autoplay"] == "on") {
1570
  cout.find("iframe").each(function () {
1571
  if (jQuery(this).data('type') == 'youtube') {
1572
  player = wds_params[wds].youtube_iframes_ids.indexOf(this.id);
1573
-
1574
  if (typeof wds_params[wds].youtube_iframes[player] != "undefined") {
1575
-
1576
  wds_playVideo(wds_params[wds].youtube_iframes[player]);
1577
  }
1578
  }
1547
  wds_params[wds].wds_clear_layers_effects_in[key][j] = setTimeout(function () {
1548
  cout = jQuery('#wds_' + wds + '_slide' + wds_params[wds].wds_data[key]["id"] + '_layer' + wds_params[wds].wds_data[key]["layer_" + j + "_id"]);
1549
  if (wds_params[wds].wds_data[key]["layer_" + j + "_type"] != 'social') {
1550
+ if (cout.prev().attr('id') != 'wds_' + wds + '_slide' + wds_params[wds].wds_data[key]["id"] + '_layer' + wds_params[wds].wds_data[key]["layer_" + j + "_id"] + '_round_effect') {
1551
  cout.css('-webkit-animation-duration', wds_params[wds].wds_data[key]["layer_" + j + "_duration_eff_in"] / 1000 + 's').css('animation-duration', wds_params[wds].wds_data[key]["layer_" + j + "_duration_eff_in"] / 1000 + 's');
1552
+ cout.attr("class", "");
1553
+ cout.addClass(wds_params[wds].wds_data[key]["layer_" + j + "_layer_effect_in"] + ' wds_animated');
1554
  cout.addClass(jQuery('#wds_' + wds + '_slide' + wds_params[wds].wds_data[key]["id"] + '_layer' + wds_params[wds].wds_data[key]["layer_" + j + "_id"]).data("class"));
1555
  }
1556
  else {
1566
  /* Play video on layer in.*/
1567
 
1568
  if (wds_params[wds].wds_data[key]["layer_" + j + "_type"] == "video") {
 
1569
  if (wds_params[wds].wds_data[key]["layer_" + j + "_video_autoplay"] == "on") {
1570
  cout.find("iframe").each(function () {
1571
  if (jQuery(this).data('type') == 'youtube') {
1572
  player = wds_params[wds].youtube_iframes_ids.indexOf(this.id);
 
1573
  if (typeof wds_params[wds].youtube_iframes[player] != "undefined") {
 
1574
  wds_playVideo(wds_params[wds].youtube_iframes[player]);
1575
  }
1576
  }
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: 4.9
6
  Requires PHP: 5.2
7
- Stable tag: 1.2.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -405,6 +405,9 @@ The good part of this is that you can have a text slider with its picture slide,
405
 
406
  == Changelog ==
407
 
 
 
 
408
  = 1.2.7 =
409
  * Fixed: Minor bug depend on PHP version.
410
 
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
  Requires PHP: 5.2
7
+ Stable tag: 1.2.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
405
 
406
  == Changelog ==
407
 
408
+ = 1.2.8 =
409
+ * Fixed: Layer effect in animation in some case.
410
+
411
  = 1.2.7 =
412
  * Fixed: Minor bug depend on PHP version.
413
 
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.2.7
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
10
  * 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.7';
83
- $this->db_version = '1.2.7';
84
  $this->prefix = 'wds';
85
  $this->nicename = __('Slider WD', $this->prefix);
86
  $this->use_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.2.8
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
10
  * 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.8';
83
+ $this->db_version = '1.2.8';
84
  $this->prefix = 'wds';
85
  $this->nicename = __('Slider WD', $this->prefix);
86
  $this->use_home_url();