Version Description
- 23/02/2015 fix - Fixed issue with infinite loop.
Download this release
Release Info
Developer | paratheme |
Plugin | Woocommerce Products Slider |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.4
- readme.txt +7 -3
- themes/flat/index.php +16 -0
- themes/flat/style.css +2 -1
- themes/rossi/index.php +20 -0
- themes/rossi/style.css +2 -1
- woocommerce-products-slider.php +4 -4
readme.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Donate link: http://paratheme.com
|
4 |
Tags: carousel, product, slider, woocommerce, carousel slider, product slider, woocommerce slider, Woocommerce Product slider, featured product slider, sale product slider, best sale product slider, top product slider
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -18,7 +18,7 @@ A premium quality carousel slider to slide your woo-commerce product. easy to us
|
|
18 |
|
19 |
### Woocommerce Products Slider by http://paratheme.com
|
20 |
|
21 |
-
* [See the Live demo!»](http://
|
22 |
* [Watch Video Tutorial!»](https://www.youtube.com/watch?v=B0sOSp3h9fE)
|
23 |
* [Upgrade to Premium!»](http://paratheme.com/items/woocommerce-product-slider-for-wordpress/)
|
24 |
|
@@ -92,6 +92,10 @@ then paste this shortcode anywhere in your page to display slider<br />
|
|
92 |
|
93 |
== Changelog ==
|
94 |
|
|
|
|
|
|
|
|
|
95 |
= 1.3 =
|
96 |
* 31/01/2015 add - default empty thubnail.
|
97 |
* 31/01/2015 fix - slider comlumn number fix for desktop.
|
3 |
Donate link: http://paratheme.com
|
4 |
Tags: carousel, product, slider, woocommerce, carousel slider, product slider, woocommerce slider, Woocommerce Product slider, featured product slider, sale product slider, best sale product slider, top product slider
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.2
|
7 |
+
Stable tag: 1.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
18 |
|
19 |
### Woocommerce Products Slider by http://paratheme.com
|
20 |
|
21 |
+
* [See the Live demo!»](http://paratheme.com/demo/woocommerce-products-slider/)
|
22 |
* [Watch Video Tutorial!»](https://www.youtube.com/watch?v=B0sOSp3h9fE)
|
23 |
* [Upgrade to Premium!»](http://paratheme.com/items/woocommerce-product-slider-for-wordpress/)
|
24 |
|
92 |
|
93 |
== Changelog ==
|
94 |
|
95 |
+
|
96 |
+
= 1.4 =
|
97 |
+
* 23/02/2015 fix - Fixed issue with infinite loop.
|
98 |
+
|
99 |
= 1.3 =
|
100 |
* 31/01/2015 add - default empty thubnail.
|
101 |
* 31/01/2015 fix - slider comlumn number fix for desktop.
|
themes/flat/index.php
CHANGED
@@ -221,6 +221,22 @@ function wcps_body_flat($post_id)
|
|
221 |
|
222 |
|
223 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
|
225 |
|
226 |
|
221 |
|
222 |
|
223 |
}
|
224 |
+
|
225 |
+
else
|
226 |
+
{
|
227 |
+
|
228 |
+
$wp_query = new WP_Query(
|
229 |
+
array (
|
230 |
+
'post_type' => 'product',
|
231 |
+
'post_status' => 'publish',
|
232 |
+
'posts_per_page' => $wcps_total_items,
|
233 |
+
|
234 |
+
|
235 |
+
) );
|
236 |
+
|
237 |
+
|
238 |
+
}
|
239 |
+
|
240 |
|
241 |
|
242 |
|
themes/flat/style.css
CHANGED
@@ -81,7 +81,8 @@
|
|
81 |
|
82 |
.wcps-container .wcps-flat div.wcps-items div.wcps-items-cart .amount,
|
83 |
.wcps-container .wcps-flat div.wcps-items div.wcps-items-cart del,
|
84 |
-
.wcps-container .wcps-flat div.wcps-items div.wcps-items-cart ins
|
|
|
85 |
display:none; }
|
86 |
|
87 |
|
81 |
|
82 |
.wcps-container .wcps-flat div.wcps-items div.wcps-items-cart .amount,
|
83 |
.wcps-container .wcps-flat div.wcps-items div.wcps-items-cart del,
|
84 |
+
.wcps-container .wcps-flat div.wcps-items div.wcps-items-cart ins,
|
85 |
+
.wcps-container .wcps-flat div.wcps-items div.wcps-items-cart .woocommerce-price-suffix{
|
86 |
display:none; }
|
87 |
|
88 |
|
themes/rossi/index.php
CHANGED
@@ -220,6 +220,26 @@ function wcps_body_rossi($post_id)
|
|
220 |
|
221 |
}
|
222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
|
224 |
|
225 |
if ( $wp_query->have_posts() ) :
|
220 |
|
221 |
}
|
222 |
|
223 |
+
|
224 |
+
else
|
225 |
+
{
|
226 |
+
|
227 |
+
$wp_query = new WP_Query(
|
228 |
+
array (
|
229 |
+
'post_type' => 'product',
|
230 |
+
'post_status' => 'publish',
|
231 |
+
'posts_per_page' => $wcps_total_items,
|
232 |
+
|
233 |
+
|
234 |
+
) );
|
235 |
+
|
236 |
+
|
237 |
+
}
|
238 |
+
|
239 |
+
|
240 |
+
|
241 |
+
|
242 |
+
|
243 |
|
244 |
|
245 |
if ( $wp_query->have_posts() ) :
|
themes/rossi/style.css
CHANGED
@@ -80,7 +80,8 @@
|
|
80 |
|
81 |
.wcps-container .wcps-rossi div.wcps-items div.wcps-items-cart .amount,
|
82 |
.wcps-container .wcps-rossi div.wcps-items div.wcps-items-cart del,
|
83 |
-
.wcps-container .wcps-rossi div.wcps-items div.wcps-items-cart ins
|
|
|
84 |
display:none; }
|
85 |
|
86 |
|
80 |
|
81 |
.wcps-container .wcps-rossi div.wcps-items div.wcps-items-cart .amount,
|
82 |
.wcps-container .wcps-rossi div.wcps-items div.wcps-items-cart del,
|
83 |
+
.wcps-container .wcps-rossi div.wcps-items div.wcps-items-cart ins,
|
84 |
+
.wcps-container .wcps-rossi div.wcps-items div.wcps-items-cart .woocommerce-price-suffix{
|
85 |
display:none; }
|
86 |
|
87 |
|
woocommerce-products-slider.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Woocommerce Products Slider
|
4 |
Plugin URI: http://paratheme.com/items/woocommerce-product-slider-for-wordpress/
|
5 |
Description: Fully responsive and mobile ready Carousel Slider for your woo-commerce product. unlimited slider anywhere via short-codes and easy admin setting.
|
6 |
-
Version: 1.
|
7 |
Author: paratheme
|
8 |
Author URI: http://paratheme.com
|
9 |
License: GPLv2 or later
|
@@ -62,9 +62,9 @@ function wcps_init_scripts()
|
|
62 |
add_action("init","wcps_init_scripts");
|
63 |
|
64 |
|
65 |
-
// to work upload button on user profile
|
66 |
-
add_action( 'admin_enqueue_scripts', 'wp_enqueue_media' );
|
67 |
|
|
|
|
|
68 |
|
69 |
|
70 |
register_activation_hook(__FILE__, 'wcps_activation');
|
@@ -72,7 +72,7 @@ register_activation_hook(__FILE__, 'wcps_activation');
|
|
72 |
|
73 |
function wcps_activation()
|
74 |
{
|
75 |
-
$wcps_version= "1.
|
76 |
update_option('wcps_version', $wcps_version); //update plugin version.
|
77 |
|
78 |
$wcps_customer_type= "free"; //customer_type "free"
|
3 |
Plugin Name: Woocommerce Products Slider
|
4 |
Plugin URI: http://paratheme.com/items/woocommerce-product-slider-for-wordpress/
|
5 |
Description: Fully responsive and mobile ready Carousel Slider for your woo-commerce product. unlimited slider anywhere via short-codes and easy admin setting.
|
6 |
+
Version: 1.4
|
7 |
Author: paratheme
|
8 |
Author URI: http://paratheme.com
|
9 |
License: GPLv2 or later
|
62 |
add_action("init","wcps_init_scripts");
|
63 |
|
64 |
|
|
|
|
|
65 |
|
66 |
+
add_action( 'admin_enqueue_scripts', 'wp_enqueue_media' ); // to work upload button
|
67 |
+
add_filter('widget_text', 'do_shortcode'); //shoer-code support into sidebar.
|
68 |
|
69 |
|
70 |
register_activation_hook(__FILE__, 'wcps_activation');
|
72 |
|
73 |
function wcps_activation()
|
74 |
{
|
75 |
+
$wcps_version= "1.4";
|
76 |
update_option('wcps_version', $wcps_version); //update plugin version.
|
77 |
|
78 |
$wcps_customer_type= "free"; //customer_type "free"
|