Elementor Metafield

By Sajjad Nazari

0+ active installationsVersion 1.3.0

Visual meta box builder: repeaters, 24 field types, Elementor widgets and dynamic tags. Works without Elementor too. متا فیلد المنتور

Description

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.

  • Built for Elementor. A Meta Field widget, a Meta Field Link widget, dynamic tags, and Meta Field Visibility on any section, column, container or widget.
  • No code needed. Build field groups in a visual builder. Every field shows its own shortcode, ready to copy.
  • Repeater included. Team members, FAQs, price rows, feature lists: add rows, drag to reorder, show them anywhere.
  • Query by meta. Filter and sort Elementor Pro Posts and Loop Grid by a meta field.
  • Made for your clients too. Sortable list columns, filters, validation (required, length, unique) and conditional logic keep content clean.
  • Persian and RTL from day one. The interface follows your site language automatically.
  • Your data stays yours. Values are plain post meta, so other tools and your own code can read them. Nothing is sent anywhere.

Features

  • Visual builder: drag to reorder, duplicate fields, copy each field’s shortcode.
  • 24 field types: text, textarea, number, email, URL, select, radio, button group, checkbox, switcher, date, time, date and time, color, gradient, range, WYSIWYG, image, gallery, file, link, embed, post selector and repeater.
  • Repeater with sub-fields (text, textarea, number, email, URL, date, color, switcher, image).
  • Validation (required, min/max length, unique) and conditional logic between fields.
  • Show fields as sortable columns in the post list, with filters.
  • Import and export field groups as JSON; duplicate a group in one click.
  • Choose the post types, position and priority of every meta box.
  • Elementor widgets work with free Elementor; dynamic tags and Query ID loops need Elementor Pro.
  • Template helpers for developers: mfbe_get_field(), mfbe_get_rows(), mfbe_the_field() and more.

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.

Installation

  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.

FAQ

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.

Screenshots

Changelog

1.3.0

  • New: Repeater field with sub-fields, add, remove and drag to reorder.
  • New field types: button group, gradient and post selector.
  • New template helpers: mfbe_get_field(), mfbe_get_text(), mfbe_get_html(), mfbe_the_field(), mfbe_get_rows(), mfbe_get_image_url() and mfbe_get_gallery_ids().
  • New icon, banner and a clearer description.

1.2.1

  • Renamed to Elementor Metafield (Persian: متا فیلد المنتور). Works with or without Elementor.
  • Security: stricter cleaning of saved field definitions; the menu icon style is now enqueued.

1.2.0

  • Elementor: Meta Field Visibility on sections, columns, containers and widgets.
  • Elementor: loop query rules by Query ID (Settings > Loop Queries).
  • Elementor: new Meta Field Link widget; dynamic tags support the new field types.

1.1.0

  • New field types: file, link, time, date and time, embed and range.
  • Validation: required, min/max length and unique values.
  • Conditional logic between fields.
  • Admin list columns (sortable) and filters.
  • JSON import/export and duplicate group.

1.0.2

  • New name and branding, top-level menu and dashboard.
  • Settings page with a feedback form.
  • Builder: type icons, duplicate field, expand/collapse all, copy shortcode.
  • Optional “delete data on uninstall”.
  • Security and coding-standards fixes reported by Plugin Check.

1.0.0

  • First release.