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: sample controls in the content editor.
What it doesStores a short plain-text value.
Use it whenTitles, labels, subtitles, IDs, short notes or names.
How to configureEnter a label and meta key. Optionally add help text and a default value.
Saved asA 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.
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.