WordPress plugin

MFB Pro

The base Meta Field Block displays custom field values, including some complex types in basic formats. MFB Pro adds block presentations for complex ACF fields, so you can build dynamic post templates without creating custom blocks or writing show code for common layouts. Group and Flexible Content fields can render as container blocks, with nested content arranged in the editor.

MFB Pro

Give complex field data a block layout

The base Meta Field Block displays custom field values, including some complex types in basic formats. MFB Pro adds block presentations for complex ACF fields, so you can build dynamic post templates without creating custom blocks or writing show code for common layouts. Group and Flexible Content fields can render as container blocks, with nested content arranged in the editor.

Choose a presentation for each field

  • Display ACF Group fields as containers or Details blocks, and Flexible Content fields as containers.
  • Arrange Repeater fields in row, stack, grid, carousel, or accordion layouts. Carousels can present banner sliders; accordions can organize FAQ content.
  • Render an ACF Image field as a core Image block. Display Gallery fields in grid, masonry, or carousel layouts.
  • Show ACF Relationship and Post Object fields as Query Loops. Taxonomy fields can use a Terms Query block.
  • Present ACF File fields as video, image, button, or link blocks. Link fields can become buttons; URL fields can become images, buttons, links, videos, or embeds. Email fields can appear as buttons or links, and oEmbed fields as core Embed blocks.

Corresponding Meta Box fields have similar Pro presentations. These include Group and Cloneable Group layouts, Post fields as Query Loops, and image lists as galleries.

Bind fields to core blocks

Custom fields can be bound directly to core Heading, Paragraph, Button, Image, Video, and Embed blocks. Cover blocks can also use custom fields for their background image, video, or embed. This lets a template use field values in familiar blocks alongside structured group and repeater content.

Check field access and block context

If a field value is unavailable in the Block Editor, check that it is exposed through the REST API or that its field type is set to dynamic. Meta Field Block can stand alone or sit inside a parent block that includes postId and postType context, such as Query Loop, WooCommerce Product Collection, or Term Query. Relationship fields and shortcodes in a Query Loop rely on the relevant post context.

Developer hooks can tailor block output, format complex data types, or use the block as a content placeholder with object_id and object_type context parameters. Meta Field Block displays field values; it does not input or save meta values.

Add a field to a template

Install MFB Pro on the WordPress website that uses the custom field framework. In the Block Editor, add Meta Field Block to a template or post layout, choose a field, and select its presentation, such as a repeater grid, gallery carousel, accordion, or Query Loop. Preview the result in the editor and adjust the block arrangement.