=== Modern Fields • Custom Fields for Gutenberg === Contributors: MaximeBJ Tags: custom fields, metabox, acf, options, block bindings Requires at least: 6.8 Tested up to: 6.9 Stable tag: 1.0.1 Requires PHP: 8.1 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 to improve your full site editing experience. == Description == Modern Fields brings a visual 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 & block bindings. No code required! Everything is built with native WordPress APIs so it feels at home in your admin and keeps performance top of mind. [youtube https://youtu.be/vMYajLYcwRA] === 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. === What are the advantages of using Modern Fields rather than Advanced Custom Fields (ACF)? === ✔ Native controls from the block Editor for a better experience ✔ Design fields groups visually within the block editor ✔ Configure your fields more quickly ✔ More locations to display fields group (modal, panel) ✔ Ready-to-use patterns for stunning options pages ✔ Display fields in your template without code with the Field Value block, no need to code ✔ Use query block to filter results by meta ✔ And more to come in the premium version == 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. 6. Use the Field value block to display a meta in your content or a template. == 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 Field value block to show any value from your fields from the current post, post author or options pages. No code required! It will bind the data to your templates automatically. You can also use these functions in your custom blocks or template : `the_field()` or `get_field()` = 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 field groups list page 4. The block editor showing contextual field blocks alongside content. == Changelog == = 1.0.1 = * New: added import and export via WP CLI * Fixed an issue with scripts loaded outside the plugin pages * Fixed image binding in Field value block * Fixed issue with default CPT icon * Fixed an issue with display mode option in select field * Fixed an issue where default fields values didn't showed up * Fixed admin menu appearing in options pages when it shouldn't * Fixed a bug on location selector when invalid location is set = 1.0.0 = * Official stable release! * Removed beta features * Fixed issue with locations in CPT * Stability improvements & bug fixes = 0.9.1 = * New: JSON sync for Custom Post Types and Taxonomies with the theme = 0.9.0 = * New: Register Custom Post Types and Taxonomies from the admin * New: Navigation menu between Modern Fields sections = 0.8.0 = * New: import / export groups in JSON * New: Sync fields with your theme in /mf-json/ folder = 0.7.3 = * Added an onboarding popup when creating your first field group * Usual roles are pre-selected in location selector * Fixed duplicate colors in palette field * Fixed RichText overflow in narrow area like inspector * Fixed inspector area width * Fixed image binding with the field value block = 0.7.2 = * Fixed vendor prefixing on composer dependencies = 0.7.1 = * Fixed an error with user name in fields list * Fixed a potential conflict with the fields blocks and third party blocks * Fixed duplicate fields has different unique ids now * Fixed default color palette in Modern Fields settings = 0.7 = * New image field option: compact UI * Fixed color picker when there are custom colors set in appearance * Fixed missing translations in JavaScript = 0.6 = * New fields: checkboxes, radio, select/combobox, multi token and email * More reliable field data structure = 0.5.5 = * Fixed deployment with PHP dependencies = 0.5.2 = * Added wp.org assets = 0.5.1 = * First deploy = 0.5.0 = * Initial beta release. == Upgrade Notice ==