Version Description
- 20/02/2018 fix - PHP error issue fixed.
Download this release
Release Info
Developer | pickplugins |
Plugin | Woocommerce Products Slider |
Version | 1.12.20 |
Comparing to | |
See all releases |
Code changes from version 1.12.19 to 1.12.20
- includes/functions.php +0 -70
- readme.txt +4 -1
- woocommerce-products-slider.php +2 -2
includes/functions.php
CHANGED
@@ -7,76 +7,6 @@
|
|
7 |
|
8 |
if ( ! defined('ABSPATH')) exit; // if direct access
|
9 |
|
10 |
-
/*
|
11 |
-
|
12 |
-
function wcps_grid_items($grid_items){
|
13 |
-
|
14 |
-
$grid_items_extra = array(
|
15 |
-
'thumb1'=>'Thumbnail 1',
|
16 |
-
'title1'=>'Title 1',
|
17 |
-
);
|
18 |
-
|
19 |
-
$grid_items = array_merge($grid_items,$grid_items_extra);
|
20 |
-
|
21 |
-
return $grid_items;
|
22 |
-
}
|
23 |
-
|
24 |
-
add_filter('wcps_grid_items', 'wcps_grid_items');
|
25 |
-
|
26 |
-
*/
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
add_action( 'template_redirect', 'wcps_track_product_view', 20 );
|
32 |
-
|
33 |
-
|
34 |
-
function wcps_track_product_view() {
|
35 |
-
|
36 |
-
$wcps_track_product_view = get_option( 'wcps_track_product_view' );
|
37 |
-
|
38 |
-
if($wcps_track_product_view=='yes'){
|
39 |
-
global $post;
|
40 |
-
|
41 |
-
if ( empty( $_COOKIE['woocommerce_recently_viewed'] ) )
|
42 |
-
$viewed_products = array();
|
43 |
-
else
|
44 |
-
$viewed_products = (array) explode( '|', $_COOKIE['woocommerce_recently_viewed'] );
|
45 |
-
|
46 |
-
if ( ! in_array( $post->ID, $viewed_products ) ) {
|
47 |
-
$viewed_products[] = $post->ID;
|
48 |
-
}
|
49 |
-
|
50 |
-
if ( sizeof( $viewed_products ) > 15 ) {
|
51 |
-
array_shift( $viewed_products );
|
52 |
-
}
|
53 |
-
|
54 |
-
// Store for session only
|
55 |
-
wc_setcookie( 'woocommerce_recently_viewed', implode( '|', $viewed_products ) );
|
56 |
-
}
|
57 |
-
|
58 |
-
|
59 |
-
}
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
|
81 |
|
82 |
function wcps_add_shortcode_column( $columns ) {
|
7 |
|
8 |
if ( ! defined('ABSPATH')) exit; // if direct access
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
|
12 |
function wcps_add_shortcode_column( $columns ) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Tags: carousel, product, slider, woocommerce, carousel slider, product slider, woocommerce slider, Woocommerce Product slider
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.12.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -94,6 +94,9 @@ then paste this shortcode anywhere in your page to display slider<br />
|
|
94 |
|
95 |
|
96 |
|
|
|
|
|
|
|
97 |
= 1.12.19 =
|
98 |
* 12/01/2017 add - WooCommerce 3.0+ compatibility.
|
99 |
* 12/01/2017 update - Ribbon option update.
|
4 |
Tags: carousel, product, slider, woocommerce, carousel slider, product slider, woocommerce slider, Woocommerce Product slider
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.12.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
94 |
|
95 |
|
96 |
|
97 |
+
= 1.12.20 =
|
98 |
+
* 20/02/2018 fix - PHP error issue fixed.
|
99 |
+
|
100 |
= 1.12.19 =
|
101 |
* 12/01/2017 add - WooCommerce 3.0+ compatibility.
|
102 |
* 12/01/2017 update - Ribbon option update.
|
woocommerce-products-slider.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Woocommerce Products Slider
|
4 |
Plugin URI: http://pickplugins.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.12.
|
7 |
Author: pickplugins
|
8 |
Author URI: http://pickplugins.com
|
9 |
Text Domain: woocommerce-products-slider
|
@@ -29,7 +29,7 @@ class WoocommerceProductsSlider{
|
|
29 |
define('wcps_conatct_url', 'http://pickplugins.com/contact/' );
|
30 |
define('wcps_qa_url', 'https://www.pickplugins.com/support/' );
|
31 |
define('wcps_plugin_name', 'Woocommerce Products Slider' );
|
32 |
-
define('wcps_plugin_version', '1.12.
|
33 |
define('wcps_customer_type', 'free' ); // pro & free
|
34 |
define('wcps_share_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
|
35 |
define('wcps_tutorial_video_url', '' );
|
3 |
Plugin Name: Woocommerce Products Slider
|
4 |
Plugin URI: http://pickplugins.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.12.20
|
7 |
Author: pickplugins
|
8 |
Author URI: http://pickplugins.com
|
9 |
Text Domain: woocommerce-products-slider
|
29 |
define('wcps_conatct_url', 'http://pickplugins.com/contact/' );
|
30 |
define('wcps_qa_url', 'https://www.pickplugins.com/support/' );
|
31 |
define('wcps_plugin_name', 'Woocommerce Products Slider' );
|
32 |
+
define('wcps_plugin_version', '1.12.20');
|
33 |
define('wcps_customer_type', 'free' ); // pro & free
|
34 |
define('wcps_share_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
|
35 |
define('wcps_tutorial_video_url', '' );
|