Version Description
- 04/02/2013 =
- WooCommerce 2.1 compatibility.
Download this release
Release Info
Developer | jameskoster |
Plugin | WooCommerce Grid / List toggle |
Version | 0.4.0 |
Comparing to | |
See all releases |
Code changes from version 0.3.4 to 0.4.0
- grid-list-toggle.php +3 -3
- readme.txt +5 -2
grid-list-toggle.php
CHANGED
@@ -3,11 +3,10 @@
|
|
3 |
Plugin Name: WooCommerce Grid / List toggle
|
4 |
Plugin URI: http://jameskoster.co.uk/tag/grid-list-toggle/
|
5 |
Description: Adds a grid/list view toggle to product archives
|
6 |
-
Version: 0.
|
7 |
Author: jameskoster
|
8 |
Author URI: http://jameskoster.co.uk
|
9 |
Requires at least: 3.3
|
10 |
-
Tested up to: 3.8
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
Text Domain: wc_list_grid_toggle
|
@@ -59,8 +58,9 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
|
|
59 |
add_option( 'wc_glt_default', 'grid' );
|
60 |
|
61 |
// Admin
|
62 |
-
add_action( 'woocommerce_settings_image_options_after', array( $this, 'admin_settings' ), 20);
|
63 |
add_action( 'woocommerce_update_options_catalog', array( $this, 'save_admin_settings' ) );
|
|
|
64 |
}
|
65 |
|
66 |
/*-----------------------------------------------------------------------------------*/
|
3 |
Plugin Name: WooCommerce Grid / List toggle
|
4 |
Plugin URI: http://jameskoster.co.uk/tag/grid-list-toggle/
|
5 |
Description: Adds a grid/list view toggle to product archives
|
6 |
+
Version: 0.4.0
|
7 |
Author: jameskoster
|
8 |
Author URI: http://jameskoster.co.uk
|
9 |
Requires at least: 3.3
|
|
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Text Domain: wc_list_grid_toggle
|
58 |
add_option( 'wc_glt_default', 'grid' );
|
59 |
|
60 |
// Admin
|
61 |
+
add_action( 'woocommerce_settings_image_options_after', array( $this, 'admin_settings' ), 20 );
|
62 |
add_action( 'woocommerce_update_options_catalog', array( $this, 'save_admin_settings' ) );
|
63 |
+
add_action( 'woocommerce_update_options_products', array( $this, 'save_admin_settings' ) );
|
64 |
}
|
65 |
|
66 |
/*-----------------------------------------------------------------------------------*/
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: jameskoster
|
3 |
Tags: woocommerce, grid, list, products, ecommerce
|
4 |
Requires at least: 3.3
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -65,6 +65,9 @@ function remove_gridlist_styles() {
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
|
|
|
|
|
|
68 |
= 0.3.4 - 10/12/2013 =
|
69 |
* Grid list toggle now appears on custom product taxonomies. Kudos dariodev.
|
70 |
|
2 |
Contributors: jameskoster
|
3 |
Tags: woocommerce, grid, list, products, ecommerce
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 4.0
|
6 |
+
Stable tag: 0.4.0
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
+
= 0.4.0 - 04/02/2013 =
|
69 |
+
* WooCommerce 2.1 compatibility.
|
70 |
+
|
71 |
= 0.3.4 - 10/12/2013 =
|
72 |
* Grid list toggle now appears on custom product taxonomies. Kudos dariodev.
|
73 |
|