Carousel Slider - Version 1.8.7

Version Description

Download this release

Release Info

Developer sayful
Plugin Icon Carousel Slider
Version 1.8.7
Comparing to
See all releases

Code changes from version 1.8.6 to 1.8.7

carousel-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Carousel Slider
4
  * Plugin URI: http://wordpress.org/plugins/carousel-slider
5
  * Description: The Easiest Way to Create SEO friendly Image, Logo, Video, Post and WooCommerce Product Carousel.
6
- * Version: 1.8.6
7
  * Author: Sayful Islam
8
  * Author URI: https://sayfulislam.com
9
  * Requires at least: 4.4
3
  * Plugin Name: Carousel Slider
4
  * Plugin URI: http://wordpress.org/plugins/carousel-slider
5
  * Description: The Easiest Way to Create SEO friendly Image, Logo, Video, Post and WooCommerce Product Carousel.
6
+ * Version: 1.8.7
7
  * Author: Sayful Islam
8
  * Author URI: https://sayfulislam.com
9
  * Requires at least: 4.4
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, shortcode, images, carousel, carousel slider, image carousel,
4
  Requires at least: 4.5
5
  Tested up to: 4.9
6
  Requires PHP: 5.3
7
- Stable tag: 1.8.6
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
 
@@ -113,6 +113,9 @@ Now you can use the following function at your theme template file replacing `YO
113
 
114
  == Changelog ==
115
 
 
 
 
116
  = version 1.8.6 - 2018-03-17 =
117
  * Dev - Update Owl Carousel from version 2.2.1 to version 2.3.2
118
  * Tweak - Update Owl Carousel style for new version.
4
  Requires at least: 4.5
5
  Tested up to: 4.9
6
  Requires PHP: 5.3
7
+ Stable tag: 1.8.7
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
 
113
 
114
  == Changelog ==
115
 
116
+ = version 1.8.7 - 2018-03-26 =
117
+ * Fixed - Navigation is now showing when set always.
118
+
119
  = version 1.8.6 - 2018-03-17 =
120
  * Dev - Update Owl Carousel from version 2.2.1 to version 2.3.2
121
  * Tweak - Update Owl Carousel style for new version.
shortcodes/class-carousel-slider-shortcode.php CHANGED
@@ -180,6 +180,9 @@ if ( ! class_exists( 'Carousel_Slider_Shortcode' ) ):
180
  $class .= ' dots-square';
181
  }
182
 
 
 
 
183
  $options_array = array(
184
  'id' => 'id-' . $id,
185
  'class' => $class,
@@ -192,8 +195,8 @@ if ( ! class_exists( 'Carousel_Slider_Shortcode' ) ):
192
  'data-stage-padding' => $this->get_meta( $id, '_stage_padding', '0' ),
193
  'data-auto-width' => $this->get_meta( $id, '_auto_width', 'false' ),
194
  // Navigation
195
- 'data-dots' => $this->get_meta( $id, '_dot_nav', 'false' ),
196
- 'data-nav' => $this->get_meta( $id, '_nav_button', 'false' ),
197
  // Autoplay
198
  'data-autoplay' => $this->get_meta( $id, '_autoplay', 'true' ),
199
  'data-autoplay-timeout' => $this->get_meta( $id, '_autoplay_timeout', '5000' ),
180
  $class .= ' dots-square';
181
  }
182
 
183
+ $_dot_nav = (get_post_meta( $id, '_dot_nav', true ) != 'off');
184
+ $_nav_button = (get_post_meta( $id, '_nav_button', true ) != 'off');
185
+
186
  $options_array = array(
187
  'id' => 'id-' . $id,
188
  'class' => $class,
195
  'data-stage-padding' => $this->get_meta( $id, '_stage_padding', '0' ),
196
  'data-auto-width' => $this->get_meta( $id, '_auto_width', 'false' ),
197
  // Navigation
198
+ 'data-dots' => $_dot_nav,
199
+ 'data-nav' => $_nav_button,
200
  // Autoplay
201
  'data-autoplay' => $this->get_meta( $id, '_autoplay', 'true' ),
202
  'data-autoplay-timeout' => $this->get_meta( $id, '_autoplay_timeout', '5000' ),