Version Description
- Fixed: Minor bugs.
- Fixed: Add YouTube scripts if only needed.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.2.38 |
Comparing to | |
See all releases |
Code changes from version 1.2.37 to 1.2.38
- css/wds_tables.css +4 -0
- js/wds_frontend.js +18 -8
- readme.txt +6 -2
- slider-wd.php +4 -5
css/wds_tables.css
CHANGED
@@ -2083,6 +2083,10 @@ form.wds_form_popup {
|
|
2083 |
cursor: pointer;
|
2084 |
}
|
2085 |
|
|
|
|
|
|
|
|
|
2086 |
.wds_form .postbox h2.hndle {
|
2087 |
font-size: 14px;
|
2088 |
padding: 8px 12px;
|
2083 |
cursor: pointer;
|
2084 |
}
|
2085 |
|
2086 |
+
.postbox .handlediv {
|
2087 |
+
float:right;
|
2088 |
+
}
|
2089 |
+
|
2090 |
.wds_form .postbox h2.hndle {
|
2091 |
font-size: 14px;
|
2092 |
padding: 8px 12px;
|
js/wds_frontend.js
CHANGED
@@ -605,8 +605,10 @@ function play_wds(wds) {
|
|
605 |
}
|
606 |
}
|
607 |
}
|
608 |
-
|
609 |
-
wds_params[wds].
|
|
|
|
|
610 |
jQuery("#wds_image_id_" + wds + "_" + curr_img_id).find("video").each(function () {
|
611 |
if (!this.paused) {
|
612 |
wds_params[wds].video_is_playing = true;
|
@@ -777,7 +779,9 @@ function wds_change_image_when_loaded(wds, current_key, key, wds_data, from_effe
|
|
777 |
wds_params[wds].wds_current_key = key;
|
778 |
/* Change image id.*/
|
779 |
jQuery("div[data-img-id=wds_slideshow_image_" + wds + "]").attr('data-image-id', wds_data[key]["id"]);
|
780 |
-
|
|
|
|
|
781 |
var next_image_class = "#wds_image_id_" + wds + "_" + wds_data[key]["id"];
|
782 |
var next_image_type = wds_data[key]["is_video"];
|
783 |
if (next_image_type == 'video' || next_image_type.indexOf('EMBED') >= 0) {
|
@@ -798,7 +802,9 @@ function wds_change_image_when_loaded(wds, current_key, key, wds_data, from_effe
|
|
798 |
}
|
799 |
}
|
800 |
wds_video_dimenstion(wds, key);
|
801 |
-
|
|
|
|
|
802 |
var next_slide_layers_count = wds_data[key]["slide_layers_count"];
|
803 |
|
804 |
/* Clear layers before image change.*/
|
@@ -1864,12 +1870,16 @@ function wds_move_filmstrip(wds) {
|
|
1864 |
}
|
1865 |
|
1866 |
function wds_move_dots(wds) {
|
1867 |
-
|
1868 |
-
|
|
|
|
|
1869 |
var wds_dots_width = jQuery(".wds_slideshow_dots_container_" + wds).outerWidth(true);
|
1870 |
var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_" + wds).outerWidth(true);
|
1871 |
-
|
1872 |
-
|
|
|
|
|
1873 |
if (!wds_params[wds].carousel) {
|
1874 |
if (wds_dots_width > wds_dots_thumbnails_width) {
|
1875 |
return;
|
605 |
}
|
606 |
}
|
607 |
}
|
608 |
+
if ( typeof wds_params[wds].wds_data[parseInt(jQuery('#wds_current_image_key_' + wds).val())] != "undefined") {
|
609 |
+
var curr_img_id = wds_params[wds].wds_data[parseInt(jQuery('#wds_current_image_key_' + wds).val())]["id"];
|
610 |
+
}
|
611 |
+
wds_params[wds].video_is_playing = false;
|
612 |
jQuery("#wds_image_id_" + wds + "_" + curr_img_id).find("video").each(function () {
|
613 |
if (!this.paused) {
|
614 |
wds_params[wds].video_is_playing = true;
|
779 |
wds_params[wds].wds_current_key = key;
|
780 |
/* Change image id.*/
|
781 |
jQuery("div[data-img-id=wds_slideshow_image_" + wds + "]").attr('data-image-id', wds_data[key]["id"]);
|
782 |
+
if(typeof wds_data[current_key] != "undefined"){
|
783 |
+
var current_image_class = "#wds_image_id_" + wds + "_" + wds_data[current_key]["id"];
|
784 |
+
}
|
785 |
var next_image_class = "#wds_image_id_" + wds + "_" + wds_data[key]["id"];
|
786 |
var next_image_type = wds_data[key]["is_video"];
|
787 |
if (next_image_type == 'video' || next_image_type.indexOf('EMBED') >= 0) {
|
802 |
}
|
803 |
}
|
804 |
wds_video_dimenstion(wds, key);
|
805 |
+
if(typeof wds_data[current_key] != "undefined"){
|
806 |
+
var current_slide_layers_count = wds_data[current_key]["slide_layers_count"];
|
807 |
+
}
|
808 |
var next_slide_layers_count = wds_data[key]["slide_layers_count"];
|
809 |
|
810 |
/* Clear layers before image change.*/
|
1870 |
}
|
1871 |
|
1872 |
function wds_move_dots(wds) {
|
1873 |
+
if(typeof jQuery(".wds_slideshow_dots_active_" + wds).position() != "undefined"){
|
1874 |
+
var image_left = jQuery(".wds_slideshow_dots_active_" + wds).position().left;
|
1875 |
+
var image_right = jQuery(".wds_slideshow_dots_active_" + wds).position().left + jQuery(".wds_slideshow_dots_active_" + wds).outerWidth(true);
|
1876 |
+
}
|
1877 |
var wds_dots_width = jQuery(".wds_slideshow_dots_container_" + wds).outerWidth(true);
|
1878 |
var wds_dots_thumbnails_width = jQuery(".wds_slideshow_dots_thumbnails_" + wds).outerWidth(true);
|
1879 |
+
if(typeof jQuery(".wds_slideshow_dots_thumbnails_" + wds).position() != "undefined") {
|
1880 |
+
var long_filmstrip_cont_left = jQuery(".wds_slideshow_dots_thumbnails_" + wds).position().left;
|
1881 |
+
var long_filmstrip_cont_right = Math.abs(jQuery(".wds_slideshow_dots_thumbnails_" + wds).position().left) + wds_dots_width;
|
1882 |
+
}
|
1883 |
if (!wds_params[wds].carousel) {
|
1884 |
if (wds_dots_width > wds_dots_thumbnails_width) {
|
1885 |
return;
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: webdorado,10web
|
3 |
Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin
|
4 |
Requires at least: 3.4
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.2
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -444,6 +444,10 @@ The plugin takes the full width of the widget area if the **Boxed Layout** in **
|
|
444 |
|
445 |
|
446 |
== Changelog ==
|
|
|
|
|
|
|
|
|
447 |
= 1.2.37 =
|
448 |
* Fixed: ZIP lib conflict
|
449 |
|
2 |
Contributors: webdorado,10web
|
3 |
Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin
|
4 |
Requires at least: 3.4
|
5 |
+
Tested up to: 5.6
|
6 |
Requires PHP: 5.2
|
7 |
+
Stable tag: 1.2.38
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
444 |
|
445 |
|
446 |
== Changelog ==
|
447 |
+
= 1.2.38 =
|
448 |
+
* Fixed: Minor bugs.
|
449 |
+
* Fixed: Add YouTube scripts if only needed.
|
450 |
+
|
451 |
= 1.2.37 =
|
452 |
* Fixed: ZIP lib conflict
|
453 |
|
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.
|
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.
|
83 |
-
$this->db_version = '1.2.
|
84 |
$this->prefix = 'wds';
|
85 |
$this->nicename = __('Slider', $this->prefix);
|
86 |
$this->use_home_url();
|
@@ -883,8 +883,7 @@ final class WDS {
|
|
883 |
wp_register_script($this->prefix . '_youtube', 'https://www.youtube.com/iframe_api');
|
884 |
array_push($required_scripts,
|
885 |
$this->prefix . '_jquery_featureCarouselslider',
|
886 |
-
$this->prefix . '_hotspot'
|
887 |
-
$this->prefix . '_youtube');
|
888 |
}
|
889 |
|
890 |
wp_register_style($this->prefix . '_frontend', $this->front_url . '/css/wds_frontend.css', $required_styles, $this->plugin_version);
|
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.38
|
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.38';
|
83 |
+
$this->db_version = '1.2.38';
|
84 |
$this->prefix = 'wds';
|
85 |
$this->nicename = __('Slider', $this->prefix);
|
86 |
$this->use_home_url();
|
883 |
wp_register_script($this->prefix . '_youtube', 'https://www.youtube.com/iframe_api');
|
884 |
array_push($required_scripts,
|
885 |
$this->prefix . '_jquery_featureCarouselslider',
|
886 |
+
$this->prefix . '_hotspot');
|
|
|
887 |
}
|
888 |
|
889 |
wp_register_style($this->prefix . '_frontend', $this->front_url . '/css/wds_frontend.css', $required_styles, $this->plugin_version);
|