Appearance
Post Meta Field
The Post Meta field type shows a post's custom fields (also called post meta) as a table column. Custom fields hold extra details about a post, such as a price, a location, an event date or a rating. Use it in WP Posts and WooCommerce tables (Pro) and in FluentCart tables (Free).
Custom fields are stored as key/value pairs. To show one in a table, you only need its meta key.
Find the meta key
WordPress custom fields
- Open a post in the WordPress editor.
- Turn on custom fields. In the block editor, open the ⋮ menu › Preferences › Panels and turn on Custom fields. In the classic editor, open Screen Options and tick Custom Fields.
- The Custom Fields box appears below the post. The Name of each field is its meta key.
Meta Box, JetEngine, Toolset, Pods and other field plugins
These plugins store their fields as post meta, so the Post Meta field type shows them too. There is no separate integration to set up. Use the field's name or ID as the meta key:
- JetEngine: go to JetEngine › Post Types, edit the post type and open Meta Fields. The Name/ID of each field is its meta key (for example
nameordate). - Meta Box: the field's ID in the field group.
- Toolset Types: the field's slug, with the
wpcf-prefix (for examplewpcf-price). - Pods: the field's Name in the pod.
Plugins that store complex values (repeaters, galleries, relations) save them in a format that may not read well in a table. For those, use Shortcode / Computed Value or HTML with the plugin's own shortcode. For ACF fields, use the dedicated ACF field type.
Add a Post Meta column
- Open your table and go to the Table Rows tab.
- On the banner, click Edit query (WP Posts tables) or Source settings (WooCommerce and FluentCart tables), then open Add new column.
- Enter a Column name and a Column key.
- Under Dynamic post data (or Dynamic column data), set Field type to Post Meta.
- In Field value, type the meta key, for example
Ninja-Post. - Click Add column.
Click Preview in the editor header to see the column on the front end. Each row shows that post's value for the meta key. Posts without the field show an empty cell. Basic HTML in a value, such as a link, is kept; scripts are removed.
Combine meta values with other content
To show a meta value inside a link, next to other text or as a shortcode parameter, use the Shortcode / Computed Value or HTML field type with the {postmeta.META_KEY} placeholder, for example Price: {postmeta.price_note}. See Shortcode / computed value or HTML.
Filter rows by a meta value
To show only posts with a certain meta value, use Meta query in Edit query › Query settings. See WP Posts table.
For every other column type, see the Dynamic columns reference.