Version Description
- Improved the predictability and resilience of the Style Manager controls.
Download this release
Release Info
Developer | pixelgrade |
Plugin | Customify – A Theme Customizer Booster |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
- customify.php +2 -2
- includes/class-customify-style-manager.php +1 -1
- includes/lib/class-customify-array.php +5 -2
- js/customizer/color-palettes.js +18 -8
- readme.txt +319 -316
customify.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Customify
|
4 |
* Plugin URI: https://wordpress.org/plugins/customify/
|
5 |
* Description: A Theme Customizer Booster to easily and consistently customize Fonts, Colors, and other options for your site.
|
6 |
-
* Version: 2.5.
|
7 |
* Author: Pixelgrade
|
8 |
* Author URI: https://pixelgrade.com
|
9 |
* Author Email: contact@pixelgrade.com
|
@@ -32,7 +32,7 @@ require_once 'includes/extras.php';
|
|
32 |
function PixCustomifyPlugin() {
|
33 |
require_once plugin_dir_path( __FILE__ ) . 'includes/class-pixcustomify.php';
|
34 |
|
35 |
-
return PixCustomifyPlugin::instance( __FILE__, '2.5.
|
36 |
}
|
37 |
|
38 |
// Now get the party started
|
3 |
* Plugin Name: Customify
|
4 |
* Plugin URI: https://wordpress.org/plugins/customify/
|
5 |
* Description: A Theme Customizer Booster to easily and consistently customize Fonts, Colors, and other options for your site.
|
6 |
+
* Version: 2.5.2
|
7 |
* Author: Pixelgrade
|
8 |
* Author URI: https://pixelgrade.com
|
9 |
* Author Email: contact@pixelgrade.com
|
32 |
function PixCustomifyPlugin() {
|
33 |
require_once plugin_dir_path( __FILE__ ) . 'includes/class-pixcustomify.php';
|
34 |
|
35 |
+
return PixCustomifyPlugin::instance( __FILE__, '2.5.2' );
|
36 |
}
|
37 |
|
38 |
// Now get the party started
|
includes/class-customify-style-manager.php
CHANGED
@@ -536,7 +536,7 @@ if ( ! class_exists( 'Customify_Style_Manager' ) ) {
|
|
536 |
);
|
537 |
foreach ( $options_to_remove as $option_key ) {
|
538 |
if ( isset( $color_palettes_options[ $option_key ] ) ) {
|
539 |
-
|
540 |
}
|
541 |
}
|
542 |
|
536 |
);
|
537 |
foreach ( $options_to_remove as $option_key ) {
|
538 |
if ( isset( $color_palettes_options[ $option_key ] ) ) {
|
539 |
+
$color_palettes_options[ $option_key ]['type'] = 'hidden_control';
|
540 |
}
|
541 |
}
|
542 |
|
includes/lib/class-customify-array.php
CHANGED
@@ -283,11 +283,14 @@ if ( ! class_exists( 'Customify_Array' ) ) {
|
|
283 |
$append = array( $append );
|
284 |
}
|
285 |
foreach ( $append as $key => $value ) {
|
286 |
-
if ( ! array_key_exists( $key, $base )
|
287 |
$base[ $key ] = $append[ $key ];
|
288 |
continue;
|
289 |
}
|
290 |
-
if ( is_array( $value )
|
|
|
|
|
|
|
291 |
$base[ $key ] = self::array_merge_recursive_distinct( $base[ $key ], $append[ $key ] );
|
292 |
} else if ( is_numeric( $key ) ) {
|
293 |
if ( ! in_array( $value, $base ) ) {
|
283 |
$append = array( $append );
|
284 |
}
|
285 |
foreach ( $append as $key => $value ) {
|
286 |
+
if ( ! array_key_exists( $key, $base ) && ! is_numeric( $key ) ) {
|
287 |
$base[ $key ] = $append[ $key ];
|
288 |
continue;
|
289 |
}
|
290 |
+
if ( is_array( $value ) || ( array_key_exists( $key, $base ) && is_array( $base[ $key ] ) ) ) {
|
291 |
+
if ( ! isset( $base[ $key ] ) ) {
|
292 |
+
$base[ $key ] = array();
|
293 |
+
}
|
294 |
$base[ $key ] = self::array_merge_recursive_distinct( $base[ $key ], $append[ $key ] );
|
295 |
} else if ( is_numeric( $key ) ) {
|
296 |
if ( ! in_array( $value, $base ) ) {
|
js/customizer/color-palettes.js
CHANGED
@@ -779,10 +779,21 @@ let ColorPalettes = (function ($, exports, wp) {
|
|
779 |
}
|
780 |
|
781 |
const reloadConnectedFields = () => {
|
782 |
-
|
|
|
|
|
783 |
|
784 |
-
|
785 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
786 |
const primaryRatio = $(primary_color_selector).val() / 100
|
787 |
const secondaryRatio = $(secondary_color_selector).val() / 100
|
788 |
const tertiaryRatio = $(tertiary_color_selector).val() / 100
|
@@ -791,15 +802,14 @@ let ColorPalettes = (function ($, exports, wp) {
|
|
791 |
tempSettings = moveConnectedFields(tempSettings, 'sm_dark_secondary', 'sm_color_secondary', secondaryRatio)
|
792 |
tempSettings = moveConnectedFields(tempSettings, 'sm_dark_tertiary', 'sm_color_tertiary', tertiaryRatio)
|
793 |
|
794 |
-
var
|
795 |
-
|
796 |
-
tempSettings = swapConnectedFields(tempSettings, diversity_variation)
|
797 |
|
798 |
-
if (
|
799 |
tempSettings = moveConnectedFields(tempSettings, 'sm_color_primary', 'sm_color_secondary', 0.5)
|
800 |
}
|
801 |
|
802 |
-
if (
|
803 |
tempSettings = moveConnectedFields(tempSettings, 'sm_color_primary', 'sm_color_secondary', 0.67)
|
804 |
tempSettings = moveConnectedFields(tempSettings, 'sm_color_secondary', 'sm_color_tertiary', 0.50)
|
805 |
}
|
779 |
}
|
780 |
|
781 |
const reloadConnectedFields = () => {
|
782 |
+
var tempSettings = JSON.parse(JSON.stringify(window.settingsClone));
|
783 |
+
var diversityOptions = $('[name*="sm_color_diversity"]');
|
784 |
+
var colorationOptions = $('[name*="sm_coloration_level"]');
|
785 |
|
786 |
+
var hasDiversityOption = !! diversityOptions.length;
|
787 |
+
var isDefaultDiversitySelected = typeof diversityOptions.filter( 'checked' ).data( 'default' ) !== 'undefined';
|
788 |
+
var isDefaultDiversity = hasDiversityOption ? isDefaultDiversitySelected : true;
|
789 |
+
|
790 |
+
var hasColorationOptions = !! colorationOptions.length;
|
791 |
+
var isDefaultColorationSelected = typeof $('[name*="sm_coloration_level"]:checked').data('default') !== 'undefined';
|
792 |
+
var isDefaultColoration = hasColorationOptions ? isDefaultColorationSelected : true;
|
793 |
+
|
794 |
+
var selectedDiversity = hasDiversityOption ? $('[name*="sm_color_diversity"]:checked').val() : wp.customize( 'sm_color_diversity' )();
|
795 |
+
|
796 |
+
if ( ! isDefaultDiversity || ! isDefaultColoration ) {
|
797 |
const primaryRatio = $(primary_color_selector).val() / 100
|
798 |
const secondaryRatio = $(secondary_color_selector).val() / 100
|
799 |
const tertiaryRatio = $(tertiary_color_selector).val() / 100
|
802 |
tempSettings = moveConnectedFields(tempSettings, 'sm_dark_secondary', 'sm_color_secondary', secondaryRatio)
|
803 |
tempSettings = moveConnectedFields(tempSettings, 'sm_dark_tertiary', 'sm_color_tertiary', tertiaryRatio)
|
804 |
|
805 |
+
var diversity_variation = getSwapMap('color_diversity_low');
|
806 |
+
tempSettings = swapConnectedFields(tempSettings, diversity_variation);
|
|
|
807 |
|
808 |
+
if (selectedDiversity === 'medium') {
|
809 |
tempSettings = moveConnectedFields(tempSettings, 'sm_color_primary', 'sm_color_secondary', 0.5)
|
810 |
}
|
811 |
|
812 |
+
if (selectedDiversity === 'high') {
|
813 |
tempSettings = moveConnectedFields(tempSettings, 'sm_color_primary', 'sm_color_secondary', 0.67)
|
814 |
tempSettings = moveConnectedFields(tempSettings, 'sm_color_secondary', 'sm_color_tertiary', 0.50)
|
815 |
}
|
readme.txt
CHANGED
@@ -1,316 +1,319 @@
|
|
1 |
-
=== Customify - A Theme Customizer Booster ===
|
2 |
-
Contributors: pixelgrade, vlad.olaru, babbardel, razvanonofrei
|
3 |
-
Tags: customizer, css, editor, gutenberg, live, preview, customizer
|
4 |
-
Requires at least: 4.9.9
|
5 |
-
Tested up to: 5.2.2
|
6 |
-
Stable tag: 2.5.
|
7 |
-
License: GPLv2 or later
|
8 |
-
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
-
|
10 |
-
Customify is a Theme Customizer Booster to easily customize Fonts, Colors, and other options for your site.
|
11 |
-
|
12 |
-
== Description ==
|
13 |
-
|
14 |
-
With [Customify](https://github.com/pixelgrade/customify), developers can easily create **advanced theme-specific options** inside the WordPress Customizer. Using those options, a user can make presentational changes without having to know or edit the theme code.
|
15 |
-
|
16 |
-
**[Types of Fields](https://github.com/pixelgrade/customify#list_of_fields)**
|
17 |
-
|
18 |
-
* **Color.** A color picker used to control any text or background color of an element.
|
19 |
-
|
20 |
-
* **Font.** A real font selector which includes a flexible library of fonts(Fonto, google fonts or added via fliter) and allows you to customize, with live preview, properties like font-weight, size, letter spacing, text align, text decoration etc.
|
21 |
-
|
22 |
-
* **Typography.** (Deprecated) A series of typographic options that allow you to access the massive **Google Fonts library** and make them available inside your theme customizer.
|
23 |
-
|
24 |
-
* **CSS Editor.** A powerful **Live CSS Editor** directly into your customizer! Useful for better control over the appearance of your theme without the need to create a child theme or worry about theme updates overwriting your customizations.
|
25 |
-
|
26 |
-
* **Text Field.** A simple text field that allows you to customize elements like Site Title or Footer Credits.
|
27 |
-
|
28 |
-
* **Select Dropdown.** A drop-down menu selector to be used when you have to choose from multiple options.
|
29 |
-
|
30 |
-
* **Range.** The html5 range element can be used to select number values.
|
31 |
-
|
32 |
-
* **[Preset](https://github.com/pixelgrade/customify/blob/master/README.md#presets_title).** A field which allows you to change a group of Customify fields.
|
33 |
-
|
34 |
-
* **And more others [this is the full list](https://github.com/pixelgrade/customify#list_of_fields)
|
35 |
-
|
36 |
-
**Made with love by Pixelgrade**
|
37 |
-
|
38 |
-
== Credits ==
|
39 |
-
|
40 |
-
* [Select2](https://select2.github.io) JavaScript library - License: MIT
|
41 |
-
* [CSSOM.js](https://github.com/NV/CSSOM) JavaScript library - License: MIT
|
42 |
-
* [Ace Editor](https://ace.c9.io/) JavaScript editor - License: BSD
|
43 |
-
* [jQuery React](https://github.com/natedavisolds/jquery-react) JavaScript jQuery plugin - License: MIT
|
44 |
-
* Default [image](https://unsplash.com/photos/OgM4RKdr2kY) for Style Manager Color Palette control - License: (Unsplash)[https://unsplash.com/license]
|
45 |
-
|
46 |
-
== Changelog ==
|
47 |
-
|
48 |
-
= 2.5.
|
49 |
-
*
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
*
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
*
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
*
|
64 |
-
|
65 |
-
= 2.3.5 =
|
66 |
-
* Minor
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
* Fixed
|
71 |
-
|
72 |
-
= 2.3.
|
73 |
-
* Fixed
|
74 |
-
|
75 |
-
= 2.3.
|
76 |
-
* Fixed
|
77 |
-
|
78 |
-
= 2.3.
|
79 |
-
* Fixed
|
80 |
-
|
81 |
-
= 2.3.
|
82 |
-
*
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
*
|
88 |
-
|
89 |
-
= 2.
|
90 |
-
*
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
*
|
95 |
-
|
96 |
-
= 2.1.
|
97 |
-
*
|
98 |
-
|
99 |
-
= 2.1.
|
100 |
-
*
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
*
|
105 |
-
|
106 |
-
= 2.0.
|
107 |
-
*
|
108 |
-
|
109 |
-
= 2.0.
|
110 |
-
*
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
*
|
115 |
-
|
116 |
-
= 1.9.
|
117 |
-
*
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
*
|
123 |
-
|
124 |
-
|
125 |
-
*
|
126 |
-
|
127 |
-
|
128 |
-
*
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
*
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
*
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
* Fixed
|
141 |
-
|
142 |
-
= 1.7.
|
143 |
-
*
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
*
|
148 |
-
|
149 |
-
|
150 |
-
*
|
151 |
-
*
|
152 |
-
*
|
153 |
-
*
|
154 |
-
|
155 |
-
|
156 |
-
*
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
*
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
*
|
167 |
-
|
168 |
-
= 1.5.
|
169 |
-
*
|
170 |
-
|
171 |
-
= 1.5.
|
172 |
-
*
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
*
|
178 |
-
|
179 |
-
|
180 |
-
*
|
181 |
-
|
182 |
-
|
183 |
-
* Fixed
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
* Added
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
*
|
193 |
-
|
194 |
-
|
195 |
-
*
|
196 |
-
|
197 |
-
|
198 |
-
*
|
199 |
-
|
200 |
-
|
201 |
-
*
|
202 |
-
*
|
203 |
-
*
|
204 |
-
|
205 |
-
|
206 |
-
*
|
207 |
-
|
208 |
-
= 1.4.
|
209 |
-
*
|
210 |
-
|
211 |
-
|
212 |
-
*
|
213 |
-
*
|
214 |
-
*
|
215 |
-
*
|
216 |
-
|
217 |
-
|
218 |
-
* Fixed
|
219 |
-
|
220 |
-
= 1.3.
|
221 |
-
*
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
* Added
|
227 |
-
|
228 |
-
= 1.2.
|
229 |
-
* Added capability to
|
230 |
-
|
231 |
-
= 1.2.
|
232 |
-
*
|
233 |
-
|
234 |
-
= 1.2.
|
235 |
-
*
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
*
|
241 |
-
|
242 |
-
|
243 |
-
*
|
244 |
-
|
245 |
-
|
246 |
-
*
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
*
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
*
|
255 |
-
|
256 |
-
|
257 |
-
*
|
258 |
-
*
|
259 |
-
*
|
260 |
-
|
261 |
-
|
262 |
-
*
|
263 |
-
|
264 |
-
|
265 |
-
*
|
266 |
-
*
|
267 |
-
|
268 |
-
|
269 |
-
*
|
270 |
-
|
271 |
-
|
272 |
-
*
|
273 |
-
*
|
274 |
-
*
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
*
|
282 |
-
*
|
283 |
-
*
|
284 |
-
|
285 |
-
|
286 |
-
*
|
287 |
-
|
288 |
-
|
289 |
-
*
|
290 |
-
|
291 |
-
|
292 |
-
*
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
* Added:
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
*
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
|
|
|
|
|
1 |
+
=== Customify - A Theme Customizer Booster ===
|
2 |
+
Contributors: pixelgrade, vlad.olaru, babbardel, razvanonofrei
|
3 |
+
Tags: customizer, css, editor, gutenberg, live, preview, customizer
|
4 |
+
Requires at least: 4.9.9
|
5 |
+
Tested up to: 5.2.2
|
6 |
+
Stable tag: 2.5.1
|
7 |
+
License: GPLv2 or later
|
8 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
+
|
10 |
+
Customify is a Theme Customizer Booster to easily customize Fonts, Colors, and other options for your site.
|
11 |
+
|
12 |
+
== Description ==
|
13 |
+
|
14 |
+
With [Customify](https://github.com/pixelgrade/customify), developers can easily create **advanced theme-specific options** inside the WordPress Customizer. Using those options, a user can make presentational changes without having to know or edit the theme code.
|
15 |
+
|
16 |
+
**[Types of Fields](https://github.com/pixelgrade/customify#list_of_fields)**
|
17 |
+
|
18 |
+
* **Color.** A color picker used to control any text or background color of an element.
|
19 |
+
|
20 |
+
* **Font.** A real font selector which includes a flexible library of fonts(Fonto, google fonts or added via fliter) and allows you to customize, with live preview, properties like font-weight, size, letter spacing, text align, text decoration etc.
|
21 |
+
|
22 |
+
* **Typography.** (Deprecated) A series of typographic options that allow you to access the massive **Google Fonts library** and make them available inside your theme customizer.
|
23 |
+
|
24 |
+
* **CSS Editor.** A powerful **Live CSS Editor** directly into your customizer! Useful for better control over the appearance of your theme without the need to create a child theme or worry about theme updates overwriting your customizations.
|
25 |
+
|
26 |
+
* **Text Field.** A simple text field that allows you to customize elements like Site Title or Footer Credits.
|
27 |
+
|
28 |
+
* **Select Dropdown.** A drop-down menu selector to be used when you have to choose from multiple options.
|
29 |
+
|
30 |
+
* **Range.** The html5 range element can be used to select number values.
|
31 |
+
|
32 |
+
* **[Preset](https://github.com/pixelgrade/customify/blob/master/README.md#presets_title).** A field which allows you to change a group of Customify fields.
|
33 |
+
|
34 |
+
* **And more others [this is the full list](https://github.com/pixelgrade/customify#list_of_fields)
|
35 |
+
|
36 |
+
**Made with love by Pixelgrade**
|
37 |
+
|
38 |
+
== Credits ==
|
39 |
+
|
40 |
+
* [Select2](https://select2.github.io) JavaScript library - License: MIT
|
41 |
+
* [CSSOM.js](https://github.com/NV/CSSOM) JavaScript library - License: MIT
|
42 |
+
* [Ace Editor](https://ace.c9.io/) JavaScript editor - License: BSD
|
43 |
+
* [jQuery React](https://github.com/natedavisolds/jquery-react) JavaScript jQuery plugin - License: MIT
|
44 |
+
* Default [image](https://unsplash.com/photos/OgM4RKdr2kY) for Style Manager Color Palette control - License: (Unsplash)[https://unsplash.com/license]
|
45 |
+
|
46 |
+
== Changelog ==
|
47 |
+
|
48 |
+
= 2.5.2 =
|
49 |
+
* Improved the predictability and resilience of the Style Manager controls.
|
50 |
+
|
51 |
+
= 2.5.1 =
|
52 |
+
* Styling improvements to the Style Manager controls.
|
53 |
+
* Fixed a strange bug that would result in a fatal error upon activation.
|
54 |
+
|
55 |
+
= 2.5.0 =
|
56 |
+
* JavaScript cleanup and performance enhancements
|
57 |
+
* Fixed some bugs with the Style Manager.
|
58 |
+
* Fixed some rare bugs with the plugin config merge.
|
59 |
+
|
60 |
+
= 2.4.0 =
|
61 |
+
* Big performance enhancements related to how customization settings and configurations get loaded.
|
62 |
+
* Fixed a nasty regression that caused customization settings saved in a option to not be loaded, causing styles to be missing.
|
63 |
+
* Pretty important code refactoring and cleanup to make things more predictable and stable.
|
64 |
+
|
65 |
+
= 2.3.5.1 =
|
66 |
+
* Minor configuration fix.
|
67 |
+
|
68 |
+
= 2.3.5 =
|
69 |
+
* Minor refactoring.
|
70 |
+
* Fixed issues where customization values were not stored properly.
|
71 |
+
|
72 |
+
= 2.3.4 =
|
73 |
+
* Fixed warnings that were appearing when PHP has version 7.2.0+.
|
74 |
+
|
75 |
+
= 2.3.3 =
|
76 |
+
* Fixed Google Fonts not working in the new block editor (Gutenberg).
|
77 |
+
|
78 |
+
= 2.3.2 =
|
79 |
+
* Fixed the fact that Customizer style changes were not reflected in the live preview. A problem introduced in the previous update.
|
80 |
+
|
81 |
+
= 2.3.1 =
|
82 |
+
* Fixed some warnings that appeared in certain situations.
|
83 |
+
|
84 |
+
= 2.3.0 =
|
85 |
+
* Improved support for the new **Gutenberg block editor.** Compatible with the latest WordPress 5.0 beta version.
|
86 |
+
* Big **performance improvements** both in the frontend and also in the Customizer.
|
87 |
+
* Cleanup regarding old and deprecated features.
|
88 |
+
|
89 |
+
= 2.2.0 =
|
90 |
+
* Added support for the new **Gutenberg block editor.**
|
91 |
+
|
92 |
+
= 2.1.3 =
|
93 |
+
* Improve Customizer section grouping in the Theme Options Panel
|
94 |
+
* Fix Font Palettes giving huge sizes to font options set in ems
|
95 |
+
|
96 |
+
= 2.1.2 =
|
97 |
+
* Avoid short array syntax to ensure PHP 5.2 compatibility
|
98 |
+
|
99 |
+
= 2.1.1 =
|
100 |
+
* Hide the Fonts section for themes that do not declare support for Font Palettes
|
101 |
+
|
102 |
+
= 2.1.0 =
|
103 |
+
* This new version of Customify lets you conveniently change the design of your site with font palettes. Easy as pie.
|
104 |
+
* Added previews for color palette filters.
|
105 |
+
|
106 |
+
= 2.0.2 =
|
107 |
+
* Fixed bug where no CSS was output for some settings with default value.
|
108 |
+
|
109 |
+
= 2.0.1 =
|
110 |
+
* Minor fix for the color pickers.
|
111 |
+
|
112 |
+
= 2.0.0 =
|
113 |
+
* Added the much improved and overall awesome **Color Palettes v2.0 styling system** (all modesty aside).
|
114 |
+
* Minor improvements that are secondary to the one above. Enjoy.
|
115 |
+
|
116 |
+
= 1.9.1 =
|
117 |
+
* Fixed the Customizer JS crash due to wrong merge.
|
118 |
+
|
119 |
+
= 1.9.0 =
|
120 |
+
* Added ability to modify existing Customizer panels, sections, controls
|
121 |
+
* Added system for admin notifications
|
122 |
+
* Overall enhancements for more performance and stability
|
123 |
+
|
124 |
+
= 1.8.0 =
|
125 |
+
* Added altered state for colors in the current color palette when any of the controls connected to the color has been modified
|
126 |
+
* Added the colors from the current palette to all the color pickers in the Theme Options section
|
127 |
+
* Fixed bug where default values were being forced in Customizer Preview at first load
|
128 |
+
* Fixed bug preventing CSS output for color controls in the Style Manager section of the Customizer
|
129 |
+
|
130 |
+
= 1.7.4 =
|
131 |
+
* Reorganized Customizer custom sections and grouped them into Theme Options, thus making the Style Manager panel stand out.
|
132 |
+
* Refactored parts for more performance and clarity.
|
133 |
+
|
134 |
+
= 1.7.3 =
|
135 |
+
* Added HEX field for colors in the current Color Palette
|
136 |
+
* Updated Google Webfonts list
|
137 |
+
|
138 |
+
= 1.7.2 =
|
139 |
+
* Fixed issue with **Color Palettes** working only after choosing one variation
|
140 |
+
* Fixed bug preventing some options to live update the Customizer preview
|
141 |
+
|
142 |
+
= 1.7.1 =
|
143 |
+
* Fixed issue with **Color Palettes** overwriting custom colors in Live Preview
|
144 |
+
|
145 |
+
= 1.7.0 =
|
146 |
+
* Added **Dynamic Color Palettes** for a smoother experience
|
147 |
+
* Fixed issue with the Style Manager crashing the Customizer when not using a theme with support for it.
|
148 |
+
|
149 |
+
= 1.6.5 =
|
150 |
+
* Added **Color Palettes Variations** to the Style Manager Customizer section
|
151 |
+
* Improved Color Palettes logic to better handle differences between various color palettes
|
152 |
+
* Improved master color connected fields logic to allow for a smoother experience
|
153 |
+
* Updated Google Fonts list
|
154 |
+
* Fixed some issues with the connected fields logic
|
155 |
+
* Fixed some Customizer preview scaling issues
|
156 |
+
* Fixed a potential bug with the options' CSS config (multiple configs with the same property but with different selectors)
|
157 |
+
|
158 |
+
= 1.6.0 =
|
159 |
+
* Added **Style Manager** Customizer section with theme supports logic
|
160 |
+
* Added connected fields logic for easy chaining of Customizer controls
|
161 |
+
* Fixed a couple of styling inconsistencies regarding the Customizer
|
162 |
+
|
163 |
+
= 1.5.7 =
|
164 |
+
* Improved development logic for easier testing
|
165 |
+
* Improved and fixed reset settings buttons
|
166 |
+
* Fixed a couple of styling inconsistencies regarding the Customizer
|
167 |
+
|
168 |
+
= 1.5.6 =
|
169 |
+
* New Fields Styling Improvements
|
170 |
+
|
171 |
+
= 1.5.5 =
|
172 |
+
* Added Compatibility with WordPress 4.9
|
173 |
+
|
174 |
+
= 1.5.4 =
|
175 |
+
* Allow 0 values for fonts line-height and letter-spacing
|
176 |
+
* Improved the plugin loading process and the CSS inline output
|
177 |
+
* Fixed small style issues for the Customizer bar
|
178 |
+
|
179 |
+
= 1.5.3 =
|
180 |
+
* Update Style for WordPress 4.8
|
181 |
+
* Updated Google Fonts list
|
182 |
+
* Fixed the double output of the custom CSS
|
183 |
+
* Fixed Menu Add Button overlap
|
184 |
+
|
185 |
+
= 1.5.2 =
|
186 |
+
* Fixed Background field output
|
187 |
+
* Fixed Font's preview in wp-editor
|
188 |
+
* Added Reset Theme Mods tool
|
189 |
+
|
190 |
+
= 1.5.1 =
|
191 |
+
* Added support for `active_callback` argument for customizer controls
|
192 |
+
* Customizer assets refactor
|
193 |
+
|
194 |
+
= 1.5.0 =
|
195 |
+
* Plugin core refactored for a better performance
|
196 |
+
* Fixed Font Weight saving
|
197 |
+
* Fixed Font Subset saving
|
198 |
+
* Fix Select2 enqueue_script
|
199 |
+
|
200 |
+
= 1.4.2 =
|
201 |
+
* Improved Font style output in front-end. Now is just one style element with all the fonts inside.
|
202 |
+
* Improved Fonts panels, now only one can be opened to avoid confusion
|
203 |
+
* Fixed Presets with fonts
|
204 |
+
* Fixed Google Fonts with italic weights
|
205 |
+
* Fixed Range input field
|
206 |
+
* Small Fixes
|
207 |
+
|
208 |
+
= 1.4.1 =
|
209 |
+
* Fixed Multiple local fonts
|
210 |
+
|
211 |
+
= 1.4.0 =
|
212 |
+
* Make Customify compatible with the [4.7 customizer changes](https://make.wordpress.org/core/2016/10/12/customize-changesets-technical-design-decisions)
|
213 |
+
* Add `show_if` [config option](https://github.com/pixelgrade/customify#conditional-fields)
|
214 |
+
* Fix Conflict with Jetpack - Related posts
|
215 |
+
* Fix Javascript callbacks loss
|
216 |
+
* Switch de default storage from option to theme_mod
|
217 |
+
* Fixed Incorrect Color Panel Height
|
218 |
+
* Fixed Font field weight in customizer preview
|
219 |
+
|
220 |
+
= 1.3.1 =
|
221 |
+
* Fixed compatibility with PHP <= 5.3.x
|
222 |
+
|
223 |
+
= 1.3.0 =
|
224 |
+
* Added the new and awesome `font` selector
|
225 |
+
* The live CSS editor is now removed for 4.7, but don't worry, your style will be imported into the new [CSS Editor](https://make.wordpress.org/core/2016/11/26/extending-the-custom-css-editor/)
|
226 |
+
* Added compatibility with 4.7
|
227 |
+
|
228 |
+
= 1.2.7 =
|
229 |
+
* Added capability to control the Jetpack Sharing default options
|
230 |
+
|
231 |
+
= 1.2.6 =
|
232 |
+
* Added capability to define Jetpack default and hidden modules
|
233 |
+
|
234 |
+
= 1.2.5 =
|
235 |
+
* Fixed WordPress 4.7 incompatibilities
|
236 |
+
|
237 |
+
= 1.2.4 =
|
238 |
+
* Added: Support for Fonto plugin
|
239 |
+
* Improved the font selector
|
240 |
+
* Fixed presets on ssl
|
241 |
+
|
242 |
+
= 1.2.3 =
|
243 |
+
* Added: Support for conditional fields display
|
244 |
+
* Fixed weights for local fonts
|
245 |
+
* Fixed Ace editor warnings
|
246 |
+
* Fixed some rare PHP warnings
|
247 |
+
|
248 |
+
= 1.2.2 =
|
249 |
+
* Added: Customizer styling
|
250 |
+
* Fixed some rare warnings with google fonts
|
251 |
+
|
252 |
+
= 1.2.1 =
|
253 |
+
* Improve default fonts parse, and fix some legacy cases
|
254 |
+
* Remove google api code when google fonts is disabled
|
255 |
+
|
256 |
+
= 1.2.0 =
|
257 |
+
* Added: Compatibility with WordPress 4.4.0
|
258 |
+
* Added: Presets can now set fonts and font weights
|
259 |
+
* Fixed: Now range fields can have `0` as default
|
260 |
+
* Fixed: Font subsets style
|
261 |
+
* Fixed: Fixed some PHP and javascript warnings
|
262 |
+
* Updated: Font field style
|
263 |
+
|
264 |
+
= 1.1.7 =
|
265 |
+
* Added: Compatibility with WordPress 4.3.1
|
266 |
+
* Added: Custom fonts can be used now as defaults
|
267 |
+
* Fixed: Fonts preview
|
268 |
+
* Fixed: Some rare errors with PHP 5.2.x
|
269 |
+
* Fixed: Some font variants warnings with PHP 5.2.x
|
270 |
+
|
271 |
+
= 1.1.6 =
|
272 |
+
* Added: Custom background field with bacgkround-* css properties selects
|
273 |
+
* Added: Compatibility with WordPress 4.3.x
|
274 |
+
* Added: Compatibility with PHP 5.2.x
|
275 |
+
* Improved: Live CSS Editor is now live...for real
|
276 |
+
* Updated: ACE Editor
|
277 |
+
* Updated: The list of google fonts is now up to date
|
278 |
+
|
279 |
+
|
280 |
+
= 1.1.5 =
|
281 |
+
* Added: Live-preview support for `text` and `textarea` fields.
|
282 |
+
* Added: **Unit** parameter for css values(now we can use all the css units like em, rem, vh, all of them :D).
|
283 |
+
* Fixed: Editor style for Typekit fonts.
|
284 |
+
* Fixed: Editor style with default values.
|
285 |
+
* Fixed: Live Preview small fixes
|
286 |
+
* Updated: The list of google fonts is now up to date
|
287 |
+
|
288 |
+
= 1.1.4 =
|
289 |
+
* Added: Ace Editor field.
|
290 |
+
* Added: HTML field.
|
291 |
+
* Added: Sanitize callbacks parameter and a default sanitizer for the checkbox field.
|
292 |
+
* Fixed: Slight styling issues.
|
293 |
+
|
294 |
+
= 1.1.2 =
|
295 |
+
* Added: Option to add Customify's changes in the editor.
|
296 |
+
* Added: Possibility to load Typekit fonts through config.
|
297 |
+
|
298 |
+
= 1.1.1 =
|
299 |
+
* Added: Radio input with image label.
|
300 |
+
* Added: Javascript callback for css properties.
|
301 |
+
* Update: Updated Ace editor.
|
302 |
+
|
303 |
+
= 1.1.0 =
|
304 |
+
* Added: [Preset](https://github.com/pixelgrade/customify/blob/master/README.md#presets_title) field type.
|
305 |
+
* Added: Reset buttons (disabled by default).
|
306 |
+
* Added: Button field.
|
307 |
+
|
308 |
+
== Installation ==
|
309 |
+
|
310 |
+
1. Install Customify either via the WordPress.org plugin directory, or by uploading the files to your `/wp-content/plugins/` directory
|
311 |
+
2. After activating Customify go to `Appearance → Customize` and have fun with the new felds
|
312 |
+
3. For further instructions and how to setup your own fields, read our [detailed documentation](http://github.com/pixelgrade/customify/blob/dev/README.md)
|
313 |
+
|
314 |
+
== Frequently Asked Questions ==
|
315 |
+
|
316 |
+
= Is there a way to reset Customify to defaults? =
|
317 |
+
Reset buttons are available for all the options or for individual sections or panels.
|
318 |
+
They are disabled by default to avoid useless/accidental resets.
|
319 |
+
To enable them simply go to Dashboard -> Settings -> Customify and check "Enable Reset Buttons"
|