=== Modern Fields === Contributors: MaximeBJ Tags: custom fields, fields, meta, metabox, acf Requires at least: 6.8 Tested up to: 6.9 Stable tag: 0.5.2 Requires PHP: 8.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Custom Fields, options pages and metaboxes for the block Editor. == Description == Modern Fields brings a modern field builder to the WordPress block editor without sacrificing flexibility. Create reusable field groups, assign them to posts, pages, custom post types, or options screens, and render them with purpose-built Gutenberg blocks. Everything is built with native WordPress APIs so it feels at home in your admin and keeps performance top of mind. **Highlights** * Build field groups visually with native WordPress UI components. * Choose from a growing library of field blocks: text, textarea, toggle, number, range, button group, image, color picker, and more. * Attach field groups to post types, page templates, or options screens with fine-grained location rules. * Manage permissions with role-aware controls for who can edit or manage field groups. * Output field data in templates with a specific meta bindings block. == Installation == 1. Upload the plugin files to the `/wp-content/plugins/modern-fields` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the **Plugins** screen in WordPress. 3. Navigate to **Modern Fields Field Groups** to create your first group and start adding field blocks. 4. Assign your field group to the desired location and publish it. 5. Edit a post or page that matches your rules to start filling in the fields. == Frequently Asked Questions == = Does Modern Fields work with the Classic Editor? = Modern Fields is built specifically for Gutenberg and relies on block editor APIs. The classic editor is not supported. = How do I render field values on the frontend? = Use the helper functions provided by the plugin or leverage the block render callbacks. Refer to the `includes/helpers` and `includes/blocks` classes for examples of retrieving field values in PHP. = Can I limit who can manage field groups? = Yes. Permissions integrate with WordPress roles and capabilities. Only users with the appropriate capabilities can create or edit field groups. == Screenshots == 1. The field group builder with multiple block types. 2. An options page powered by Modern Fields. 3. The block editor showing contextual field blocks alongside content. == Changelog == = 0.5.2 = * Added wp.org assets = 0.5.1 = * First deploy = 0.5.0 = * Initial beta release. == Upgrade Notice == = 0.5.0 = Initial beta release of Modern Fields. Please report any issues as you explore the new workflow.