File: /var/www/html/wp-content/themes/custom-theme/acf-json/group_block_support_cae.json
{
"key": "group_block_support_cae",
"title": "Support CAE Block",
"fields": [
{
"key": "field_support_cae_tab_tabs",
"label": "Navigation Tabs",
"name": "",
"type": "tab",
"placement": "top"
},
{
"key": "field_support_cae_tabs",
"label": "Tabs",
"name": "support_cae_tabs",
"type": "repeater",
"required": 0,
"min": 0,
"max": 6,
"layout": "table",
"button_label": "Add Tab",
"instructions": "Sub-navigation tabs for the Support CAE section. Mark one tab as active to highlight it.",
"sub_fields": [
{
"key": "field_support_cae_tab_label",
"label": "Label",
"name": "tab_label",
"type": "text",
"required": 1,
"placeholder": "Donate"
},
{
"key": "field_support_cae_tab_link",
"label": "Link",
"name": "tab_link",
"type": "link",
"required": 0,
"return_format": "array"
},
{
"key": "field_support_cae_tab_active",
"label": "Active",
"name": "tab_active",
"type": "true_false",
"default_value": 0,
"ui": 1,
"instructions": "Mark this tab as the currently active page."
}
]
},
{
"key": "field_support_cae_tab_intro",
"label": "Intro Section",
"name": "",
"type": "tab",
"placement": "top"
},
{
"key": "field_support_cae_intro_image",
"label": "Banner Image",
"name": "support_cae_intro_image",
"type": "image",
"required": 0,
"return_format": "array",
"preview_size": "medium",
"instructions": "Full-width banner image above the intro heading. Recommended: at least 2400×508px (displays at 1200×254 @2x)."
},
{
"key": "field_support_cae_intro_heading",
"label": "Intro Heading",
"name": "support_cae_intro_heading",
"type": "text",
"required": 0,
"placeholder": "SUPPORTING VERMONT'S FARMS, FOOD, AND COMMUNITIES",
"instructions": "Main heading displayed below the banner image. Renders in Acumin Pro Condensed Black, evergreen."
},
{
"key": "field_support_cae_intro_description",
"label": "Intro Description",
"name": "support_cae_intro_description",
"type": "textarea",
"required": 0,
"rows": 4,
"instructions": "Body text below the heading. Renders in Acumin Pro, granite gray."
},
{
"key": "field_support_cae_tab_accordion",
"label": "Ways to Give",
"name": "",
"type": "tab",
"placement": "top"
},
{
"key": "field_support_cae_items",
"label": "Accordion Items",
"name": "support_cae_items",
"type": "repeater",
"required": 0,
"min": 0,
"max": 20,
"layout": "block",
"button_label": "Add Item",
"instructions": "Each item shows as a row with thumbnail, title, and description. Accordion items expand to show content; link items navigate to a page.",
"sub_fields": [
{
"key": "field_support_cae_item_image",
"label": "Thumbnail Image",
"name": "item_image",
"type": "image",
"required": 0,
"return_format": "array",
"preview_size": "thumbnail",
"instructions": "Thumbnail displayed left of the title. Recommended: at least 432×268px (displays at 216×134 @2x)."
},
{
"key": "field_support_cae_item_title",
"label": "Title",
"name": "item_title",
"type": "text",
"required": 1,
"placeholder": "Give a Gift of Cash"
},
{
"key": "field_support_cae_item_description",
"label": "Short Description",
"name": "item_description",
"type": "textarea",
"required": 0,
"rows": 3,
"instructions": "Preview text visible in the collapsed state. Keep to 1-2 sentences."
},
{
"key": "field_support_cae_item_type",
"label": "Item Type",
"name": "item_type",
"type": "button_group",
"required": 1,
"choices": {
"accordion": "Expandable Accordion",
"link": "Link to Page"
},
"default_value": "accordion",
"layout": "horizontal",
"instructions": "Accordion: click to expand/collapse content below. Link: click to navigate to another page."
},
{
"key": "field_support_cae_item_link",
"label": "Link",
"name": "item_link",
"type": "link",
"required": 0,
"return_format": "array",
"instructions": "Destination page when this item is clicked.",
"conditional_logic": [
[
{
"field": "field_support_cae_item_type",
"operator": "==",
"value": "link"
}
]
]
},
{
"key": "field_support_cae_item_content",
"label": "Expanded Content",
"name": "item_content",
"type": "wysiwyg",
"required": 0,
"toolbar": "full",
"media_upload": 0,
"instructions": "Main body text displayed in the expanded brick-colored panel. White text on brick background.",
"conditional_logic": [
[
{
"field": "field_support_cae_item_type",
"operator": "==",
"value": "accordion"
}
]
]
},
{
"key": "field_support_cae_item_details",
"label": "Detail List (Key–Value Pairs)",
"name": "item_details",
"type": "repeater",
"required": 0,
"min": 0,
"max": 20,
"layout": "table",
"button_label": "Add Detail",
"instructions": "Optional list of labeled values (e.g. FBO, Account #, DTC #). Displayed as a two-column table in the brick panel.",
"conditional_logic": [
[
{
"field": "field_support_cae_item_type",
"operator": "==",
"value": "accordion"
}
]
],
"sub_fields": [
{
"key": "field_support_cae_detail_label",
"label": "Label",
"name": "detail_label",
"type": "text",
"required": 1,
"placeholder": "Account #"
},
{
"key": "field_support_cae_detail_value",
"label": "Value",
"name": "detail_value",
"type": "text",
"required": 1,
"placeholder": "95126065"
}
]
},
{
"key": "field_support_cae_item_callout_heading",
"label": "Callout Heading",
"name": "item_callout_heading",
"type": "text",
"required": 0,
"placeholder": "AFTER YOU DONATE STOCK",
"instructions": "Optional callout card heading. Leave blank to hide the callout card.",
"conditional_logic": [
[
{
"field": "field_support_cae_item_type",
"operator": "==",
"value": "accordion"
}
]
]
},
{
"key": "field_support_cae_item_callout_description",
"label": "Callout Description",
"name": "item_callout_description",
"type": "wysiwyg",
"required": 0,
"toolbar": "basic",
"media_upload": 0,
"instructions": "Callout card body text. Supports bold text and links (e.g. contact email).",
"conditional_logic": [
[
{
"field": "field_support_cae_item_type",
"operator": "==",
"value": "accordion"
}
]
]
},
{
"key": "field_support_cae_item_callout_image",
"label": "Callout Image",
"name": "item_callout_image",
"type": "image",
"required": 0,
"return_format": "array",
"preview_size": "medium",
"instructions": "Optional image displayed on the right side of the callout card.",
"conditional_logic": [
[
{
"field": "field_support_cae_item_type",
"operator": "==",
"value": "accordion"
}
]
]
}
]
}
],
"location": [
[
{
"param": "block",
"operator": "==",
"value": "acf/support-cae"
}
]
],
"position": "normal",
"style": "default",
"label_placement": "top",
"active": true
}