Woocommerce Products Slider - Version 1.13.4

Version Description

  • 2020-03-17 fix - default thumbnail missing issue fixed.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Woocommerce Products Slider
Version 1.13.4
Comparing to
See all releases

Code changes from version 1.13.3 to 1.13.4

includes/functions-layout-element.php CHANGED
@@ -45,6 +45,7 @@ function wcps_layout_element_thumbnail($args){
45
 
46
 
47
  $thumb_size = isset($elementData['thumb_size']) ? $elementData['thumb_size'] : 'full';
 
48
 
49
  //echo '<pre>'.var_export($elementData, true).'</pre>';
50
 
@@ -52,6 +53,8 @@ function wcps_layout_element_thumbnail($args){
52
  $member_image_url = isset($wcps_thumb[0]) ? $wcps_thumb[0] : '';
53
 
54
 
 
 
55
  $member_image_url = apply_filters('wcps_layout_element_thumbnail_src', $member_image_url, $args);
56
 
57
 
@@ -502,6 +505,7 @@ function wcps_layout_element_css_post_title($args){
502
  $font_size = isset($elementData['font_size']) ? $elementData['font_size'] : '';
503
  $font_family = isset($elementData['font_family']) ? $elementData['font_family'] : '';
504
  $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
 
505
 
506
 
507
  //echo '<pre>'.var_export($layout_id, true).'</pre>';
@@ -521,6 +525,9 @@ function wcps_layout_element_css_post_title($args){
521
  <?php if(!empty($margin)): ?>
522
  margin: <?php echo $margin; ?>;
523
  <?php endif; ?>
 
 
 
524
  }
525
  </style>
526
  <?php
@@ -872,9 +879,7 @@ function wcps_layout_element_css_product_price($args){
872
  <?php if(!empty($text_align)): ?>
873
  text-align: <?php echo $text_align; ?>;
874
  <?php endif; ?>
875
-
876
  }
877
-
878
  </style>
879
  <?php
880
  }
@@ -901,6 +906,7 @@ function wcps_layout_element_css_content($args){
901
  $font_size = isset($elementData['font_size']) ? $elementData['font_size'] : '';
902
  $font_family = isset($elementData['font_family']) ? $elementData['font_family'] : '';
903
  $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
 
904
 
905
 
906
  ?>
@@ -918,7 +924,9 @@ function wcps_layout_element_css_content($args){
918
  <?php if(!empty($margin)): ?>
919
  margin: <?php echo $margin; ?>;
920
  <?php endif; ?>
921
-
 
 
922
  }
923
 
924
  .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?> a{
45
 
46
 
47
  $thumb_size = isset($elementData['thumb_size']) ? $elementData['thumb_size'] : 'full';
48
+ $default_thumb_src = isset($elementData['default_thumb_src']) ? $elementData['default_thumb_src'] : '';
49
 
50
  //echo '<pre>'.var_export($elementData, true).'</pre>';
51
 
53
  $member_image_url = isset($wcps_thumb[0]) ? $wcps_thumb[0] : '';
54
 
55
 
56
+ $member_image_url = !empty($member_image_url) ? $member_image_url : $default_thumb_src;
57
+
58
  $member_image_url = apply_filters('wcps_layout_element_thumbnail_src', $member_image_url, $args);
59
 
60
 
505
  $font_size = isset($elementData['font_size']) ? $elementData['font_size'] : '';
506
  $font_family = isset($elementData['font_family']) ? $elementData['font_family'] : '';
507
  $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
508
+ $text_align = isset($elementData['text_align']) ? $elementData['text_align'] : '';
509
 
510
 
511
  //echo '<pre>'.var_export($layout_id, true).'</pre>';
525
  <?php if(!empty($margin)): ?>
526
  margin: <?php echo $margin; ?>;
527
  <?php endif; ?>
528
+ <?php if(!empty($text_align)): ?>
529
+ text-align: <?php echo $text_align; ?>;
530
+ <?php endif; ?>
531
  }
532
  </style>
533
  <?php
879
  <?php if(!empty($text_align)): ?>
880
  text-align: <?php echo $text_align; ?>;
881
  <?php endif; ?>
 
882
  }
 
883
  </style>
884
  <?php
885
  }
906
  $font_size = isset($elementData['font_size']) ? $elementData['font_size'] : '';
907
  $font_family = isset($elementData['font_family']) ? $elementData['font_family'] : '';
908
  $margin = isset($elementData['margin']) ? $elementData['margin'] : '';
909
+ $text_align = isset($elementData['text_align']) ? $elementData['text_align'] : '';
910
 
911
 
912
  ?>
924
  <?php if(!empty($margin)): ?>
925
  margin: <?php echo $margin; ?>;
926
  <?php endif; ?>
927
+ <?php if(!empty($text_align)): ?>
928
+ text-align: <?php echo $text_align; ?>;
929
+ <?php endif; ?>
930
  }
931
 
932
  .layout-<?php echo $layout_id; ?> .element-<?php echo $element_index; ?> a{
readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: product slider, woocommerce slider, woo slider, woo product carousel slider, woocommerce product slider
5
  Requires at least: 3.8
6
  Tested up to: 5.3
7
- Stable tag: 1.13.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -141,6 +141,9 @@ then paste this shortcode anywhere in your page to display slider<br />
141
 
142
  == Changelog ==
143
 
 
 
 
144
  = 1.13.3 =
145
  * 2020-03-14 fix - Invalid Post Type – WCPS
146
 
4
  Tags: product slider, woocommerce slider, woo slider, woo product carousel slider, woocommerce product slider
5
  Requires at least: 3.8
6
  Tested up to: 5.3
7
+ Stable tag: 1.13.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
141
 
142
  == Changelog ==
143
 
144
+ = 1.13.4 =
145
+ * 2020-03-17 fix - default thumbnail missing issue fixed.
146
+
147
  = 1.13.3 =
148
  * 2020-03-14 fix - Invalid Post Type – WCPS
149
 
woocommerce-products-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: PickPlugins Product Slider for WooCommerce
4
  Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
5
  Description: Fully responsive and mobile ready Carousel Slider for your WooCommerce product. unlimited slider anywhere via short-codes and easy admin setting.
6
- Version: 1.13.3
7
  WC requires at least: 3.0.0
8
  WC tested up to: 3.9
9
  Author: PickPlugins
@@ -23,7 +23,7 @@ class WoocommerceProductsSlider{
23
  define('wcps_plugin_url', plugins_url('/', __FILE__) );
24
  define('wcps_plugin_dir', plugin_dir_path( __FILE__ ) );
25
  define('wcps_plugin_name', 'PickPlugins Product Slider' );
26
- define('wcps_plugin_version', '1.13.3' );
27
 
28
  require_once( wcps_plugin_dir . 'includes/class-post-types.php');
29
  require_once( wcps_plugin_dir . 'includes/class-metabox-wcps.php');
3
  Plugin Name: PickPlugins Product Slider for WooCommerce
4
  Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
5
  Description: Fully responsive and mobile ready Carousel Slider for your WooCommerce product. unlimited slider anywhere via short-codes and easy admin setting.
6
+ Version: 1.13.4
7
  WC requires at least: 3.0.0
8
  WC tested up to: 3.9
9
  Author: PickPlugins
23
  define('wcps_plugin_url', plugins_url('/', __FILE__) );
24
  define('wcps_plugin_dir', plugin_dir_path( __FILE__ ) );
25
  define('wcps_plugin_name', 'PickPlugins Product Slider' );
26
+ define('wcps_plugin_version', '1.13.4' );
27
 
28
  require_once( wcps_plugin_dir . 'includes/class-post-types.php');
29
  require_once( wcps_plugin_dir . 'includes/class-metabox-wcps.php');