A Metabox item add post_meta to a chosen post type, and can be shown in each post type, as Pages for example, as shown in the following screenshot.

Sukellos Admin Builder Examples

The code below is used to generate this section:

Copy to Clipboard

A Metabox inherit from an Item, then all settings described in Item Settings are also used.

Specific settings for Metabox:

Field Settings Description
post_type
string | array / Default: ‘page’
Post type, WordPress predefined as ‘page’ or ‘post’, or custom. It can be an array of post types
page_template
string / Default: ”
If page template is selected, just will be show on that page
context
string / Default: ‘normal’
‘normal’, ‘advanced’, or ‘side’
hide_custom_fields
boolean / Default: true
If true, the custom fields box will not be shown
priority
string / Default: ‘high’
‘high’, ‘core’, ‘default’, ‘low’