Version Description
- Fixed: HTML validation.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.1.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.5 to 1.1.6
- css/wds_frontend.css +20 -5
- frontend/views/WDSViewSlider.php +15 -10
- images/no-image.png +0 -0
- readme.txt +5 -2
- slider-wd.php +2 -2
css/wds_frontend.css
CHANGED
@@ -33,6 +33,12 @@ div[id^="wds_container"] p {
|
|
33 |
margin: 0 !important;
|
34 |
}
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
.wds_layer a,
|
37 |
.wds_layer a:hover {
|
38 |
color: inherit !important;
|
@@ -45,11 +51,12 @@ div[id^="wds_container"] p {
|
|
45 |
.wds_loading_img {
|
46 |
border: none !important;
|
47 |
float: none;
|
48 |
-
|
49 |
-
|
50 |
-
-
|
51 |
-
-
|
52 |
-
-
|
|
|
53 |
}
|
54 |
|
55 |
.wds_loading {
|
@@ -118,3 +125,11 @@ span[data-type="wds_text_parent"] * {
|
|
118 |
@-moz-keyframes wdszoom70 { 100% { background-size: 100%; }}
|
119 |
@keyframes wdszoom0 { 100% { background-size: 170%; }}
|
120 |
@keyframes wdszoom70 { 100% { background-size: 100%; }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
margin: 0 !important;
|
34 |
}
|
35 |
|
36 |
+
div[id^="wds_container"] video {
|
37 |
+
max-width: none !important;
|
38 |
+
margin: 0 !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
}
|
41 |
+
|
42 |
.wds_layer a,
|
43 |
.wds_layer a:hover {
|
44 |
color: inherit !important;
|
51 |
.wds_loading_img {
|
52 |
border: none !important;
|
53 |
float: none;
|
54 |
+
height: 30px;
|
55 |
+
background-image: url('../images/ajax_loader.gif');
|
56 |
+
background-position: center center;
|
57 |
+
background-repeat: no-repeat;
|
58 |
+
background-size: 30px 30px;
|
59 |
+
border: medium none !important;
|
60 |
}
|
61 |
|
62 |
.wds_loading {
|
125 |
@-moz-keyframes wdszoom70 { 100% { background-size: 100%; }}
|
126 |
@keyframes wdszoom0 { 100% { background-size: 170%; }}
|
127 |
@keyframes wdszoom70 { 100% { background-size: 100%; }}
|
128 |
+
|
129 |
+
.wds_play_btn_cont{
|
130 |
+
width:100%;
|
131 |
+
height:100%;
|
132 |
+
position:absolute;
|
133 |
+
z-index: 1;
|
134 |
+
cursor:pointer
|
135 |
+
}
|
frontend/views/WDSViewSlider.php
CHANGED
@@ -143,7 +143,12 @@ class WDSViewSlider {
|
|
143 |
|
144 |
$current_image_url = '';
|
145 |
?>
|
146 |
-
<style>
|
|
|
|
|
|
|
|
|
|
|
147 |
.wds_bulframe_<?php echo $wds; ?> {
|
148 |
display: none;
|
149 |
background-image: url('');
|
@@ -732,7 +737,7 @@ class WDSViewSlider {
|
|
732 |
</script>
|
733 |
<div id="wds_container1_<?php echo $wds; ?>">
|
734 |
<div class="wds_loading">
|
735 |
-
<
|
736 |
</div>
|
737 |
<div id="wds_container2_<?php echo $wds; ?>">
|
738 |
<div class="wds_slideshow_image_wrap_<?php echo $wds; ?>">
|
@@ -752,8 +757,7 @@ class WDSViewSlider {
|
|
752 |
<i id="wds_dots_<?php echo $key; ?>_<?php echo $wds; ?>"
|
753 |
class="wds_slideshow_dots_<?php echo $wds; ?> fa <?php echo (($slide_row->id == $current_image_id) ? $bull_style_active . ' wds_slideshow_dots_active_' . $wds : $bull_style_deactive . ' wds_slideshow_dots_deactive_' . $wds); ?>"
|
754 |
<?php echo $show_thumbnail == 1 ? 'onmouseover="wds_show_thumb(' . $key . ', ' . $wds . ')"' : ''; ?>
|
755 |
-
onclick="wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), '<?php echo $key; ?>', wds_data_<?php echo $wds; ?>)"
|
756 |
-
image_key="<?php echo $key; ?>">
|
757 |
</i>
|
758 |
<?php
|
759 |
}
|
@@ -762,8 +766,7 @@ class WDSViewSlider {
|
|
762 |
<span id="wds_dots_<?php echo $key; ?>_<?php echo $wds; ?>"
|
763 |
class="wds_slideshow_dots_<?php echo $wds; ?> <?php echo (($slide_row->id == $current_image_id) ? ' wds_slideshow_dots_active_' . $wds : ' wds_slideshow_dots_deactive_' . $wds); ?>"
|
764 |
<?php echo $show_thumbnail == 1 ? 'onmouseover="wds_show_thumb(' . $key . ', ' . $wds .')"' : ''; ?>
|
765 |
-
onclick="wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), '<?php echo $key; ?>', wds_data_<?php echo $wds; ?>)"
|
766 |
-
image_id="<?php echo $slide_row->id; ?>" image_key="<?php echo $key; ?>">
|
767 |
</span>
|
768 |
<?php
|
769 |
}
|
@@ -828,7 +831,7 @@ class WDSViewSlider {
|
|
828 |
<span class="wds_slideshow_image<?php echo $image_div_num; ?>_spun_<?php echo $wds; ?>" id="wds_image_id_<?php echo $wds; ?>_<?php echo $slide_row->id; ?>">
|
829 |
<span class="wds_slideshow_image_spun1_<?php echo $wds; ?>">
|
830 |
<span class="wds_slideshow_image_spun2_<?php echo $wds; ?>">
|
831 |
-
<
|
832 |
class="wds_slideshow_image_<?php echo $wds; ?>"
|
833 |
onclick="<?php echo $slide_row->link ? 'window.open(\'' . $slide_row->link . '\', \'' . ($slide_row->target_attr_slide ? '_blank' : '_self') . '\')' : ''; ?>"
|
834 |
style="<?php echo $slide_row->link ? 'cursor: pointer;' : ''; ?><?php echo ((!$slider_row->preload_images || $image_div_num == '') ? "background-image: url('" . addslashes(htmlspecialchars_decode ($slide_row->image_url,ENT_QUOTES)) . "');" : ""); ?>">
|
@@ -912,7 +915,7 @@ class WDSViewSlider {
|
|
912 |
}
|
913 |
}
|
914 |
?>
|
915 |
-
</
|
916 |
</span>
|
917 |
</span>
|
918 |
</span>
|
@@ -1183,7 +1186,7 @@ class WDSViewSlider {
|
|
1183 |
}).append(grid_div);
|
1184 |
}
|
1185 |
/* Get the current slide's image.*/
|
1186 |
-
var cur_img = jQuery(current_image_class).find('
|
1187 |
/* Create a grid to hold the gridlets.*/
|
1188 |
var grid = jQuery('<span style="display: block;" />').addClass('wds_grid_<?php echo $wds; ?>');
|
1189 |
/* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
|
@@ -1371,7 +1374,9 @@ class WDSViewSlider {
|
|
1371 |
current_key = jQuery(".wds_slideshow_thumb_active_<?php echo $wds; ?>").children("img").attr("image_key");
|
1372 |
}
|
1373 |
else if (current_key == '-2') { /* Dots.*/
|
1374 |
-
current_key = jQuery(".wds_slideshow_dots_active_<?php echo $wds; ?>").attr("image_key")
|
|
|
|
|
1375 |
}
|
1376 |
}
|
1377 |
if (wds_trans_in_progress_<?php echo $wds; ?>) {
|
143 |
|
144 |
$current_image_url = '';
|
145 |
?>
|
146 |
+
<style scoped="scoped">
|
147 |
+
.wds_bigplay_<?php echo $wds; ?>,
|
148 |
+
.wds_slideshow_image_<?php echo $wds; ?>,
|
149 |
+
.wds_slideshow_video_<?php echo $wds; ?> {
|
150 |
+
display: block;
|
151 |
+
}
|
152 |
.wds_bulframe_<?php echo $wds; ?> {
|
153 |
display: none;
|
154 |
background-image: url('');
|
737 |
</script>
|
738 |
<div id="wds_container1_<?php echo $wds; ?>">
|
739 |
<div class="wds_loading">
|
740 |
+
<div class="wds_loading_img"></div>
|
741 |
</div>
|
742 |
<div id="wds_container2_<?php echo $wds; ?>">
|
743 |
<div class="wds_slideshow_image_wrap_<?php echo $wds; ?>">
|
757 |
<i id="wds_dots_<?php echo $key; ?>_<?php echo $wds; ?>"
|
758 |
class="wds_slideshow_dots_<?php echo $wds; ?> fa <?php echo (($slide_row->id == $current_image_id) ? $bull_style_active . ' wds_slideshow_dots_active_' . $wds : $bull_style_deactive . ' wds_slideshow_dots_deactive_' . $wds); ?>"
|
759 |
<?php echo $show_thumbnail == 1 ? 'onmouseover="wds_show_thumb(' . $key . ', ' . $wds . ')"' : ''; ?>
|
760 |
+
onclick="wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), '<?php echo $key; ?>', wds_data_<?php echo $wds; ?>)">
|
|
|
761 |
</i>
|
762 |
<?php
|
763 |
}
|
766 |
<span id="wds_dots_<?php echo $key; ?>_<?php echo $wds; ?>"
|
767 |
class="wds_slideshow_dots_<?php echo $wds; ?> <?php echo (($slide_row->id == $current_image_id) ? ' wds_slideshow_dots_active_' . $wds : ' wds_slideshow_dots_deactive_' . $wds); ?>"
|
768 |
<?php echo $show_thumbnail == 1 ? 'onmouseover="wds_show_thumb(' . $key . ', ' . $wds .')"' : ''; ?>
|
769 |
+
onclick="wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), '<?php echo $key; ?>', wds_data_<?php echo $wds; ?>)">
|
|
|
770 |
</span>
|
771 |
<?php
|
772 |
}
|
831 |
<span class="wds_slideshow_image<?php echo $image_div_num; ?>_spun_<?php echo $wds; ?>" id="wds_image_id_<?php echo $wds; ?>_<?php echo $slide_row->id; ?>">
|
832 |
<span class="wds_slideshow_image_spun1_<?php echo $wds; ?>">
|
833 |
<span class="wds_slideshow_image_spun2_<?php echo $wds; ?>">
|
834 |
+
<span img_id="wds_slideshow_image<?php echo $image_div_num; ?>_<?php echo $wds; ?>"
|
835 |
class="wds_slideshow_image_<?php echo $wds; ?>"
|
836 |
onclick="<?php echo $slide_row->link ? 'window.open(\'' . $slide_row->link . '\', \'' . ($slide_row->target_attr_slide ? '_blank' : '_self') . '\')' : ''; ?>"
|
837 |
style="<?php echo $slide_row->link ? 'cursor: pointer;' : ''; ?><?php echo ((!$slider_row->preload_images || $image_div_num == '') ? "background-image: url('" . addslashes(htmlspecialchars_decode ($slide_row->image_url,ENT_QUOTES)) . "');" : ""); ?>">
|
915 |
}
|
916 |
}
|
917 |
?>
|
918 |
+
</span>
|
919 |
</span>
|
920 |
</span>
|
921 |
</span>
|
1186 |
}).append(grid_div);
|
1187 |
}
|
1188 |
/* Get the current slide's image.*/
|
1189 |
+
var cur_img = jQuery(current_image_class).find('span[img_id^="wds_slideshow_image"]');
|
1190 |
/* Create a grid to hold the gridlets.*/
|
1191 |
var grid = jQuery('<span style="display: block;" />').addClass('wds_grid_<?php echo $wds; ?>');
|
1192 |
/* Prepend the grid to the next slide (i.e. so it's above the slide image).*/
|
1374 |
current_key = jQuery(".wds_slideshow_thumb_active_<?php echo $wds; ?>").children("img").attr("image_key");
|
1375 |
}
|
1376 |
else if (current_key == '-2') { /* Dots.*/
|
1377 |
+
/*current_key = jQuery(".wds_slideshow_dots_active_<?php echo $wds; ?>").attr("image_key");*/
|
1378 |
+
currId = jQuery(".wds_slideshow_dots_active_<?php echo $wds; ?>").attr("id");
|
1379 |
+
current_key = currId.replace('wds_dots_', '').replace('_<?php echo $wds; ?>', '');
|
1380 |
}
|
1381 |
}
|
1382 |
if (wds_trans_in_progress_<?php echo $wds; ?>) {
|
images/no-image.png
CHANGED
Binary file
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
|
|
3 |
Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider, mp3, video, embed media
|
5 |
Requires at least: 3.4
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -159,6 +159,9 @@ After downloading the ZIP file of the slider plugin,
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
162 |
= 1.1.5 =
|
163 |
* Changed: Featured plugins page.
|
164 |
|
3 |
Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider, mp3, video, embed media
|
5 |
Requires at least: 3.4
|
6 |
+
Tested up to: 4.4
|
7 |
+
Stable tag: 1.1.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 1.1.6 =
|
163 |
+
* Fixed: HTML validation.
|
164 |
+
|
165 |
= 1.1.5 =
|
166 |
* Changed: Featured plugins page.
|
167 |
|
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.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -423,7 +423,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
423 |
|
424 |
function wds_install() {
|
425 |
$version = get_option("wds_version");
|
426 |
-
$new_version = '1.1.
|
427 |
if ($version && version_compare($version, $new_version, '<')) {
|
428 |
require_once WD_S_DIR . "/sliders-update.php";
|
429 |
wds_update($version);
|
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.6
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
423 |
|
424 |
function wds_install() {
|
425 |
$version = get_option("wds_version");
|
426 |
+
$new_version = '1.1.6';
|
427 |
if ($version && version_compare($version, $new_version, '<')) {
|
428 |
require_once WD_S_DIR . "/sliders-update.php";
|
429 |
wds_update($version);
|