*Applies to credit purchases starting from $100.

Validity: Nov 24 - Dec 05, 2025

Meta Field Block

Meta Field Block

Display a custom field as a block on the front end. It supports custom fields for posts, terms, and users. It supports ACF fields explicitly.
Rating:
5.0
star-rating-1star-rating-2star-rating-3star-rating-4star-rating-5
Active Installations:
6000+
Last Updated:
Jan 27, 2025
WordPress Version:
6.5 or higher
Tested up to:
6.7.2

Display Meta Field

Display any meta field as a block on the front end.

Custom Field Support

Supports custom fields for posts, terms, and users.

Developer-Friendly APIs

Provides hook APIs for easy customization of block output and complex data types.

ACF Field Support

Display custom fields created by the Advanced Custom Fields plugin explicitly.

1.3.4

Release Date – 27 January 2025

  • Improved – (MFB Pro) Allow custom sorting with the nested Query Loop for the relationship field
  • Fixed – (MFB Pro) Load all posts stored in the relationship field for the Query Loop
  • Updated – Freemius SDK 2.11.0

1.3.3

Release Date – 06 January 2025

  • Fixed – (MFB Pro) ACF Relationship field and custom post types
  • Improved – (MFB Pro) Add the plugin version to the premium style file
  • Updated – Update Freemius SDK 2.10.1

1.3.2

Release Date – 17 November 2024

  • Improved – Updated translation text for compatibility with WordPress 6.7

1.3.1

Release Date – 28 October 2024

  • Improved – Prevent inner links from being clickable in the editor
  • Improved – Add code to check if the post and term exist before displaying them
  • Updated – Upgrade to Freemius SDK 2.9.0

1.3.0

Release Date – 05 August 2024

  • Added – (MFB Pro) Register custom bindings for heading and paragraph when displaying a text field as a heading or a paragraph block
  • Added – (MFB Pro) Allow linking an image field to a custom URL from another field
  • Improved – (MFB Pro) Display dynamic value in the editor when displaying a field as a heading, paragraph, button, image, or video block
  • Improved – (MFB Pro) Allow displaying the value of URL, and email as button text when displaying them as a button
  • Fixed – (MFB Pro) Expanding image is not getting dynamic value
  • Refactor – Replaced classnames with clsx
  • Refactor – Replace useSetting by useEttings
  • Updated – Tested up to 6.5 for block bindings

1.2.14

Release Date – 31 July 2024

  • Improved – Escape the style attribute for prefix and suffix

1.2.13

Release Date – 17 July 2024

  • Improved – Ignore array and object fields from the list of suggested names in the meta field type
  • Improved – MFB Pro: Change the label with mailto prefix to the mail value
  • Updated – Update Freemius SDK to 2.7.3

1.2.11

Release Date – 06 June 2024

  • Added – Support clientNavigation interactivity
  • Added – Allow changing the object type via the new filter meta_field_block_get_object_type
  • Improved – MFB Pro: Use useEntityRecord to display suggested names for setting fields

1.2.10

Release Date – 07 May 2024

  • Added – Add correct format for ACF textarea and editor field in the editor
  • Updated – Use useSettings instead of useSetting since WP 6.5
  • Improved – Flush server cache for object type and ACF fields when necessary
  • Improved – Add field label to the layout variations of SFB: Group, Flexible content, Repeater
  • Improved – MFB Pro: Don’t allow editing field path for repeater items SFB
  • Improved – MFB Pro: Flexible content field type

1.2.9

Release Date – 01 May 2024

  • Improved – Invalidate the MFB cache when updating a post, a term, a user, or settings
  • Updated – Help text in the settings page

1.2.8

Release Date – 22 April 2024

  • Updated – Since WP 6.5 we could not get the post ID and post type from the current context when accessing the template editor from a post/page.
  • Added – Add the emptyMessage feature to static blocks

1.2.7

Release Date – 16 April 2024

  • Added – Support displaying custom fields inside the Woo Product Collection block

1.2.6

Release Date – 22 March 2024

  • Added – Add query, and queryId of Query Loop as context parameters
  • Updated – PRO: Render nested ACF oEmbed fields

1.2.5

Release Date – 11 March 2024

  • Updated – Update inline documentation
  • Fixed – When front-end forms are submitted to admin-post.php, nopriv users are redirected to the login page.
  • Added – PRO: Display ACF gallery field
  • Added – PRO: Display ACF File as a video

1.2.4

Release Date – 22 February 2024

  • Added – Add typography and gap settings to prefix and suffix
  • Removed – Remove the redundant blockGap support feature
  • Improved – Remove _acf_changed from the list of suggested names
  • Fixed – Remove the block margin on value, prefix and suffix when the block is used inside a flow-layout block
  • Fixed – PRO: Correct the name for some field types for ACF
  • Added – PRO: Enable the hideEmpty setting for static blocks
  • Improved – PRO: Change the default perPage value for ACF query fields from 100 to 12
  • Added – PRO: Add the linkToPost setting to the ACF image field and ACF URL-as-image field

1.2.3

Release Date – 24 January 2024

  • Added – New dynamic field type to display private fields, support running shortcodes, and see the changes made by the hook meta_field_block_get_block_content both on the front end and the editor.
  • Updated – Change the name of a private hook from ‘_meta_field_block_get_field_value’ to ‘_meta_field_block_get_field_value_other_type’
  • Updated – Change the permission for getting custom endpoints from publish_posts to edit_posts

1.2.2

Release Date – 08 January 2024

  • Updated – Adjust the configuration for freemius

1.2.1

Release Date – 03 January 2024

  • Updated – Support full attributes for SVG and all basic shapes in the allowed HTML tags
  • Added – Add the settings page with guides
  • Added – Integrate with freemius 2.6.2
  • Updated – Add the section tag to the list of HTML tag
  • Updated – Ignore footnotes from the suggested values for the meta field name
  • Updated – Update Requires at least to 6.3

1.2

Release Date – 11 December 2023

  • Added – Allow getting meta fields from terms and users
  • Updated – Add new $object_type parameter to two main hooks meta_field_block_get_acf_field and meta_field_block_get_block_content
  • Added – Add variations for some common ACF field types
  • Updated – Increase the required version of PHP to 7.4
  • Updated – Refactor code for upcoming releases
  • Updated – Move the prefix and suffix to a separate panel

1.1.7

Release Date – 09 September 2023

  • FIX – The block does not show the number 0 if using it as the empty message

1.1.6

Release Date – 13 August 2023

  • DEV – Refactor block.json, update to block API version 3 for better WP 6.3 compatibility
  • FIX – Rename allowed HTML attributes for SVG

1.1.5

Release Date – 15 July 2023

  • DEV – Add a custom hook apply_filters( 'meta_field_block_kses_allowed_html', $allowed_html_tags ) for filtering allowed HTML tags in the value.
  • DEV – Allow displaying iframe, and SVG tag by default.
  • DEV – Force displaying color (text, background, link) attributes for unsupported themes.
  • DEV – Refactor code for React best practice.
  • DOC – Update readme for the hook meta_field_block_get_acf_field

1.1.4

Release Date – 20 May 2023

  • DEV – Change the placeholder text for the block in the site editor.
  • DEV – Add a setting to use the ACF field label as the prefix

1.1.3

Release Date – 31 Mar 2023

  • DEV – Support choice fields: true/false, select, checkbox, radio, button group
  • DEV – Add raw value to the meta_field_block_get_acf_field hook

1.1.2

Release Date – 28 Mar 2023

  • DEV – Refactor both JS and PHP code
  • DEV – Load ACF field value even if we could not load the field object
  • DEV – Separate settings group for WP 6.2

1.1.1

Release Date – 14 Mar 2023

  • DEV – Add a hideEmpty setting to hide the whole block if the value is empty
  • DEV – Add an emptyMessage setting to show a custom text in case the value is empty
  • FIX – The meta field did not show on the archive template

1.1.0

Release Date – 06 Mar 2023

  • DEV – Refactor all the source code for more upcoming features
  • DEV – Make sure the block works with all return formats for the image field, link field
  • DEV – Get all custom rest fields to show on the suggested help
  • DEV – Allow changing the tagName from the block toolbar
  • DEV – Improve performance
  • DEV – Add more core support features
  • DEV – Add more meaningful messages for some use cases
  • FIX – Allow displaying links without text

1.0.10

Release Date – 02 Feb 2023

  • DEV – Support multiple values for ACF User type

1.0.9

Release Date – 15 Sep 2022

  • FIX – Change the textdomain to the plugin slug

1.0.8

Release Date – 10 Sep 2022

  • FIX – Wrong handle for wp_set_script_translations. Thanks to Loïc Antignac (@webaxones)

1.0.7

Release Date – 07 Sep 2022

  • FIX – Add a null check for meta fields value before accessing it’s property

1.0.6

Release Date – 25 Jun 2022

  • DEV – Add an option to show the block’s outline on the Editor

1.0.5

Release Date – 21 Jun 2022

  • DEV – Display the placeholder text on the template context

1.0.4

Release Date – 02 May 2022

  • DEV – Support displaying some field types for ACF such as image, link, page_link, post_object, relationship, taxonomy

1.0.3

Release Date – 30 April 2022

  • DEV – Add supports for borders, and full typography options

1.0.2

Release Date – 28 April 2022

  • DEV – Add the title to block registration in JS
  • REFACTOR source code

1.0.1

Release Date – 23 March 2022

  • FIX – The block does not work in the site editor.

1.0.0

Release Date – 22 February 2022

Superb plugin

By Grololo06 (grololo06) on March 3, 2025

Very handy when using Gutenberg, and cherry on the cake, the hooks for devs. Thanks!

Great Plugin!

By Bayejid Ahmed (bayejid00) on February 10, 2025

It is very useful block.

Extremely handy for FSE building

By Max (max@yokoco.com) on January 31, 2025

Fast, unobtrusive, works well. Upgraded to the pro version and am happy with the additional features.

Brilliant! Simple, but very effective.

By undfine on September 16, 2024

This plugin is great! I usually use Elementor Pro with dynamic content, or PODS templates or ACF Pro with shortcodes to do something similar, but starting with an FSE theme and loading numerous fields in a Loop Query did not work as well and did not allow for block-like editing. This plugin solves that, allowing you to input the fields as if they were a normal piece of text. It works with any meta data, so in my case, the meta was from PODS custom fields, but works better than their single blocks—allows for inline positioning, and adding prefix or suffix! The only thing that would make this better would be a templating solution, to allow multiple custom fields within a block, using curly-braces or some variable syntax.

Great support for a very useful plugin.

By maxstub on August 26, 2024

A very useful plugin and a very helpful and extremely responsive support service; definitely 5 stars.

Easily display ACF custom fields on the front end

By ecabral on August 4, 2024

Easily managed to display ACF custom fields on the front end after a 5m setup. Thanks for this great plugin!

Works great with FSE and ACF

By Predrag - WPMU DEV Support (WPMUDEV-Support1) on May 8, 2024

Works like a charm with different setups using ACF and FSE.

Hit a small snag with caching but plugin dev quickly responded and released a fix.

Thanks!

By bertina on April 16, 2024

finally! a SIMPLE way to get acf fields into FSE templates!!!

Must Have!

By Carl (carlbtmn) on January 31, 2024

One of the most useful and powerful plugin there is for WP. A must have and the support is fantastic! A+

Life saver when using Gutenberg

By razer (rochak) on January 13, 2024

Life saver when using Gutenberg

Try other plugins too!

Blockskit

An easy plugin to import starter sites and add different effects to the image.

Try Demo More Details

Image Hover Effects Block

Add over 40+ stunning image hover effects to Gutenberg editor. Easily customize title, content and effects with intuitive interface.

Try Demo More Details
Screenshots
Author Site Author Site

Try Meta Field Block With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.