Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce - Version 1.4.4

Version Description

  • Multiple carousel on same page issue fixed
Download this release

Release Info

Developer rubel_miah
Plugin Icon 128x128 Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce
Version 1.4.4
Comparing to
See all releases

Code changes from version 1.4.3 to 1.4.4

assets/css/slick.css CHANGED
File without changes
assets/css/style.css CHANGED
@@ -7,6 +7,10 @@ div.wordpress-carousel-free-section .single_wcf_item{
7
  vertical-align: middle;
8
  float: none;
9
  }
 
 
 
 
10
  div.wordpress-carousel-free-section .slick-prev{
11
  left: 0;
12
  text-align: left;
7
  vertical-align: middle;
8
  float: none;
9
  }
10
+ div.wordpress-carousel-free-section .single_wcf_item img{
11
+ margin: 0 auto;
12
+ display: block;
13
+ }
14
  div.wordpress-carousel-free-section .slick-prev{
15
  left: 0;
16
  text-align: left;
assets/js/slick.min.js CHANGED
File without changes
inc/shortcodes.php CHANGED
@@ -26,7 +26,6 @@ function wp_carousel_free_shortcode( $attr ) {
26
  }
27
 
28
  extract( shortcode_atts( array(
29
- 'id' => '1',
30
  'ids' => '',
31
  'items' => '5',
32
  'items_desktop' => '4',
@@ -41,7 +40,6 @@ function wp_carousel_free_shortcode( $attr ) {
41
  'exclude' => '',
42
  ), $attr, 'gallery' ) );
43
 
44
-
45
  // helper function to return shortcode regex match on instance occurring on page or post
46
  if ( ! function_exists( 'get_match' ) ) {
47
  function get_match( $regex, $content, $instance ) {
@@ -59,11 +57,10 @@ function wp_carousel_free_shortcode( $attr ) {
59
  $ids = $shortcode_args["ids"];
60
  }
61
 
62
-
63
  $order = 'DESC';
64
  $orderby = 'title';
65
 
66
- $id = intval( $id );
67
  if ( 'RAND' == $order ) {
68
  $orderby = 'none';
69
  }
@@ -178,9 +175,9 @@ function wp_carousel_free_shortcode( $attr ) {
178
 
179
  $output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );
180
 
181
- foreach ( $attachments as $id => $attachment ) {
182
 
183
- $wcf_image_url = wp_get_attachment_image_src( $id, 'medium', false );
184
 
185
  $wcf_image_title = $attachment->post_title;
186
 
26
  }
27
 
28
  extract( shortcode_atts( array(
 
29
  'ids' => '',
30
  'items' => '5',
31
  'items_desktop' => '4',
40
  'exclude' => '',
41
  ), $attr, 'gallery' ) );
42
 
 
43
  // helper function to return shortcode regex match on instance occurring on page or post
44
  if ( ! function_exists( 'get_match' ) ) {
45
  function get_match( $regex, $content, $instance ) {
57
  $ids = $shortcode_args["ids"];
58
  }
59
 
60
+ $id = uniqid();
61
  $order = 'DESC';
62
  $orderby = 'title';
63
 
 
64
  if ( 'RAND' == $order ) {
65
  $orderby = 'none';
66
  }
175
 
176
  $output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );
177
 
178
+ foreach ( $attachments as $attach_id => $attachment ) {
179
 
180
+ $wcf_image_url = wp_get_attachment_image_src( $attach_id, 'medium', false );
181
 
182
  $wcf_image_title = $attachment->post_title;
183
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === WordPress Carousel ===
2
- Contributors: rubel_miah, shapedplugin
3
  Donate link: http://shapedplugin.com/donate
4
  Tags: carousel, slider, carousel plugin, testimonial, best testimonial, client testimonials plugin, wordpress testimonial, smooth testimonial, woocommerce slider, woocommerce product slider, woocommerce product carousel, lightbox, nice lightbox, carousel slider, logo carousel, carousel shortcode, client carousel, easy carousel, best logo carousel, best carousel, easy logo carousel, best client logo carousel, best logo slider, image carousel, image slider, post carousel, post slider, logo carousel, Nice carousel, responsive carousel, touch carousel, wordpress carousel, top logo slider, shortcode slider, shortcode carousel, free logo slider carousel, animations, autoplay, ecommerce, product, product carousel, product category, product slider, product slider carousel, product slider categories
5
  Requires at least: 4.3
6
- Tested up to: 4.7.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -96,6 +96,7 @@ Want more features? This plugin has a <a href="http://shapedplugin.com/plugin/wo
96
  <li>And many more options…</li>
97
  </ul>
98
 
 
99
 
100
  The most advanced WordPress Carousel PRO Plugin with Endless Possibilities!
101
  The Perfect way to display Carousel of your Logos, Post, Image, Testimonial, WooCommerce Products or any custom post types and many more.
@@ -122,7 +123,6 @@ Now save your page, then visit the newly created page & see something awesome. :
122
 
123
  Shortcode attributes
124
  `
125
- id => use unique id. default:1
126
  ids => use image ids
127
  items => items limit. default:5
128
  items_desktop => desktop items limit. default:4
@@ -143,6 +143,9 @@ auto_play => true / false. default: true
143
 
144
  == Changelog ==
145
 
 
 
 
146
  = 1.4.3 =
147
  * Add infinite loop
148
  * Display items limit option
1
  === WordPress Carousel ===
2
+ Contributors: shapedplugin
3
  Donate link: http://shapedplugin.com/donate
4
  Tags: carousel, slider, carousel plugin, testimonial, best testimonial, client testimonials plugin, wordpress testimonial, smooth testimonial, woocommerce slider, woocommerce product slider, woocommerce product carousel, lightbox, nice lightbox, carousel slider, logo carousel, carousel shortcode, client carousel, easy carousel, best logo carousel, best carousel, easy logo carousel, best client logo carousel, best logo slider, image carousel, image slider, post carousel, post slider, logo carousel, Nice carousel, responsive carousel, touch carousel, wordpress carousel, top logo slider, shortcode slider, shortcode carousel, free logo slider carousel, animations, autoplay, ecommerce, product, product carousel, product category, product slider, product slider carousel, product slider categories
5
  Requires at least: 4.3
6
+ Tested up to: 4.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
96
  <li>And many more options…</li>
97
  </ul>
98
 
99
+ [youtube https://www.youtube.com/watch?v=EVgB5CGti8I]
100
 
101
  The most advanced WordPress Carousel PRO Plugin with Endless Possibilities!
102
  The Perfect way to display Carousel of your Logos, Post, Image, Testimonial, WooCommerce Products or any custom post types and many more.
123
 
124
  Shortcode attributes
125
  `
 
126
  ids => use image ids
127
  items => items limit. default:5
128
  items_desktop => desktop items limit. default:4
143
 
144
  == Changelog ==
145
 
146
+ = 1.4.4 =
147
+ * Multiple carousel on same page issue fixed
148
+
149
  = 1.4.3 =
150
  * Add infinite loop
151
  * Display items limit option
wp-carousel-free.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://shapedplugin.com/plugin/wordpress-carousel-pro
5
  Description: This plugin will enable carousel features in your WordPress site.
6
  Author: ShapedPlugin
7
  Author URI: http://shapedplugin.com
8
- Version: 1.4.3
9
  */
10
 
11
 
5
  Description: This plugin will enable carousel features in your WordPress site.
6
  Author: ShapedPlugin
7
  Author URI: http://shapedplugin.com
8
+ Version: 1.4.4
9
  */
10
 
11