Version Description
2015/02/12 =
Added descriptions in the customizer options (see the screenshot).
Download this release
Release Info
Developer | claudiosanches |
Plugin | WooCommerce Colors |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- includes/class-wc-colors-customizer.php +5 -5
- languages/woocommerce-colors.pot +29 -9
- readme.txt +15 -5
- woocommerce-colors.php +2 -2
includes/class-wc-colors-customizer.php
CHANGED
@@ -51,7 +51,7 @@ class WC_Colors_Customizer {
|
|
51 |
) );
|
52 |
|
53 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_primary', array(
|
54 |
-
'label' => __( 'Primary Color', 'woocommerce-colors' ),
|
55 |
'section' => $this->section_slug,
|
56 |
'settings' => $this->section_slug . '[primary]',
|
57 |
'priority' => 1
|
@@ -66,7 +66,7 @@ class WC_Colors_Customizer {
|
|
66 |
) );
|
67 |
|
68 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_secondary', array(
|
69 |
-
'label' => __( 'Secondary Color', 'woocommerce-colors' ),
|
70 |
'section' => $this->section_slug,
|
71 |
'settings' => $this->section_slug . '[secondary]',
|
72 |
'priority' => 1
|
@@ -81,7 +81,7 @@ class WC_Colors_Customizer {
|
|
81 |
) );
|
82 |
|
83 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_highlight', array(
|
84 |
-
'label' => __( 'Highlight Color', 'woocommerce-colors' ),
|
85 |
'section' => $this->section_slug,
|
86 |
'settings' => $this->section_slug . '[highlight]',
|
87 |
'priority' => 1
|
@@ -96,7 +96,7 @@ class WC_Colors_Customizer {
|
|
96 |
) );
|
97 |
|
98 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_contentbg', array(
|
99 |
-
'label' => __( 'Content Background Color', 'woocommerce-colors' ),
|
100 |
'section' => $this->section_slug,
|
101 |
'settings' => $this->section_slug . '[contentbg]',
|
102 |
'priority' => 1
|
@@ -111,7 +111,7 @@ class WC_Colors_Customizer {
|
|
111 |
) );
|
112 |
|
113 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_subtext', array(
|
114 |
-
'label' => __( 'Subtext Color', 'woocommerce-colors' ),
|
115 |
'section' => $this->section_slug,
|
116 |
'settings' => $this->section_slug . '[subtext]',
|
117 |
'priority' => 1
|
51 |
) );
|
52 |
|
53 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_primary', array(
|
54 |
+
'label' => sprintf( __( 'Primary Color %s', 'woocommerce-colors' ), '<small>(' . __( 'action buttons/price slider/layered nav UI', 'woocommerce-colors' ) . ')</small>' ),
|
55 |
'section' => $this->section_slug,
|
56 |
'settings' => $this->section_slug . '[primary]',
|
57 |
'priority' => 1
|
66 |
) );
|
67 |
|
68 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_secondary', array(
|
69 |
+
'label' => sprintf( __( 'Secondary Color %s', 'woocommerce-colors' ), '<small>(' . __( 'buttons and tabs', 'woocommerce-colors' ) . ')</small>' ),
|
70 |
'section' => $this->section_slug,
|
71 |
'settings' => $this->section_slug . '[secondary]',
|
72 |
'priority' => 1
|
81 |
) );
|
82 |
|
83 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_highlight', array(
|
84 |
+
'label' => sprintf( __( 'Highlight Color %s', 'woocommerce-colors' ), '<small>(' . __( 'price labels and sale flashes', 'woocommerce-colors' ) . ')</small>' ),
|
85 |
'section' => $this->section_slug,
|
86 |
'settings' => $this->section_slug . '[highlight]',
|
87 |
'priority' => 1
|
96 |
) );
|
97 |
|
98 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_contentbg', array(
|
99 |
+
'label' => sprintf( __( 'Content Background Color %s', 'woocommerce-colors' ), '<small>(' . __( 'your themes page background - used for tab active states', 'woocommerce-colors' ) . ')</small>' ),
|
100 |
'section' => $this->section_slug,
|
101 |
'settings' => $this->section_slug . '[contentbg]',
|
102 |
'priority' => 1
|
111 |
) );
|
112 |
|
113 |
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'woocommerce_subtext', array(
|
114 |
+
'label' => sprintf( __( 'Subtext Color %s', 'woocommerce-colors' ), '<small>(' . __( 'used for certain text and asides - breadcrumbs, small text etc', 'woocommerce-colors' ) . ')</small>' ),
|
115 |
'section' => $this->section_slug,
|
116 |
'settings' => $this->section_slug . '[subtext]',
|
117 |
'priority' => 1
|
languages/woocommerce-colors.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the GPLv2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce Colors 1.0.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"http://wordpress.org/support/plugin/woocommerce-frontend-styles/\n"
|
8 |
-
"POT-Creation-Date:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"PO-Revision-Date:
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
15 |
"X-Generator: grunt-wp-i18n 0.4.9\n"
|
@@ -23,23 +23,43 @@ msgid "WooCommerce Colors."
|
|
23 |
msgstr ""
|
24 |
|
25 |
#: includes/class-wc-colors-customizer.php:54
|
26 |
-
msgid "Primary Color"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
msgstr ""
|
28 |
|
29 |
#: includes/class-wc-colors-customizer.php:69
|
30 |
-
msgid "
|
31 |
msgstr ""
|
32 |
|
33 |
#: includes/class-wc-colors-customizer.php:84
|
34 |
-
msgid "Highlight Color"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgstr ""
|
36 |
|
37 |
#: includes/class-wc-colors-customizer.php:99
|
38 |
-
msgid "
|
|
|
|
|
|
|
|
|
39 |
msgstr ""
|
40 |
|
41 |
#: includes/class-wc-colors-customizer.php:114
|
42 |
-
msgid "
|
43 |
msgstr ""
|
44 |
|
45 |
#: woocommerce-colors.php:160
|
1 |
+
# Copyright (C) 2015 WooThemes
|
2 |
# This file is distributed under the GPLv2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce Colors 1.0.2\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"http://wordpress.org/support/plugin/woocommerce-frontend-styles/\n"
|
8 |
+
"POT-Creation-Date: 2015-02-12 16:57:03+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
15 |
"X-Generator: grunt-wp-i18n 0.4.9\n"
|
23 |
msgstr ""
|
24 |
|
25 |
#: includes/class-wc-colors-customizer.php:54
|
26 |
+
msgid "Primary Color %s"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: includes/class-wc-colors-customizer.php:54
|
30 |
+
msgid "action buttons/price slider/layered nav UI"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: includes/class-wc-colors-customizer.php:69
|
34 |
+
msgid "Secondary Color %s"
|
35 |
msgstr ""
|
36 |
|
37 |
#: includes/class-wc-colors-customizer.php:69
|
38 |
+
msgid "buttons and tabs"
|
39 |
msgstr ""
|
40 |
|
41 |
#: includes/class-wc-colors-customizer.php:84
|
42 |
+
msgid "Highlight Color %s"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: includes/class-wc-colors-customizer.php:84
|
46 |
+
msgid "price labels and sale flashes"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: includes/class-wc-colors-customizer.php:99
|
50 |
+
msgid "Content Background Color %s"
|
51 |
msgstr ""
|
52 |
|
53 |
#: includes/class-wc-colors-customizer.php:99
|
54 |
+
msgid "your themes page background - used for tab active states"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: includes/class-wc-colors-customizer.php:114
|
58 |
+
msgid "Subtext Color %s"
|
59 |
msgstr ""
|
60 |
|
61 |
#: includes/class-wc-colors-customizer.php:114
|
62 |
+
msgid "used for certain text and asides - breadcrumbs, small text etc"
|
63 |
msgstr ""
|
64 |
|
65 |
#: woocommerce-colors.php:160
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== WooCommerce Colors ===
|
2 |
Contributors: woothemes, claudiosanches
|
3 |
Tags: woocommerce, shortcodes
|
4 |
-
Requires at least:
|
5 |
Tested up to: 4.1
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -17,7 +17,7 @@ Starting WooCommerce 2.3 the Frontend styles options will no longer be part of W
|
|
17 |
|
18 |
= Requeriments =
|
19 |
|
20 |
-
* WordPress
|
21 |
* WooCommerce 2.3 or later.
|
22 |
|
23 |
= Contribute =
|
@@ -45,12 +45,22 @@ You can contribute to the source code in our [GitHub](https://github.com/woothem
|
|
45 |
|
46 |
* Works just adding new colors options on the Customize menu.
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
== Screenshots ==
|
49 |
|
50 |
1. WooCommerce Colors on Customizer menu.
|
51 |
|
52 |
== Changelog ==
|
53 |
|
|
|
|
|
|
|
|
|
54 |
= 1.0.1 - 2015/01/14 =
|
55 |
|
56 |
* Fixed the styles for tabs and checkout buddle.
|
@@ -61,6 +71,6 @@ You can contribute to the source code in our [GitHub](https://github.com/woothem
|
|
61 |
|
62 |
== Upgrade Notice ==
|
63 |
|
64 |
-
= 1.0.
|
65 |
|
66 |
-
*
|
1 |
=== WooCommerce Colors ===
|
2 |
Contributors: woothemes, claudiosanches
|
3 |
Tags: woocommerce, shortcodes
|
4 |
+
Requires at least: 4.0
|
5 |
Tested up to: 4.1
|
6 |
+
Stable tag: 1.0.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
17 |
|
18 |
= Requeriments =
|
19 |
|
20 |
+
* WordPress 4.0 or later.
|
21 |
* WooCommerce 2.3 or later.
|
22 |
|
23 |
= Contribute =
|
45 |
|
46 |
* Works just adding new colors options on the Customize menu.
|
47 |
|
48 |
+
= Where is the Cutomize menu? =
|
49 |
+
|
50 |
+
You can find the customizer menu within your WordPress admin in Appearance session.
|
51 |
+
|
52 |
+
We recommend you use WordPress 4.0 or 4.1 for this plugin work properly.
|
53 |
+
|
54 |
== Screenshots ==
|
55 |
|
56 |
1. WooCommerce Colors on Customizer menu.
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 1.0.2 - 2015/02/12 =
|
61 |
+
|
62 |
+
* Added descriptions in the customizer options (see the screenshot).
|
63 |
+
|
64 |
= 1.0.1 - 2015/01/14 =
|
65 |
|
66 |
* Fixed the styles for tabs and checkout buddle.
|
71 |
|
72 |
== Upgrade Notice ==
|
73 |
|
74 |
+
= 1.0.2 =
|
75 |
|
76 |
+
* Added descriptions in the customizer options (see the screenshot).
|
woocommerce-colors.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: WooCommerce Colors.
|
6 |
* Author: WooThemes
|
7 |
* Author URI: http://woothemes.com
|
8 |
-
* Version: 1.0.
|
9 |
* License: GPLv2 or later
|
10 |
* Text Domain: woocommerce-colors
|
11 |
* Domain Path: languages/
|
@@ -27,7 +27,7 @@ class WC_Colors {
|
|
27 |
*
|
28 |
* @var string
|
29 |
*/
|
30 |
-
const VERSION = '1.0.
|
31 |
|
32 |
/**
|
33 |
* Instance of this class.
|
5 |
* Description: WooCommerce Colors.
|
6 |
* Author: WooThemes
|
7 |
* Author URI: http://woothemes.com
|
8 |
+
* Version: 1.0.2
|
9 |
* License: GPLv2 or later
|
10 |
* Text Domain: woocommerce-colors
|
11 |
* Domain Path: languages/
|
27 |
*
|
28 |
* @var string
|
29 |
*/
|
30 |
+
const VERSION = '1.0.2';
|
31 |
|
32 |
/**
|
33 |
* Instance of this class.
|