Version Description
- Small Bug Fix: Click to Advance feature was not working properly with multiple sliders on the page
=
Download this release
Release Info
Developer | simonpedge |
Plugin | Slide Anything – Responsive Content / HTML Slider and Carousel |
Version | 2.3.17 |
Comparing to | |
See all releases |
Code changes from version 2.3.16 to 2.3.17
- php/slide-anything-frontend.php +2 -2
- readme.txt +7 -1
- slide-anything.php +1 -1
php/slide-anything-frontend.php
CHANGED
@@ -953,9 +953,9 @@ function slide_anything_shortcode($atts) {
|
|
953 |
// JAVASCRIPT FOR 'CLICK TO ADVANCE' OPTION ONLY
|
954 |
if ($slide_data['click_advance'] == 'true') {
|
955 |
if (($slide_data['touch_drag'] == 'false') && ($slide_data['mouse_drag'] == 'false')) {
|
956 |
-
$output .= " var
|
957 |
$output .= " jQuery('#".esc_attr($slide_data['css_id'])."').click(function() {\n";
|
958 |
-
$output .= "
|
959 |
$output .= " });\n";
|
960 |
}
|
961 |
}
|
953 |
// JAVASCRIPT FOR 'CLICK TO ADVANCE' OPTION ONLY
|
954 |
if ($slide_data['click_advance'] == 'true') {
|
955 |
if (($slide_data['touch_drag'] == 'false') && ($slide_data['mouse_drag'] == 'false')) {
|
956 |
+
$output .= " var cta_".$id." = jQuery('#".esc_attr($slide_data['css_id'])."');\n";
|
957 |
$output .= " jQuery('#".esc_attr($slide_data['css_id'])."').click(function() {\n";
|
958 |
+
$output .= " cta_".$id.".trigger('next.owl.carousel');\n";
|
959 |
$output .= " });\n";
|
960 |
}
|
961 |
}
|
readme.txt
CHANGED
@@ -344,6 +344,9 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
|
|
344 |
= 2.3.16 =
|
345 |
* Small Bug Fix: Using the Slide Anything shortcode with an incorrect ID sometimes did not display an error message - this has been resolved
|
346 |
|
|
|
|
|
|
|
347 |
== Upgrade Notice ==
|
348 |
|
349 |
= 1.0 =
|
@@ -589,4 +592,7 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
|
|
589 |
* Added 'Click to Advance' feature which when enabled allows users to click on the slider to advance it one slide
|
590 |
|
591 |
= 2.3.16 =
|
592 |
-
* Small Bug Fix: Using the Slide Anything shortcode with an incorrect ID sometimes did not display an error message - this has been resolved
|
|
|
|
|
|
344 |
= 2.3.16 =
|
345 |
* Small Bug Fix: Using the Slide Anything shortcode with an incorrect ID sometimes did not display an error message - this has been resolved
|
346 |
|
347 |
+
= 2.3.17 =
|
348 |
+
* Small Bug Fix: Click to Advance feature was not working properly with multiple sliders on the page
|
349 |
+
|
350 |
== Upgrade Notice ==
|
351 |
|
352 |
= 1.0 =
|
592 |
* Added 'Click to Advance' feature which when enabled allows users to click on the slider to advance it one slide
|
593 |
|
594 |
= 2.3.16 =
|
595 |
+
* Small Bug Fix: Using the Slide Anything shortcode with an incorrect ID sometimes did not display an error message - this has been resolved
|
596 |
+
|
597 |
+
= 2.3.17 =
|
598 |
+
* Small Bug Fix: Click to Advance feature was not working properly with multiple sliders on the page
|
slide-anything.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://wordpress.org/plugins/slide-anything/
|
5 |
* Description: Slide Anything allows you to create a carousel/slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes. This plugin uses the Owl Carousel jQuery plugin, and lets you create beautiful, touch enabled, responsive carousels and sliders.
|
6 |
* Author: Simon Edge
|
7 |
-
* Version: 2.3.
|
8 |
* License: GPLv2 or later
|
9 |
*/
|
10 |
|
4 |
* Plugin URI: https://wordpress.org/plugins/slide-anything/
|
5 |
* Description: Slide Anything allows you to create a carousel/slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes. This plugin uses the Owl Carousel jQuery plugin, and lets you create beautiful, touch enabled, responsive carousels and sliders.
|
6 |
* Author: Simon Edge
|
7 |
+
* Version: 2.3.17
|
8 |
* License: GPLv2 or later
|
9 |
*/
|
10 |
|