-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme.txt
64 lines (46 loc) · 2.5 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
=== Fieldmanager Beta: Customize ===
Contributors: dlh, jamesburke, alleyinteractive
Requires at least: 4.5
Tested up to: 4.7
Stable tag: 0.4.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A Fieldmanager Beta plugin for the Customize Context.
== Description ==
This is a proposed Customize context for Fieldmanager. You can install the plugin alongside a stable Fieldmanager release to help test and refine the context.
The official Pull Request for this context is [on GitHub](https://github.com/alleyinteractive/wordpress-fieldmanager/pull/399).
== Installation ==
1. Install and activate [Fieldmanager](https://github.com/alleyinteractive/wordpress-fieldmanager).
2. Install and activate this plugin.
3. Use the `fm_beta_customize` context action to instantiate your fields. For example:
add_action( 'fm_beta_customize', function () {
$fm = new Fieldmanager_TextField( 'My Field', [ 'name' => 'foo' ] );
fm_beta_customize_add_to_customizer( 'My Section', $fm );
} );
For more code examples, browse `php/demos/class-fieldmanager-beta-customize-demo.php`. To see the demos in action in the Customizer, place `add_action( 'fm_beta_customize', 'fm_beta_customize_demo' )` in your plugin or theme.
== Screenshots ==
1. Fieldmanager mingling with other sections in the Customizer.
2. Fieldmanager fields in the Customizer.
3. Detail from the demos bundled with this plugin.
== Changelog ==
= 0.4.0 =
* Added: PHP and JavaScript tests.
* Added: Demo a field with selective-refresh support.
* Changed: Use better TinyMCE events for tracking `Fieldmanager_RichTextArea` changes.
* Changed: Require at least WordPress 4.5.
* Fixed: Fix a case where invisible Customizer sections could be created.
= 0.3.1 =
* Fixed: Track the changes to instances of repeatable RichTextAreas and Colorpickers added after loading the Customizer.
= 0.3.0 =
* Changed: `Fieldmanager_RichTextArea` is now supported natively; using `Fieldmanager_Beta_Customize_RichTextArea` is no longer required.
* Changed: Move remaining scripts that overrode Fieldmanager core assets into separate files.
* Fixed: Fix invisible TinyMCE popups.
* Deprecated: `Fieldmanager_Beta_Customize_RichTextArea`, per above.
= 0.2.1 =
* Fix JavaScript errors.
= 0.2.0 =
* Move CSS, and autocomplete and datepicker scripts, into separate files, rather than overriding those assets in Fieldmanager core.
= 0.1.1 =
* Rename the Customize context action to 'fm_beta_customize' for improved future compatibility with Fieldmanager.
= 0.1.0 =
* Initial release.