Field Render

Display an ACF Extended Templates selector as radio, checkbox or select field type.

Field Group

Field Settings

Setting nameDescription
Allow FormsFilter which templates can be chosen
AppearanceSelect the appearance of this field
Default ValueEnter each default value on a new line
Return ValueReturn the template ID or template name
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

Return Format: Template ID

$templates = get_field('templates');

// 6572

Return Format: Template Name

$templates = get_field('templates');

// my-template

Unformatted Value

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

// 6572