Linux 软件免费装
Banner图

Modern Fields • Custom Fields for Gutenberg

开发者 MaximeBJ
更新时间 2026年3月4日 23:33
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

custom fields acf options metabox block bindings

下载

0.6 0.6.0 0.5.1 0.5.2 0.5.3 0.5.5 0.7

详情介绍:

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]

安装:

  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.

屏幕截图:

  • An options page powered by Modern Fields.
  • The field groups list page
  • The block editor showing contextual field blocks alongside content.

常见问题:

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.

更新日志:

0.7 0.6 0.5.5 0.5.2 0.5.1 0.5.0