Version Description
- Fixed: Two way slideshow.
- Fixed: JS error on Carousel view.
- Fixed: Insert from URL on WP5.6.
Download this release
Release Info
Developer | 10web |
Plugin | Slider by WD – Responsive Slider |
Version | 1.2.40 |
Comparing to | |
See all releases |
Code changes from version 1.2.39 to 1.2.40
- js/wds.js +1 -1
- js/wds_frontend.js +90 -10
- readme.txt +6 -1
- slider-wd.php +3 -3
js/wds.js
CHANGED
@@ -1659,7 +1659,7 @@ function wds_media_uploader_add_slide(e, id, multiple) {
|
|
1659 |
custom_uploader.on('insert select', function() {
|
1660 |
var attachment = [];
|
1661 |
if ( custom_uploader.state().id == "embed" ) {
|
1662 |
-
if ( custom_uploader.state().changed.type != "image" ) {
|
1663 |
alert(wds.file_not_supported);
|
1664 |
return;
|
1665 |
}
|
1659 |
custom_uploader.on('insert select', function() {
|
1660 |
var attachment = [];
|
1661 |
if ( custom_uploader.state().id == "embed" ) {
|
1662 |
+
if ( custom_uploader.state().changed.type != "image" && custom_uploader.state()._previousAttributes.type != "image") {
|
1663 |
alert(wds.file_not_supported);
|
1664 |
return;
|
1665 |
}
|
js/wds_frontend.js
CHANGED
@@ -552,9 +552,6 @@ function wds_play_wds(wds) {
|
|
552 |
if (wds_params[wds].timer_bar_type != 'bottom') {
|
553 |
if (typeof wds_params[wds].circle_timer_animate !== 'undefined') {
|
554 |
wds_params[wds].circle_timer_animate.stop();
|
555 |
-
if (wds_params[wds].carousel) {
|
556 |
-
wds_params[wds].wds_carousel_wds.pause();
|
557 |
-
}
|
558 |
}
|
559 |
wds_circle_timer(wds_params[wds].curent_time_deggree);
|
560 |
}
|
@@ -566,9 +563,6 @@ function wds_play_wds(wds) {
|
|
566 |
document.getElementById("wds_audio_" + wds).play();
|
567 |
}
|
568 |
}
|
569 |
-
if (wds_params[wds].carousel) {
|
570 |
-
wds_params[wds].wds_carousel_wds.start();
|
571 |
-
}
|
572 |
}
|
573 |
|
574 |
function play_wds(wds) {
|
@@ -764,10 +758,8 @@ function wds_change_image_when_loaded(wds, current_key, key, wds_data, from_effe
|
|
764 |
else {
|
765 |
direction = btn;
|
766 |
}
|
767 |
-
if (wds_params[wds].
|
768 |
-
|
769 |
-
wds_params[wds].wds_global_btn_wds = direction;
|
770 |
-
}
|
771 |
}
|
772 |
/* Set active thumbnail position.*/
|
773 |
if (wds_params[wds].width_or_height == 'width') {
|
@@ -2575,6 +2567,50 @@ function wds_ready_func( wds ) {
|
|
2575 |
jQuery.each( wds_params[wds].callback_items, function( index, value ) {
|
2576 |
if ( index === 'onSliderBlur' && value !== '' ) {
|
2577 |
var wds_callback_f = new Function( wds_params[wds].callback_items.onSliderBlur );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2578 |
wds_callback_f();
|
2579 |
}
|
2580 |
});
|
@@ -2627,6 +2663,50 @@ function wds_pause(wds) {
|
|
2627 |
if ( wds_params[wds].carousel == 1 ) {
|
2628 |
wds_carousel[wds].pause();
|
2629 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2630 |
}
|
2631 |
}
|
2632 |
}
|
552 |
if (wds_params[wds].timer_bar_type != 'bottom') {
|
553 |
if (typeof wds_params[wds].circle_timer_animate !== 'undefined') {
|
554 |
wds_params[wds].circle_timer_animate.stop();
|
|
|
|
|
|
|
555 |
}
|
556 |
wds_circle_timer(wds_params[wds].curent_time_deggree);
|
557 |
}
|
563 |
document.getElementById("wds_audio_" + wds).play();
|
564 |
}
|
565 |
}
|
|
|
|
|
|
|
566 |
}
|
567 |
|
568 |
function play_wds(wds) {
|
758 |
else {
|
759 |
direction = btn;
|
760 |
}
|
761 |
+
if (wds_params[wds].twoway_slideshow) {
|
762 |
+
wds_params[wds].wds_global_btn_wds = direction;
|
|
|
|
|
763 |
}
|
764 |
/* Set active thumbnail position.*/
|
765 |
if (wds_params[wds].width_or_height == 'width') {
|
2567 |
jQuery.each( wds_params[wds].callback_items, function( index, value ) {
|
2568 |
if ( index === 'onSliderBlur' && value !== '' ) {
|
2569 |
var wds_callback_f = new Function( wds_params[wds].callback_items.onSliderBlur );
|
2570 |
+
jQuery('#top_right_' + wds).css({
|
2571 |
+
'-moz-transform': 'rotate(0deg)',
|
2572 |
+
'-webkit-transform': 'rotate(0deg)',
|
2573 |
+
'-o-transform': 'rotate(0deg)',
|
2574 |
+
'-ms-transform': 'rotate(0deg)',
|
2575 |
+
'transform': 'rotate(0deg)',
|
2576 |
+
'-webkit-transform-origin': 'left bottom',
|
2577 |
+
'-ms-transform-origin': 'left bottom',
|
2578 |
+
'-moz-transform-origin': 'left bottom',
|
2579 |
+
'transform-origin': 'left bottom'
|
2580 |
+
});
|
2581 |
+
jQuery('#bottom_right_' + wds).css({
|
2582 |
+
'-moz-transform': 'rotate(0deg)',
|
2583 |
+
'-webkit-transform': 'rotate(0deg)',
|
2584 |
+
'-o-transform': 'rotate(0deg)',
|
2585 |
+
'-ms-transform': 'rotate(0deg)',
|
2586 |
+
'transform': 'rotate(0deg)',
|
2587 |
+
'-webkit-transform-origin': 'left top',
|
2588 |
+
'-ms-transform-origin': 'left top',
|
2589 |
+
'-moz-transform-origin': 'left top',
|
2590 |
+
'transform-origin': 'left top'
|
2591 |
+
});
|
2592 |
+
jQuery('#bottom_left_' + wds).css({
|
2593 |
+
'-moz-transform': 'rotate(0deg)',
|
2594 |
+
'-webkit-transform': 'rotate(0deg)',
|
2595 |
+
'-o-transform': 'rotate(0deg)',
|
2596 |
+
'-ms-transform': 'rotate(0deg)',
|
2597 |
+
'transform': 'rotate(0deg)',
|
2598 |
+
'-webkit-transform-origin': 'right top',
|
2599 |
+
'-ms-transform-origin': 'right top',
|
2600 |
+
'-moz-transform-origin': 'right top',
|
2601 |
+
'transform-origin': 'right top'
|
2602 |
+
});
|
2603 |
+
jQuery('#top_left_' + wds).css({
|
2604 |
+
'-moz-transform': 'rotate(0deg)',
|
2605 |
+
'-webkit-transform': 'rotate(0deg)',
|
2606 |
+
'-o-transform': 'rotate(0deg)',
|
2607 |
+
'-ms-transform': 'rotate(0deg)',
|
2608 |
+
'transform': 'rotate(0deg)',
|
2609 |
+
'-webkit-transform-origin': 'right bottom',
|
2610 |
+
'-ms-transform-origin': 'right bottom',
|
2611 |
+
'-moz-transform-origin': 'right bottom',
|
2612 |
+
'transform-origin': 'right bottom'
|
2613 |
+
});
|
2614 |
wds_callback_f();
|
2615 |
}
|
2616 |
});
|
2663 |
if ( wds_params[wds].carousel == 1 ) {
|
2664 |
wds_carousel[wds].pause();
|
2665 |
}
|
2666 |
+
jQuery('#top_right_' + wds).css({
|
2667 |
+
'-moz-transform': 'rotate(0deg)',
|
2668 |
+
'-webkit-transform': 'rotate(0deg)',
|
2669 |
+
'-o-transform': 'rotate(0deg)',
|
2670 |
+
'-ms-transform': 'rotate(0deg)',
|
2671 |
+
'transform': 'rotate(0deg)',
|
2672 |
+
'-webkit-transform-origin': 'left bottom',
|
2673 |
+
'-ms-transform-origin': 'left bottom',
|
2674 |
+
'-moz-transform-origin': 'left bottom',
|
2675 |
+
'transform-origin': 'left bottom'
|
2676 |
+
});
|
2677 |
+
jQuery('#bottom_right_' + wds).css({
|
2678 |
+
'-moz-transform': 'rotate(0deg)',
|
2679 |
+
'-webkit-transform': 'rotate(0deg)',
|
2680 |
+
'-o-transform': 'rotate(0deg)',
|
2681 |
+
'-ms-transform': 'rotate(0deg)',
|
2682 |
+
'transform': 'rotate(0deg)',
|
2683 |
+
'-webkit-transform-origin': 'left top',
|
2684 |
+
'-ms-transform-origin': 'left top',
|
2685 |
+
'-moz-transform-origin': 'left top',
|
2686 |
+
'transform-origin': 'left top'
|
2687 |
+
});
|
2688 |
+
jQuery('#bottom_left_' + wds).css({
|
2689 |
+
'-moz-transform': 'rotate(0deg)',
|
2690 |
+
'-webkit-transform': 'rotate(0deg)',
|
2691 |
+
'-o-transform': 'rotate(0deg)',
|
2692 |
+
'-ms-transform': 'rotate(0deg)',
|
2693 |
+
'transform': 'rotate(0deg)',
|
2694 |
+
'-webkit-transform-origin': 'right top',
|
2695 |
+
'-ms-transform-origin': 'right top',
|
2696 |
+
'-moz-transform-origin': 'right top',
|
2697 |
+
'transform-origin': 'right top'
|
2698 |
+
});
|
2699 |
+
jQuery('#top_left_' + wds).css({
|
2700 |
+
'-moz-transform': 'rotate(0deg)',
|
2701 |
+
'-webkit-transform': 'rotate(0deg)',
|
2702 |
+
'-o-transform': 'rotate(0deg)',
|
2703 |
+
'-ms-transform': 'rotate(0deg)',
|
2704 |
+
'transform': 'rotate(0deg)',
|
2705 |
+
'-webkit-transform-origin': 'right bottom',
|
2706 |
+
'-ms-transform-origin': 'right bottom',
|
2707 |
+
'-moz-transform-origin': 'right bottom',
|
2708 |
+
'transform-origin': 'right bottom'
|
2709 |
+
});
|
2710 |
}
|
2711 |
}
|
2712 |
}
|
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: 5.6
|
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,11 @@ The plugin takes the full width of the widget area if the **Boxed Layout** in **
|
|
444 |
|
445 |
|
446 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
447 |
= 1.2.39 =
|
448 |
* Improved: Get Google fonts dynamically.
|
449 |
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 5.6
|
6 |
Requires PHP: 5.2
|
7 |
+
Stable tag: 1.2.40
|
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.40 =
|
448 |
+
* Fixed: Two way slideshow.
|
449 |
+
* Fixed: JS error on Carousel view.
|
450 |
+
* Fixed: Insert from URL on WP5.6.
|
451 |
+
|
452 |
= 1.2.39 =
|
453 |
* Improved: Get Google fonts dynamically.
|
454 |
|
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();
|
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.40
|
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.40';
|
83 |
+
$this->db_version = '1.2.40';
|
84 |
$this->prefix = 'wds';
|
85 |
$this->nicename = __('Slider', $this->prefix);
|
86 |
$this->use_home_url();
|