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

Version Description

  • Bug Fix - Issue with "Lazy Load Images" feature, and when enabled UTF-8 encoding was broken. Resolved.

=

Download this release

Release Info

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

Code changes from version 2.2 to 2.2.1

php/slide-anything-admin.php CHANGED
@@ -130,14 +130,23 @@ function version_20_upgrade_notice() {
130
  echo "<div style='float:left; width:170px; margin-right:15px;'><a href='https://edgewebpages.com/' target='_blank'>";
131
  echo "<img style='width:100%;' src='https://edgewebpages.com/wp-content/uploads/2017/06/slide_anything_pro_product_image.png' /></a></div>";
132
  echo "<h3 style='margin:0px !important; padding:10px 0px !important;'>SLIDE ANYTHING PRO</h3>";
133
- echo "<p style='margin:0px 0px 10px !important;'><a href='https://edgewebpages.com/' target='_blank'>SLIDE ANYTHING PRO</a> ";
134
- echo "adds POPUPS into the mix!!</p>";
 
 
 
 
 
135
  echo "<p style='margin:0px 0px 10px !important;'>With <a href='https://edgewebpages.com/' target='_blank'>SLIDE ANYTHING PRO</a> ";
136
- echo "each slide can now open a MODAL POPUP, which can be an IMAGE popup, a VIDEO EMBED popup (YouTube/Vimeo), a popup containing ";
137
- echo "HTML CODE or a popup displaying a WordPress SHORTCODE. This can be a very useful addition to Slide Anything, if you are ";
138
- echo "wanting to create Image or Video galleries for your websites.</p>";
139
- echo "<p style='margin:0px 0px 10px !important;'>For more information about Slide Anything PRO, ";
140
- echo "<a href='https://edgewebpages.com/' target='_blank'>CLICK HERE.</a></p>";
 
 
 
 
141
 
142
  echo "<div style='clear:both; float:none; width:100%; height:10px;'></div>";
143
  echo "<a style='display:inline-block; float:right; padding:7px 10px; background:crimson; color:white; text-decoration:none; ";
130
  echo "<div style='float:left; width:170px; margin-right:15px;'><a href='https://edgewebpages.com/' target='_blank'>";
131
  echo "<img style='width:100%;' src='https://edgewebpages.com/wp-content/uploads/2017/06/slide_anything_pro_product_image.png' /></a></div>";
132
  echo "<h3 style='margin:0px !important; padding:10px 0px !important;'>SLIDE ANYTHING PRO</h3>";
133
+ echo "<p style='margin:0px 0px 10px !important;'><strong>SLIDE ANYTHING PRO</strong> adds POPUPS into the mix!!";
134
+ echo "<br/><strong>SLIDE ANYTHING PRO</strong> also adds Hero Sliders & Thumbnail Pagination!!</p>";
135
+
136
+ echo "<p style='margin:0px 0px 10px !important;'>With <a href='https://edgewebpages.com/' target='_blank'>SLIDE ANYTHING PRO</a> ";
137
+ echo "each slide can now open a MODAL POPUP, which can be an IMAGE popup, a VIDEO EMBED popup (YouTube/Vimeo), a popup ";
138
+ echo "containing HTML CODE or a popup displaying a WordPress SHORTCODE. This can be a very useful addition to ";
139
+ echo "Slide Anything, if you are wanting to create Image or Video galleries for your websites.</p>";
140
  echo "<p style='margin:0px 0px 10px !important;'>With <a href='https://edgewebpages.com/' target='_blank'>SLIDE ANYTHING PRO</a> ";
141
+ echo "you can now create a HERO SLIDER, which is a slider that always is 100% of the width/height of the device it's ";
142
+ echo "being viewed on. You can now also add THUMBNAIL PAGINATION to your sliders. Thumbnail Pagination are small ";
143
+ echo "clickable thumbnail images, with each thumbnail representing a single slide which can be clicked in order to ";
144
+ echo "navigate to.</p>";
145
+
146
+ echo "<p style='margin:0px !important;'>For more information, click on the DEMO links below:</p>";
147
+ echo "<p style='margin:0px !important;'>";
148
+ echo "<a href='https://edgewebpages.com/' target='_blank'>MODAL POPUPS DEMO</a>&nbsp;&nbsp;|&nbsp;&nbsp;";
149
+ echo "<a href='https://edgewebpages.com/hero-slider-with-thumbnails/' target='_blank'>HERO SLIDER WITH THUMBNAILS</a></p>";
150
 
151
  echo "<div style='clear:both; float:none; width:100%; height:10px;'></div>";
152
  echo "<a style='display:inline-block; float:right; padding:7px 10px; background:crimson; color:white; text-decoration:none; ";
php/slide-anything-frontend.php CHANGED
@@ -858,7 +858,7 @@ function set_slide_images_to_lazy_load($slide_content) {
858
 
859
  // 2) FOR EACH <IMG> TAG WITHIN THE SLIDE CONTENT, ADD THE 'owl-lazy' CLASS
860
  $dom = new DOMDocument();
861
- $dom->loadHTML($slide_content);
862
  $imgs = $dom->getElementsByTagName('img');
863
  foreach ($imgs as $img) {
864
  $curr_class = $img->getAttribute('class');
858
 
859
  // 2) FOR EACH <IMG> TAG WITHIN THE SLIDE CONTENT, ADD THE 'owl-lazy' CLASS
860
  $dom = new DOMDocument();
861
+ $dom->loadHTML(mb_convert_encoding($slide_content, 'HTML-ENTITIES', 'UTF-8'));
862
  $imgs = $dom->getElementsByTagName('img');
863
  foreach ($imgs as $img) {
864
  $curr_class = $img->getAttribute('class');
readme.txt CHANGED
@@ -24,6 +24,8 @@ Slide Anything provides many Owl Carousel 2 features, which include:
24
  * New Transition Effects - New Owl Carousel transitions include Slide, Fade, Zoom In, Zoom Out, Flip Out X/Y, Rotate Left/Right, Bounce Out, Roll Out and Slide Down.
25
  * Slide Link Feature - A feature which allows you to create a hover-over link button for any slide within your carousels.
26
 
 
 
27
  = Slide Anything PRO =
28
 
29
  [SLIDE ANYTHING PRO](https://edgewebpages.com/) adds the following extra features:
@@ -260,6 +262,9 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
260
  = 2.2 =
261
  * Added Hero Slider and Thumbnail Pagination support, which are Slide Anything PRO features.
262
 
 
 
 
263
  == Upgrade Notice ==
264
 
265
  = 1.0 =
@@ -428,3 +433,6 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
428
 
429
  = 2.2 =
430
  * Added Hero Slider and Thumbnail Pagination support, which are Slide Anything PRO features.
 
 
 
24
  * New Transition Effects - New Owl Carousel transitions include Slide, Fade, Zoom In, Zoom Out, Flip Out X/Y, Rotate Left/Right, Bounce Out, Roll Out and Slide Down.
25
  * Slide Link Feature - A feature which allows you to create a hover-over link button for any slide within your carousels.
26
 
27
+ [Usage Examples](https://edgewebpages.com/slide-anything-usage-examples)
28
+
29
  = Slide Anything PRO =
30
 
31
  [SLIDE ANYTHING PRO](https://edgewebpages.com/) adds the following extra features:
262
  = 2.2 =
263
  * Added Hero Slider and Thumbnail Pagination support, which are Slide Anything PRO features.
264
 
265
+ = 2.2.1 =
266
+ * Bug Fix - Issue with "Lazy Load Images" feature, and when enabled UTF-8 encoding was broken. Resolved.
267
+
268
  == Upgrade Notice ==
269
 
270
  = 1.0 =
433
 
434
  = 2.2 =
435
  * Added Hero Slider and Thumbnail Pagination support, which are Slide Anything PRO features.
436
+
437
+ = 2.2.1 =
438
+ * Bug Fix - Issue with "Lazy Load Images" feature, and when enabled UTF-8 encoding was broken. Resolved.
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.2
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.2.1
8
  * License: GPLv2 or later
9
  */
10