Linux 软件免费装
Banner图

Elementor Metafield

开发者 sajjadnazari
更新时间 2026年11月8日 20:43
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

elementor custom fields repeater meta box dynamic tags

下载

1.2.0 1.2.1 1.3.0

详情介绍:

Elementor Metafield is a visual meta box builder made for people who design with Elementor. Build your fields with clicks, not code, then put the values on the page with widgets, dynamic tags or a shortcode. No Elementor? It still works: use the shortcode or the template helpers. متا فیلد المنتور (فارسی): ساخت متاباکس و فیلد سفارشی با رابط بصری، بدون کدنویسی. فیلد تکرارشونده (Repeater)، ۲۴ نوع فیلد، ویجت و تگ داینامیک المنتور، منطق شرطی و اعتبارسنجی. با المنتور و بدون آن کار می‌کند. رابط افزونه فارسی و راست‌چین است. Why Elementor Metafield? Most meta box plugins stop at the edit screen and leave the rest to your code. This one goes all the way to the finished page. Features Quick start
  1. Open Elementor Metafield > Field Groups > Add new, pick the post types and add your fields.
  2. Edit a post. Your fields appear in a meta box under the editor.
  3. In Elementor, drop the Meta Field widget (or use a dynamic tag), choose the field and style it.
For developers Read values in a theme or plugin. Output is escaped for you. $phone = mfbe_get_field( 'phone' ); // raw value mfbe_the_field( 'team' ); // safe HTML, echoed foreach ( mfbe_get_rows( 'team' ) as $row ) { // repeater rows echo esc_html( $row['name'] ); } echo esc_url( mfbe_get_image_url( 'cover', 'large' ) ); The shortcode works everywhere: [mfbe field="meta_key"]. Attributes: field (required), post_id, format (html or text), size, columns, fallback.

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install the zip from Plugins > Add New > Upload Plugin.
  2. Activate the plugin.
  3. Open "Elementor Metafield" in the admin menu and create your first field group.
If the older "Meta Fields for Elementor" 1.0.0 is active, it is deactivated automatically. Your field groups and saved values are kept.

屏幕截图:

  • Visual field group builder with validation, admin columns and conditional logic.
  • The meta box on the post edit screen (conditional fields are hidden until needed).
  • Loop query rules for Elementor Pro Query IDs.

升级注意事项:

1.3.0 New: Repeater field, gradient, post selector and button group fields, and template helper functions. Your data is untouched. 1.2.1 Renamed to Elementor Metafield and hardened input cleaning. Your data is untouched. 1.2.0 Adds 6 field types, validation, conditional logic, admin columns, import/export and new Elementor features. Existing data is untouched.

常见问题:

Does it work without Elementor?

Yes. Fields, repeaters, validation, columns and the shortcode do not need Elementor. Only the widgets, dynamic tags and loop rules live inside Elementor.

Do I need Elementor Pro?

No. The widgets and Meta Field Visibility work with free Elementor. Dynamic tags and the Query ID option of loops are Elementor Pro features.

How do I use a repeater?

Add a field of type Repeater, then list its sub-fields, one per line, as key : Label : type. Show it with the Meta Field widget, the shortcode, or mfbe_get_rows() in your theme.

Does it send data anywhere?

No. The only outgoing message is the feedback form, which emails the author when you press Send. Nothing is sent automatically.

Where are the values stored?

As normal post meta under the meta key you choose for each field. Repeater values are stored as one array under the repeater's key.

What happens to my data when I delete the plugin?

Nothing, unless you enable "Delete data on uninstall" in the settings. Even then, values saved on posts are kept.

更新日志:

1.3.0 1.2.1 1.2.0 1.1.0 1.0.2 1.0.0