Aprašymas
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.
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
Ekrano nuotraukos
Blokai
Šis įskiepis suteikia 23 blokus.
- Color palette A color palette from the theme.
- Checkboxes A checkboxes field for multiple boolean input.
- Number A simple number input field.
- Toggle A toggle On/Off field for boolean input.
- Unit Select a value with a unit.
- Relationship Get Modern Fields Pro and unlock the Relationship field.
- Button Group A button group field with multiple choices.
- Date A date / time input field.
- Select A select dropdown field with key/value options.
- Email A simple email input field.
- Time A time input field.
- Textarea A textarea field for longer text input.
- Repeater Get Modern Fields Pro and unlock the Repeater field.
- Range A range input field.
- Spacing Select spacing values for the selected sides.
- Border Configure border values.
- Image Import or select an image from the media library.
- Text A simple text input field.
- Rich text A rich text input field with formatting options.
- Color picker A custom color picker.
- Radio Buttons A radio buttons field with multiple choices.
- Field value Display any value from a meta field. Brought to you by Modern Fields.
- Multi token A mutli-value input field.
Diegimas
- Upload the plugin files to the
/wp-content/plugins/modern-fieldsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the Plugins screen in WordPress.
- Navigate to Modern Fields Field Groups to create your first group and start adding field blocks.
- Assign your field group to the desired location and publish it.
- Edit a post or page that matches your rules to start filling in the fields.
- Use the Field value block to display a meta in your content or a template.
DUK
-
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()orget_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.
Atsiliepimai
Programuotojai ir komandos nariai
“Modern Fields • Custom Fields for Gutenberg” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.
AutoriaiĮskiepis “Modern Fields • Custom Fields for Gutenberg” išverstas į 1 kalbą. Dėkojame vertėjams už jų darbą.
Išverskite “Modern Fields • Custom Fields for Gutenberg” į savo kalbą.
Domina programavimas?
Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.
Pakeitimų istorija
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.




