Slider by WD – Responsive Slider - Version 1.0.49

Version Description

  • Added: Shortcode support in text layers.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Slider by WD – Responsive Slider
Version 1.0.49
Comparing to
See all releases

Code changes from version 1.0.48 to 1.0.49

Files changed (3) hide show
  1. frontend/views/WDSViewSlider.php +1 -1
  2. readme.txt +5 -2
  3. slider-wd.php +5 -5
frontend/views/WDSViewSlider.php CHANGED
@@ -870,7 +870,7 @@ class WDSViewSlider {
870
  border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>;
871
  border-radius: <?php echo $layer->border_radius; ?>;
872
  box-shadow: <?php echo $layer->shadow; ?>"
873
- onclick="<?php echo $layer->link ? 'window.open(\'' . $layer->link . '\', \'' . ($layer->target_attr_layer ? '_blank' : '_self') . '\');' : ''; ?>event.stopPropagation();"><?php echo str_replace(array("\r\n", "\r", "\n"), "<br>", $layer->text); ?></span>
874
  <?php
875
  break;
876
  }
870
  border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>;
871
  border-radius: <?php echo $layer->border_radius; ?>;
872
  box-shadow: <?php echo $layer->shadow; ?>"
873
+ onclick="<?php echo $layer->link ? 'window.open(\'' . $layer->link . '\', \'' . ($layer->target_attr_layer ? '_blank' : '_self') . '\');' : ''; ?>event.stopPropagation();"><?php echo str_replace(array("\r\n", "\r", "\n"), "<br>", $from_shortcode ? do_shortcode($layer->text) : $layer->text); ?></span>
874
  <?php
875
  break;
876
  }
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, mp3, video, embed media
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
- Stable tag: 1.0.48
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -159,8 +159,11 @@ After downloading the ZIP file of the slider plugin,
159
 
160
  == Changelog ==
161
 
 
 
 
162
  = 1.0.48 =
163
- * Fixed: Controll buttons in sites with different site and admin urls.
164
 
165
  = 1.0.47 =
166
  * Added: Fixed background slider.
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, mp3, video, embed media
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
+ Stable tag: 1.0.49
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
159
 
160
  == Changelog ==
161
 
162
+ = 1.0.49 =
163
+ * Added: Shortcode support in text layers.
164
+
165
  = 1.0.48 =
166
+ * Fixed: Controll buttons in sites with different site and admin urls.
167
 
168
  = 1.0.47 =
169
  * Added: Fixed background slider.
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.48
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -182,11 +182,11 @@ function wd_slider($id) {
182
  }
183
 
184
  $wds = 0;
185
- function wds_front_end($id) {
186
  require_once(WD_S_DIR . '/frontend/controllers/WDSControllerSlider.php');
187
  $controller = new WDSControllerSlider();
188
  global $wds;
189
- $controller->execute($id, 1, $wds);
190
  $wds++;
191
  return;
192
  }
@@ -217,7 +217,7 @@ function wds_preview() {
217
  <div class="wds_preview_cont1">
218
  <div class="wds_preview_cont2">
219
  <?php
220
- wds_front_end($id, TRUE);
221
  ?>
222
  </div>
223
  </div>
@@ -421,7 +421,7 @@ register_activation_hook(__FILE__, 'wds_activate');
421
 
422
  function wds_install() {
423
  $version = get_option("wds_version");
424
- $new_version = '1.0.48';
425
  if ($version && version_compare($version, $new_version, '<')) {
426
  require_once WD_S_DIR . "/sliders-update.php";
427
  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.49
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
182
  }
183
 
184
  $wds = 0;
185
+ function wds_front_end($id, $from_shortcode = 1) {
186
  require_once(WD_S_DIR . '/frontend/controllers/WDSControllerSlider.php');
187
  $controller = new WDSControllerSlider();
188
  global $wds;
189
+ $controller->execute($id, $from_shortcode, $wds);
190
  $wds++;
191
  return;
192
  }
217
  <div class="wds_preview_cont1">
218
  <div class="wds_preview_cont2">
219
  <?php
220
+ wds_front_end($id, 0);
221
  ?>
222
  </div>
223
  </div>
421
 
422
  function wds_install() {
423
  $version = get_option("wds_version");
424
+ $new_version = '1.0.49';
425
  if ($version && version_compare($version, $new_version, '<')) {
426
  require_once WD_S_DIR . "/sliders-update.php";
427
  wds_update($version);