WP Manifestindependent plugin directory
manifest / developer / fieldmanager-beta-customize

Fieldmanager Beta: Customize

Add Fieldmanager fields to the Customizer

★ 1stars
v0.4.0latest · 9 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/dlh01/fieldmanager-beta-customize/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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.

Installation

  1. Install and activate 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.

Fieldmanager mingling with other sections in the Customizer.

2. Fieldmanager fields in the Customizer.

Fieldmanager fields in the Customizer.

3. Detail from the demos bundled with this plugin.

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.

Releases

3 releases.

Tag
Published
v0.4.0 latest
Mar 24, 2017 9 years ago
Jan 22, 2017 9 years ago
Jan 3, 2017 9 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.