Version Description
- Fixed: Slider callback page responsiveness.
- Fixed: Keyboard navigation blocks spacebar.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.1.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.7 to 1.1.8
- admin/views/WDSViewSliders_wds.php +3 -3
- css/wds_tables.css +42 -16
- frontend/views/WDSViewSlider.php +1 -19
- readme.txt +5 -1
- slider-wd.php +2 -2
admin/views/WDSViewSliders_wds.php
CHANGED
@@ -1989,14 +1989,14 @@ class WDSViewSliders_wds {
|
|
1989 |
</div>
|
1990 |
<div class="wds_nav_box wds_nav_callbacks_box">
|
1991 |
<?php $callback_items = json_decode(htmlspecialchars_decode($row->javascript), TRUE); ?>
|
1992 |
-
<table
|
1993 |
<tr>
|
1994 |
-
<td class="spider_label_options">
|
1995 |
<label for="css">Add new callback: </label>
|
1996 |
</td>
|
1997 |
<td>
|
1998 |
<div style="vertical-align: middle;">
|
1999 |
-
<select class="select_icon select_icon_320" name="callback_list" id="callback_list"
|
2000 |
<?php
|
2001 |
foreach ($slider_callbacks as $key => $slider_callback) {
|
2002 |
?>
|
1989 |
</div>
|
1990 |
<div class="wds_nav_box wds_nav_callbacks_box">
|
1991 |
<?php $callback_items = json_decode(htmlspecialchars_decode($row->javascript), TRUE); ?>
|
1992 |
+
<table>
|
1993 |
<tr>
|
1994 |
+
<td class="spider_label_options callback_label_options">
|
1995 |
<label for="css">Add new callback: </label>
|
1996 |
</td>
|
1997 |
<td>
|
1998 |
<div style="vertical-align: middle;">
|
1999 |
+
<select class="select_icon select_icon_320" name="callback_list" id="callback_list">
|
2000 |
<?php
|
2001 |
foreach ($slider_callbacks as $key => $slider_callback) {
|
2002 |
?>
|
css/wds_tables.css
CHANGED
@@ -1436,22 +1436,7 @@ tbody .action_buttons{
|
|
1436 |
border-bottom: 3px solid #AD2626 !important;
|
1437 |
background-position: 10% 50%;
|
1438 |
}
|
1439 |
-
|
1440 |
-
background-image: url('../images/sliderwdpng/delete.png');
|
1441 |
-
background-repeat: no-repeat;
|
1442 |
-
background-color: #D14130;
|
1443 |
-
border-bottom: 3px solid #AD2626 !important;
|
1444 |
-
background-position: 10% 50%;
|
1445 |
-
}
|
1446 |
-
.add_callback {
|
1447 |
-
background-image: url('../images/sliderwdpng/add.png');
|
1448 |
-
background-position: 50% 50%;
|
1449 |
-
color: white !important;
|
1450 |
-
background-repeat: no-repeat;
|
1451 |
-
background-color:#00A0D2;
|
1452 |
-
border-bottom: 3px solid #258AA6;
|
1453 |
-
vertical-align: top;
|
1454 |
-
}
|
1455 |
.wds_settings {
|
1456 |
background-image:url('../images/sliderwdpng/settings_grey.png');
|
1457 |
background-repeat:no-repeat;
|
@@ -1608,6 +1593,27 @@ tbody .action_buttons{
|
|
1608 |
margin: 20px 0;
|
1609 |
max-width: 400px;
|
1610 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1611 |
|
1612 |
@media screen and (max-width: 782px){
|
1613 |
body {
|
@@ -1617,6 +1623,26 @@ tbody .action_buttons{
|
|
1617 |
#wpwrap {
|
1618 |
overflow-x: hidden !important;
|
1619 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1620 |
}
|
1621 |
|
1622 |
@media screen and (max-width: 475px) and (min-width: 320px) {
|
1436 |
border-bottom: 3px solid #AD2626 !important;
|
1437 |
background-position: 10% 50%;
|
1438 |
}
|
1439 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1440 |
.wds_settings {
|
1441 |
background-image:url('../images/sliderwdpng/settings_grey.png');
|
1442 |
background-repeat:no-repeat;
|
1593 |
margin: 20px 0;
|
1594 |
max-width: 400px;
|
1595 |
}
|
1596 |
+
.remove_callback {
|
1597 |
+
background-image: url('../images/sliderwdpng/delete.png');
|
1598 |
+
background-repeat: no-repeat;
|
1599 |
+
background-color: #D14130 !important;
|
1600 |
+
border-bottom: 3px solid #AD2626 !important;
|
1601 |
+
background-position: 10% 50%;
|
1602 |
+
display: block;
|
1603 |
+
}
|
1604 |
+
.add_callback {
|
1605 |
+
background-image: url('../images/sliderwdpng/add.png');
|
1606 |
+
background-position: 50% 50%;
|
1607 |
+
color: white !important;
|
1608 |
+
background-repeat: no-repeat;
|
1609 |
+
background-color:#00A0D2;
|
1610 |
+
border-bottom: 3px solid #258AA6;
|
1611 |
+
vertical-align: top;
|
1612 |
+
}
|
1613 |
+
#callback_list {
|
1614 |
+
width: 200px;
|
1615 |
+
height: 34px;
|
1616 |
+
}
|
1617 |
|
1618 |
@media screen and (max-width: 782px){
|
1619 |
body {
|
1623 |
#wpwrap {
|
1624 |
overflow-x: hidden !important;
|
1625 |
}
|
1626 |
+
.callbeck-textarea {
|
1627 |
+
width: 100%;
|
1628 |
+
margin: 10px 0 10px 0px;
|
1629 |
+
}
|
1630 |
+
.remove_callback {
|
1631 |
+
margin-left: 0px;
|
1632 |
+
max-width: 50%;
|
1633 |
+
}
|
1634 |
+
.callback_label_options {
|
1635 |
+
width: 30%;
|
1636 |
+
}
|
1637 |
+
#callback_list {
|
1638 |
+
margin-top: 0px;
|
1639 |
+
width: 80% !important;
|
1640 |
+
}
|
1641 |
+
#add_callback {
|
1642 |
+
width: 15%;
|
1643 |
+
padding: 0 7px 1px 7px;
|
1644 |
+
margin-top: 1px;
|
1645 |
+
}
|
1646 |
}
|
1647 |
|
1648 |
@media screen and (max-width: 475px) and (min-width: 320px) {
|
frontend/views/WDSViewSlider.php
CHANGED
@@ -1872,33 +1872,15 @@ class WDSViewSlider {
|
|
1872 |
}
|
1873 |
/* Keyboard navigation.*/
|
1874 |
if (<?php echo $keyboard_nav; ?>) {
|
1875 |
-
jQuery(document).on('keydown', function (e) {
|
1876 |
if (e.keyCode === 39 || e.keyCode === 38) { /* Right arrow.*/
|
1877 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) + iterator_<?php echo $wds; ?>()) % wds_data_<?php echo $wds; ?>.length, wds_data_<?php echo $wds; ?>);
|
1878 |
-
if (e.preventDefault) {
|
1879 |
-
e.preventDefault();
|
1880 |
-
}
|
1881 |
-
else {
|
1882 |
-
e.returnValue = false;
|
1883 |
-
}
|
1884 |
}
|
1885 |
else if (e.keyCode === 37 || e.keyCode === 40) { /* Left arrow.*/
|
1886 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) - iterator_<?php echo $wds; ?>()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) - iterator_<?php echo $wds; ?>()) % wds_data_<?php echo $wds; ?>.length : wds_data_<?php echo $wds; ?>.length - 1, wds_data_<?php echo $wds; ?>);
|
1887 |
-
if (e.preventDefault) {
|
1888 |
-
e.preventDefault();
|
1889 |
-
}
|
1890 |
-
else {
|
1891 |
-
e.returnValue = false;
|
1892 |
-
}
|
1893 |
}
|
1894 |
else if (e.keyCode === 32) { /* Space.*/
|
1895 |
wds_play_pause_<?php echo $wds; ?>();
|
1896 |
-
if (e.preventDefault) {
|
1897 |
-
e.preventDefault();
|
1898 |
-
}
|
1899 |
-
else {
|
1900 |
-
e.returnValue = false;
|
1901 |
-
}
|
1902 |
}
|
1903 |
});
|
1904 |
}
|
1872 |
}
|
1873 |
/* Keyboard navigation.*/
|
1874 |
if (<?php echo $keyboard_nav; ?>) {
|
1875 |
+
jQuery(document).on('keydown', function (e) {
|
1876 |
if (e.keyCode === 39 || e.keyCode === 38) { /* Right arrow.*/
|
1877 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) + iterator_<?php echo $wds; ?>()) % wds_data_<?php echo $wds; ?>.length, wds_data_<?php echo $wds; ?>);
|
|
|
|
|
|
|
|
|
|
|
|
|
1878 |
}
|
1879 |
else if (e.keyCode === 37 || e.keyCode === 40) { /* Left arrow.*/
|
1880 |
wds_change_image_<?php echo $wds; ?>(parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()), (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) - iterator_<?php echo $wds; ?>()) >= 0 ? (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) - iterator_<?php echo $wds; ?>()) % wds_data_<?php echo $wds; ?>.length : wds_data_<?php echo $wds; ?>.length - 1, wds_data_<?php echo $wds; ?>);
|
|
|
|
|
|
|
|
|
|
|
|
|
1881 |
}
|
1882 |
else if (e.keyCode === 32) { /* Space.*/
|
1883 |
wds_play_pause_<?php echo $wds; ?>();
|
|
|
|
|
|
|
|
|
|
|
|
|
1884 |
}
|
1885 |
});
|
1886 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -159,6 +159,10 @@ After downloading the ZIP file of the slider plugin,
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
|
|
162 |
= 1.1.7 =
|
163 |
* Added: Slider callback.
|
164 |
* Fixed: Styles for Wordpress 4.4.
|
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.8
|
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.8 =
|
163 |
+
* Fixed: Slider callback page responsiveness.
|
164 |
+
* Fixed: Keyboard navigation blocks spacebar.
|
165 |
+
|
166 |
= 1.1.7 =
|
167 |
* Added: Slider callback.
|
168 |
* Fixed: Styles for Wordpress 4.4.
|
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
|
@@ -424,7 +424,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
424 |
|
425 |
function wds_install() {
|
426 |
$version = get_option("wds_version");
|
427 |
-
$new_version = '1.1.
|
428 |
if ($version && version_compare($version, $new_version, '<')) {
|
429 |
require_once WD_S_DIR . "/sliders-update.php";
|
430 |
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.8
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
424 |
|
425 |
function wds_install() {
|
426 |
$version = get_option("wds_version");
|
427 |
+
$new_version = '1.1.8';
|
428 |
if ($version && version_compare($version, $new_version, '<')) {
|
429 |
require_once WD_S_DIR . "/sliders-update.php";
|
430 |
wds_update($version);
|