Field Render

Display a Post Format selector as radio, checkbox or select field type.

Field Group

Field Settings

Setting nameDescription
Allow FormatsFilter which post formats can be chosen
AppearanceSelect the appearance of this field
Default ValueEnter each default value on a new line
Allow NullAllow empty value
LayoutChoose the layout
ToggleAllow to toggle all values
Allow Custom
Allow custom value
Save Custom
Save custom value in the field settings
Select multiple valuesAllow multiple values selection
Stylised UIEnable Select2 UI style

Field Value

Formatted Value

$post_formats = get_field('post_formats');

// video

Unformatted Value

$post_formats = get_field('post_formats', false, false);

// video