PUBLIC DOCUMENTATION

Fields, content types and visual FSE editing with DMBB.

← All Help Topics
HOW TO USE · VERSION 9.5.0

Text (Free)

A compact single-line text input.

Screenshots and walkthrough — expand to view

Screenshots use sample data and English labels. Follow the translated instructions on this page; your theme, language, permissions and license can change the available controls. Select an image to view it at full size.

Text field: builder settings, storage key and validation options.
Text field: builder settings, storage key and validation options.
Text field: sample controls in the content editor.
Text field: sample controls in the content editor.
What it does Stores a short plain-text value.
Use it when Titles, labels, subtitles, IDs, short notes or names.
How to configure Enter a label and meta key. Optionally add help text and a default value.
Saved as A sanitized string in post meta.
EXAMPLE

Subtitle

A short description under the title
Read a Text Field in PHP

Use the field Key from the builder as the second argument of get_post_meta(). Escape or sanitize the value for its final output context.

$value = get_post_meta( get_the_ID(), 'your_meta_key', true );

echo esc_html( $value );
Security: post meta retrieval does not make a value safe for HTML output. Use esc_html() for visible text, esc_attr() for HTML attributes, and sanitize/validate values when accepting external input.

Documentation for Dynamic Meta Box Builder 9.5.0.