Version Description
Added: Swipe for filmstrip.
Added: Mousewheel and keyboard navigation methods.
Changed: Make touch navigation optional.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.0.40 |
Comparing to | |
See all releases |
Code changes from version 1.0.39 to 1.0.40
- admin/controllers/WDSControllerSliders_wds.php +7 -1
- admin/models/WDSModelSliders_wds.php +3 -0
- admin/views/WDSViewSliders_wds.php +31 -0
- frontend/views/WDSViewSlider.php +73 -4
- js/wds.js +3 -0
- readme.txt +15 -5
- slider-wd.php +8 -5
- sliders-insert.php +3 -0
- sliders-update.php +6 -0
admin/controllers/WDSControllerSliders_wds.php
CHANGED
@@ -190,6 +190,9 @@ class WDSControllerSliders_wds {
|
|
190 |
$parallax_effect = 0;
|
191 |
$mouse_swipe_nav = ((isset($_POST['mouse_swipe_nav'])) ? (int) esc_html(stripslashes($_POST['mouse_swipe_nav'])) : 0);
|
192 |
$bull_hover = ((isset($_POST['bull_hover'])) ? (int) esc_html(stripslashes($_POST['bull_hover'])) : 1);
|
|
|
|
|
|
|
193 |
|
194 |
$data = array(
|
195 |
'name' => $name,
|
@@ -284,6 +287,9 @@ class WDSControllerSliders_wds {
|
|
284 |
'parallax_effect' => $parallax_effect,
|
285 |
'mouse_swipe_nav' => $mouse_swipe_nav,
|
286 |
'bull_hover' => $bull_hover,
|
|
|
|
|
|
|
287 |
);
|
288 |
|
289 |
if (!$slider_id) {
|
@@ -1182,7 +1188,7 @@ class WDSControllerSliders_wds {
|
|
1182 |
global $wpdb;
|
1183 |
$save = $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 0), array('id' => $id));
|
1184 |
if ($save !== FALSE) {
|
1185 |
-
echo WDW_S_Library::message('Item Succesfully Unpublished.', '
|
1186 |
}
|
1187 |
else {
|
1188 |
echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
|
190 |
$parallax_effect = 0;
|
191 |
$mouse_swipe_nav = ((isset($_POST['mouse_swipe_nav'])) ? (int) esc_html(stripslashes($_POST['mouse_swipe_nav'])) : 0);
|
192 |
$bull_hover = ((isset($_POST['bull_hover'])) ? (int) esc_html(stripslashes($_POST['bull_hover'])) : 1);
|
193 |
+
$touch_swipe_nav = ((isset($_POST['touch_swipe_nav'])) ? (int) esc_html(stripslashes($_POST['touch_swipe_nav'])) : 1);
|
194 |
+
$mouse_wheel_nav = ((isset($_POST['mouse_wheel_nav'])) ? (int) esc_html(stripslashes($_POST['mouse_wheel_nav'])) : 0);
|
195 |
+
$keyboard_nav = ((isset($_POST['keyboard_nav'])) ? (int) esc_html(stripslashes($_POST['keyboard_nav'])) : 0);
|
196 |
|
197 |
$data = array(
|
198 |
'name' => $name,
|
287 |
'parallax_effect' => $parallax_effect,
|
288 |
'mouse_swipe_nav' => $mouse_swipe_nav,
|
289 |
'bull_hover' => $bull_hover,
|
290 |
+
'touch_swipe_nav' => $touch_swipe_nav,
|
291 |
+
'mouse_wheel_nav' => $mouse_wheel_nav,
|
292 |
+
'keyboard_nav' => $keyboard_nav,
|
293 |
);
|
294 |
|
295 |
if (!$slider_id) {
|
1188 |
global $wpdb;
|
1189 |
$save = $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 0), array('id' => $id));
|
1190 |
if ($save !== FALSE) {
|
1191 |
+
echo WDW_S_Library::message('Item Succesfully Unpublished.', 'wd_updated');
|
1192 |
}
|
1193 |
else {
|
1194 |
echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
|
admin/models/WDSModelSliders_wds.php
CHANGED
@@ -201,6 +201,9 @@ class WDSModelSliders_wds {
|
|
201 |
$row->parallax_effect = 0;
|
202 |
$row->mouse_swipe_nav = 0;
|
203 |
$row->bull_hover = 1;
|
|
|
|
|
|
|
204 |
}
|
205 |
return $row;
|
206 |
}
|
201 |
$row->parallax_effect = 0;
|
202 |
$row->mouse_swipe_nav = 0;
|
203 |
$row->bull_hover = 1;
|
204 |
+
$row->touch_swipe_nav = 1;
|
205 |
+
$row->mouse_wheel_nav = 0;
|
206 |
+
$row->keyboard_nav = 0;
|
207 |
}
|
208 |
return $row;
|
209 |
}
|
admin/views/WDSViewSliders_wds.php
CHANGED
@@ -753,6 +753,37 @@ class WDSViewSliders_wds {
|
|
753 |
<div class="spider_description"></div>
|
754 |
</td>
|
755 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
756 |
<tr>
|
757 |
<td class="spider_label_options">
|
758 |
<label>Show Navigation buttons: </label>
|
753 |
<div class="spider_description"></div>
|
754 |
</td>
|
755 |
</tr>
|
756 |
+
<tr>
|
757 |
+
<td class="spider_label_options">
|
758 |
+
<label>Touch swipe navigation: </label>
|
759 |
+
</td>
|
760 |
+
<td>
|
761 |
+
<input type="radio" name="touch_swipe_nav" id="touch_swipe_nav_1" value="1" <?php if ($row->touch_swipe_nav) echo 'checked="checked"'; ?> /><label for="touch_swipe_nav_1">Yes</label>
|
762 |
+
<input type="radio" name="touch_swipe_nav" id="touch_swipe_nav_0" value="0" <?php if (!$row->touch_swipe_nav) echo 'checked="checked"'; ?> /><label for="touch_swipe_nav_0">No</label>
|
763 |
+
<div class="spider_description"></div>
|
764 |
+
</td>
|
765 |
+
</tr>
|
766 |
+
<tr>
|
767 |
+
<tr>
|
768 |
+
<td class="spider_label_options">
|
769 |
+
<label>Mouse wheel navigation: </label>
|
770 |
+
</td>
|
771 |
+
<td>
|
772 |
+
<input type="radio" name="mouse_wheel_nav" id="mouse_wheel_nav_1" value="1" <?php if ($row->mouse_wheel_nav) echo 'checked="checked"'; ?> /><label for="mouse_wheel_nav_1">Yes</label>
|
773 |
+
<input type="radio" name="mouse_wheel_nav" id="mouse_wheel_nav_0" value="0" <?php if (!$row->mouse_wheel_nav) echo 'checked="checked"'; ?> /><label for="mouse_wheel_nav_0">No</label>
|
774 |
+
<div class="spider_description"></div>
|
775 |
+
</td>
|
776 |
+
</tr>
|
777 |
+
<tr>
|
778 |
+
<td class="spider_label_options">
|
779 |
+
<label>Keyboard navigation: </label>
|
780 |
+
</td>
|
781 |
+
<td>
|
782 |
+
<input type="radio" name="keyboard_nav" id="keyboard_nav_1" value="1" <?php if ($row->keyboard_nav) echo 'checked="checked"'; ?> /><label for="keyboard_nav_1">Yes</label>
|
783 |
+
<input type="radio" name="keyboard_nav" id="keyboard_nav_0" value="0" <?php if (!$row->keyboard_nav) echo 'checked="checked"'; ?> /><label for="keyboard_nav_0">No</label>
|
784 |
+
<div class="spider_description"></div>
|
785 |
+
</td>
|
786 |
+
</tr>
|
787 |
<tr>
|
788 |
<td class="spider_label_options">
|
789 |
<label>Show Navigation buttons: </label>
|
frontend/views/WDSViewSlider.php
CHANGED
@@ -59,6 +59,9 @@ class WDSViewSlider {
|
|
59 |
$enable_slideshow_shuffle = $slider_row->shuffle;
|
60 |
$enable_prev_next_butt = $slider_row->prev_next_butt;
|
61 |
$mouse_swipe_nav = isset($slider_row->mouse_swipe_nav) ? $slider_row->mouse_swipe_nav : 0;
|
|
|
|
|
|
|
62 |
$enable_play_paus_butt = $slider_row->play_paus_butt;
|
63 |
if (!$enable_prev_next_butt && !$enable_play_paus_butt) {
|
64 |
$enable_slideshow_autoplay = 1;
|
@@ -1708,7 +1711,17 @@ class WDSViewSlider {
|
|
1708 |
?>
|
1709 |
var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
|
1710 |
|
1711 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1712 |
if (typeof jQuery().swiperight !== 'undefined') {
|
1713 |
if (jQuery.isFunction(jQuery().swiperight)) {
|
1714 |
jQuery('#wds_container1_<?php echo $wds; ?>').swiperight(function () {
|
@@ -1730,9 +1743,10 @@ class WDSViewSlider {
|
|
1730 |
var wds_click = isMobile ? 'touchend' : 'click';
|
1731 |
|
1732 |
var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
|
1733 |
-
|
1734 |
-
|
1735 |
-
if (jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play")) {
|
|
|
1736 |
/* Play.*/
|
1737 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
|
1738 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-pause");
|
@@ -1756,6 +1770,7 @@ class WDSViewSlider {
|
|
1756 |
else {
|
1757 |
/* Pause.*/
|
1758 |
/* Pause layers out effect.*/
|
|
|
1759 |
var current_key = jQuery('#wds_current_image_key_<?php echo $wds; ?>').val();
|
1760 |
var current_slide_layers_count = wds_data_<?php echo $wds; ?>[current_key]["slide_layers_count"];
|
1761 |
setTimeout(function() {
|
@@ -1790,9 +1805,63 @@ class WDSViewSlider {
|
|
1790 |
}
|
1791 |
}
|
1792 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1793 |
});
|
1794 |
if (<?php echo $enable_slideshow_autoplay; ?>) {
|
1795 |
play_<?php echo $wds; ?>();
|
|
|
1796 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
|
1797 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-pause");
|
1798 |
if (<?php echo $enable_slideshow_music ?>) {
|
59 |
$enable_slideshow_shuffle = $slider_row->shuffle;
|
60 |
$enable_prev_next_butt = $slider_row->prev_next_butt;
|
61 |
$mouse_swipe_nav = isset($slider_row->mouse_swipe_nav) ? $slider_row->mouse_swipe_nav : 0;
|
62 |
+
$touch_swipe_nav = isset($slider_row->touch_swipe_nav) ? $slider_row->touch_swipe_nav : 1;
|
63 |
+
$mouse_wheel_nav = isset($slider_row->mouse_wheel_nav) ? $slider_row->mouse_wheel_nav : 0;
|
64 |
+
$keyboard_nav = isset($slider_row->keyboard_nav) ? $slider_row->keyboard_nav : 0;
|
65 |
$enable_play_paus_butt = $slider_row->play_paus_butt;
|
66 |
if (!$enable_prev_next_butt && !$enable_play_paus_butt) {
|
67 |
$enable_slideshow_autoplay = 1;
|
1711 |
?>
|
1712 |
var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
|
1713 |
|
1714 |
+
if (isMobile) {
|
1715 |
+
if (<?php echo $touch_swipe_nav; ?>) {
|
1716 |
+
wds_swipe();
|
1717 |
+
}
|
1718 |
+
}
|
1719 |
+
else {
|
1720 |
+
if (<?php echo $mouse_swipe_nav; ?>) {
|
1721 |
+
wds_swipe();
|
1722 |
+
}
|
1723 |
+
}
|
1724 |
+
function wds_swipe() {
|
1725 |
if (typeof jQuery().swiperight !== 'undefined') {
|
1726 |
if (jQuery.isFunction(jQuery().swiperight)) {
|
1727 |
jQuery('#wds_container1_<?php echo $wds; ?>').swiperight(function () {
|
1743 |
var wds_click = isMobile ? 'touchend' : 'click';
|
1744 |
|
1745 |
var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
|
1746 |
+
var wds_play_pause = 0;
|
1747 |
+
function wds_play_pause_<?php echo $wds; ?>() {
|
1748 |
+
if (jQuery(".wds_ctrl_btn_<?php echo $wds; ?>").hasClass("fa-play") || wds_play_pause) {
|
1749 |
+
wds_play_pause = 0;
|
1750 |
/* Play.*/
|
1751 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
|
1752 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-pause");
|
1770 |
else {
|
1771 |
/* Pause.*/
|
1772 |
/* Pause layers out effect.*/
|
1773 |
+
wds_play_pause = 1;
|
1774 |
var current_key = jQuery('#wds_current_image_key_<?php echo $wds; ?>').val();
|
1775 |
var current_slide_layers_count = wds_data_<?php echo $wds; ?>[current_key]["slide_layers_count"];
|
1776 |
setTimeout(function() {
|
1805 |
}
|
1806 |
}
|
1807 |
}
|
1808 |
+
}
|
1809 |
+
/* Mouswheel navigation.*/
|
1810 |
+
if (<?php echo $mouse_wheel_nav; ?>) {
|
1811 |
+
jQuery('.wds_slide_container_<?php echo $wds; ?>').bind(mousewheelevt, function(e) {
|
1812 |
+
var evt = window.event || e; /* Equalize event object.*/
|
1813 |
+
evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/
|
1814 |
+
var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/
|
1815 |
+
if (delta > 0) {
|
1816 |
+
/* Scroll up.*/
|
1817 |
+
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; ?>);
|
1818 |
+
}
|
1819 |
+
else {
|
1820 |
+
/* Scroll down.*/
|
1821 |
+
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; ?>);
|
1822 |
+
}
|
1823 |
+
return false;
|
1824 |
+
});
|
1825 |
+
}
|
1826 |
+
/* Keyboard navigation.*/
|
1827 |
+
if (<?php echo $keyboard_nav; ?>) {
|
1828 |
+
jQuery(document).on('keydown', function (e) {
|
1829 |
+
if (e.keyCode === 39 || e.keyCode === 38) { /* Right arrow.*/
|
1830 |
+
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; ?>);
|
1831 |
+
if (e.preventDefault) {
|
1832 |
+
e.preventDefault();
|
1833 |
+
}
|
1834 |
+
else {
|
1835 |
+
e.returnValue = false;
|
1836 |
+
}
|
1837 |
+
}
|
1838 |
+
else if (e.keyCode === 37 || e.keyCode === 40) { /* Left arrow.*/
|
1839 |
+
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; ?>);
|
1840 |
+
if (e.preventDefault) {
|
1841 |
+
e.preventDefault();
|
1842 |
+
}
|
1843 |
+
else {
|
1844 |
+
e.returnValue = false;
|
1845 |
+
}
|
1846 |
+
}
|
1847 |
+
else if (e.keyCode === 32) { /* Space.*/
|
1848 |
+
wds_play_pause_<?php echo $wds; ?>();
|
1849 |
+
if (e.preventDefault) {
|
1850 |
+
e.preventDefault();
|
1851 |
+
}
|
1852 |
+
else {
|
1853 |
+
e.returnValue = false;
|
1854 |
+
}
|
1855 |
+
}
|
1856 |
+
});
|
1857 |
+
}
|
1858 |
+
/* Play/pause.*/
|
1859 |
+
jQuery("#wds_slideshow_play_pause_<?php echo $wds; ?>").on(wds_click, function () {
|
1860 |
+
wds_play_pause_<?php echo $wds; ?>();
|
1861 |
});
|
1862 |
if (<?php echo $enable_slideshow_autoplay; ?>) {
|
1863 |
play_<?php echo $wds; ?>();
|
1864 |
+
|
1865 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
|
1866 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-pause");
|
1867 |
if (<?php echo $enable_slideshow_music ?>) {
|
js/wds.js
CHANGED
@@ -117,6 +117,9 @@ function spider_ajax_save(form_id, event) {
|
|
117 |
post_data["spider_uploader"] = jQuery("input[name=spider_uploader]:checked").val();
|
118 |
post_data["mouse_swipe_nav"] = jQuery("input[name=mouse_swipe_nav]:checked").val();
|
119 |
post_data["bull_hover"] = jQuery("input[name=bull_hover]:checked").val();
|
|
|
|
|
|
|
120 |
|
121 |
/* Css.*/
|
122 |
post_data["css"] = jQuery("#css").val();
|
117 |
post_data["spider_uploader"] = jQuery("input[name=spider_uploader]:checked").val();
|
118 |
post_data["mouse_swipe_nav"] = jQuery("input[name=mouse_swipe_nav]:checked").val();
|
119 |
post_data["bull_hover"] = jQuery("input[name=bull_hover]:checked").val();
|
120 |
+
post_data["touch_swipe_nav"] = jQuery("input[name=touch_swipe_nav]:checked").val();
|
121 |
+
post_data["mouse_wheel_nav"] = jQuery("input[name=mouse_wheel_nav]:checked").val();
|
122 |
+
post_data["keyboard_nav"] = jQuery("input[name=keyboard_nav]:checked").val();
|
123 |
|
124 |
/* Css.*/
|
125 |
post_data["css"] = jQuery("#css").val();
|
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
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -52,14 +52,19 @@ The number of the slides for each slider is not limited. Various layers can be a
|
|
52 |
* Slide duplication
|
53 |
|
54 |
Upgrade to [WordPress Slider Pro](http://web-dorado.com/products/wordpress-slider-plugin.html) to add features:
|
|
|
55 |
* 26 transition effects for Slider
|
56 |
* 38 layer effects
|
57 |
-
*
|
58 |
-
*
|
|
|
|
|
|
|
|
|
59 |
* Slider Filmstrip possibility
|
60 |
* Navigation button/bullet styles
|
61 |
-
*
|
62 |
-
*
|
63 |
|
64 |
###IMPORTANT:
|
65 |
If you think you found a bug in Slider WD or have any problem/question concerning the plugin, please check out [WordPress Slider Support Forum](http://web-dorado.com/forum/slider-plugin.html) in our website. If you do not find a solution here, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
@@ -142,6 +147,11 @@ After downloading the ZIP file of the slider plugin,
|
|
142 |
|
143 |
== Changelog ==
|
144 |
|
|
|
|
|
|
|
|
|
|
|
145 |
= 1.0.39 =
|
146 |
Fixed: Flashing only on first transition during fade effect.
|
147 |
|
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
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 1.0.40
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
52 |
* Slide duplication
|
53 |
|
54 |
Upgrade to [WordPress Slider Pro](http://web-dorado.com/products/wordpress-slider-plugin.html) to add features:
|
55 |
+
|
56 |
* 26 transition effects for Slider
|
57 |
* 38 layer effects
|
58 |
+
* Post Slides
|
59 |
+
* Video Slide support (YouTube and Vimeo)
|
60 |
+
* Dailymotion, Instagram and Flickr embed
|
61 |
+
* Layers (text, image and media embed)- [Video Manual](https://www.youtube.com/watch?v=obnyK-Czf0k&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP&index=2)
|
62 |
+
* Social sharing buttons layer (Google+, Tumblr, Twitter, Pinterest and Facebook)
|
63 |
+
* Hotspot layer
|
64 |
* Slider Filmstrip possibility
|
65 |
* Navigation button/bullet styles
|
66 |
+
* Parallax effect
|
67 |
+
* Carousel effect
|
68 |
|
69 |
###IMPORTANT:
|
70 |
If you think you found a bug in Slider WD or have any problem/question concerning the plugin, please check out [WordPress Slider Support Forum](http://web-dorado.com/forum/slider-plugin.html) in our website. If you do not find a solution here, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
147 |
|
148 |
== Changelog ==
|
149 |
|
150 |
+
= 1.0.40 =
|
151 |
+
Added: Swipe for filmstrip.
|
152 |
+
Added: Mousewheel and keyboard navigation methods.
|
153 |
+
Changed: Make touch navigation optional.
|
154 |
+
|
155 |
= 1.0.39 =
|
156 |
Fixed: Flashing only on first transition during fade effect.
|
157 |
|
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.0.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -373,9 +373,12 @@ function wds_activate() {
|
|
373 |
'carousel_image_parameters' => '0.85',
|
374 |
'carousel_fit_containerWidth' => 0,
|
375 |
'carousel_width' => 1000,
|
376 |
-
|
377 |
-
|
378 |
-
|
|
|
|
|
|
|
379 |
)
|
380 |
);
|
381 |
}
|
@@ -389,7 +392,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
389 |
|
390 |
function wds_install() {
|
391 |
$version = get_option("wds_version");
|
392 |
-
$new_version = '1.0.
|
393 |
if ($version && version_compare($version, $new_version, '<')) {
|
394 |
require_once WD_S_DIR . "/sliders-update.php";
|
395 |
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.0.40
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
373 |
'carousel_image_parameters' => '0.85',
|
374 |
'carousel_fit_containerWidth' => 0,
|
375 |
'carousel_width' => 1000,
|
376 |
+
'parallax_effect' => 0,
|
377 |
+
'mouse_swipe_nav' => 0,
|
378 |
+
'bull_hover' => 1,
|
379 |
+
'touch_swipe_nav' => 1,
|
380 |
+
'mouse_wheel_nav' => 0,
|
381 |
+
'keyboard_nav' => 0,
|
382 |
)
|
383 |
);
|
384 |
}
|
392 |
|
393 |
function wds_install() {
|
394 |
$version = get_option("wds_version");
|
395 |
+
$new_version = '1.0.40';
|
396 |
if ($version && version_compare($version, $new_version, '<')) {
|
397 |
require_once WD_S_DIR . "/sliders-update.php";
|
398 |
wds_update($version);
|
sliders-insert.php
CHANGED
@@ -96,6 +96,9 @@ function wds_insert() {
|
|
96 |
`parallax_effect` tinyint(1) NOT NULL,
|
97 |
`mouse_swipe_nav` tinyint(1) NOT NULL,
|
98 |
`bull_hover` int(1) NOT NULL,
|
|
|
|
|
|
|
99 |
PRIMARY KEY (`id`)
|
100 |
) DEFAULT CHARSET=utf8;";
|
101 |
$wpdb->query($wdsslider);
|
96 |
`parallax_effect` tinyint(1) NOT NULL,
|
97 |
`mouse_swipe_nav` tinyint(1) NOT NULL,
|
98 |
`bull_hover` int(1) NOT NULL,
|
99 |
+
`touch_swipe_nav` tinyint(1) NOT NULL,
|
100 |
+
`mouse_wheel_nav` tinyint(1) NOT NULL,
|
101 |
+
`keyboard_nav` tinyint(1) NOT NULL,
|
102 |
PRIMARY KEY (`id`)
|
103 |
) DEFAULT CHARSET=utf8;";
|
104 |
$wpdb->query($wdsslider);
|
sliders-update.php
CHANGED
@@ -77,6 +77,12 @@ function wds_update($version) {
|
|
77 |
// Google fonts.
|
78 |
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdslayer ADD `google_fonts` int(1) NOT NULL DEFAULT 0");
|
79 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
return;
|
81 |
}
|
82 |
|
77 |
// Google fonts.
|
78 |
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdslayer ADD `google_fonts` int(1) NOT NULL DEFAULT 0");
|
79 |
}
|
80 |
+
if (version_compare($version, '1.0.40') == -1) {
|
81 |
+
// Navigation methods.
|
82 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `touch_swipe_nav` tinyint(1) NOT NULL DEFAULT 1");
|
83 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `mouse_wheel_nav` tinyint(1) NOT NULL DEFAULT 0");
|
84 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `keyboard_nav` tinyint(1) NOT NULL DEFAULT 0");
|
85 |
+
}
|
86 |
return;
|
87 |
}
|
88 |
|