Slide Anything – Responsive Content / HTML Slider and Carousel - Version 2.1.7

Version Description

  • Minor bug fix with new 'Auto Height' feature

=

Download this release

Release Info

Developer simonpedge
Plugin Icon 128x128 Slide Anything – Responsive Content / HTML Slider and Carousel
Version 2.1.7
Comparing to
See all releases

Code changes from version 2.1.6 to 2.1.7

php/slide-anything-frontend.php CHANGED
@@ -166,9 +166,13 @@ function slide_anything_shortcode($atts) {
166
  } else {
167
  $slide_data['touch_drag'] = 'false';
168
  }
169
- $slide_data['auto_height'] = $metadata['sa_auto_height'][0];
170
- if ($slide_data['auto_height'] == '1') {
171
- $slide_data['auto_height'] = 'true';
 
 
 
 
172
  } else {
173
  $slide_data['auto_height'] = 'false';
174
  }
166
  } else {
167
  $slide_data['touch_drag'] = 'false';
168
  }
169
+ if (isset($metadata['sa_auto_height'])) {
170
+ $slide_data['auto_height'] = $metadata['sa_auto_height'][0];
171
+ if ($slide_data['auto_height'] == '1') {
172
+ $slide_data['auto_height'] = 'true';
173
+ } else {
174
+ $slide_data['auto_height'] = 'false';
175
+ }
176
  } else {
177
  $slide_data['auto_height'] = 'false';
178
  }
readme.txt CHANGED
@@ -204,6 +204,9 @@ The `SLIDE STYLE` settings are the style settings for each individual slide with
204
  = 2.1.6 =
205
  * Added a new 'Auto Height' feature, which automatically resizes the height of the slider according to the current slide's height.
206
 
 
 
 
207
  == Upgrade Notice ==
208
 
209
  = 1.0 =
@@ -322,4 +325,7 @@ The `SLIDE STYLE` settings are the style settings for each individual slide with
322
  * Bug Fix - Issue with using shortcodes within slides. Certain shortcodes can only be displayed on the front-end (i.e. required resources are only loaded on the front-end), so the 'Preview Slider' feature on the Edit Slider page was causing issues for these shortcodes. So I have displayed this 'Preview Slider' feature for sliders where the 'Allow Shortcodes' checkbox is checked.
323
 
324
  = 2.1.6 =
325
- * Added a new 'Auto Height' feature, which automatically resizes the height of the slider according to the current slide's height.
 
 
 
204
  = 2.1.6 =
205
  * Added a new 'Auto Height' feature, which automatically resizes the height of the slider according to the current slide's height.
206
 
207
+ = 2.1.7 =
208
+ * Minor bug fix with new 'Auto Height' feature
209
+
210
  == Upgrade Notice ==
211
 
212
  = 1.0 =
325
  * Bug Fix - Issue with using shortcodes within slides. Certain shortcodes can only be displayed on the front-end (i.e. required resources are only loaded on the front-end), so the 'Preview Slider' feature on the Edit Slider page was causing issues for these shortcodes. So I have displayed this 'Preview Slider' feature for sliders where the 'Allow Shortcodes' checkbox is checked.
326
 
327
  = 2.1.6 =
328
+ * Added a new 'Auto Height' feature, which automatically resizes the height of the slider according to the current slide's height.
329
+
330
+ = 2.1.7 =
331
+ * Minor bug fix with new 'Auto Height' feature
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.1.6
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.1.7
8
  * License: GPLv2 or later
9
  */
10