File: /var/www/html/wp-content/themes/custom-theme/acf-json/group_block_donate.json
{
"key": "group_block_donate",
"title": "Donate Block",
"fields": [
{
"key": "field_donate_tab_cta",
"label": "Donate CTA",
"name": "",
"type": "tab",
"placement": "top"
},
{
"key": "field_donate_cta_heading",
"label": "CTA Heading",
"name": "donate_cta_heading",
"type": "text",
"required": 0,
"placeholder": "WE NEED THE SUPPORT OF DONORS, LARGE AND SMALL",
"instructions": "Bold call-to-action heading at the top of the donate section. Renders in Bookman Press Sans, evergreen."
},
{
"key": "field_donate_cta_button",
"label": "CTA Button",
"name": "donate_cta_button",
"type": "link",
"required": 0,
"return_format": "array",
"instructions": "Button below the CTA heading."
},
{
"key": "field_donate_cta_image",
"label": "CTA Background Image",
"name": "donate_cta_image",
"type": "image",
"required": 0,
"return_format": "array",
"preview_size": "medium",
"instructions": "Background image for the CTA section."
},
{
"key": "field_donate_tab_thankyou",
"label": "Thank You Section",
"name": "",
"type": "tab",
"placement": "top"
},
{
"key": "field_donate_thankyou_heading",
"label": "Thank You Heading",
"name": "donate_thankyou_heading",
"type": "text",
"required": 0,
"placeholder": "THANK YOU FOR YOUR SUPPORT AND ASSISTANCE",
"instructions": "Heading for the info cards section."
},
{
"key": "field_donate_thankyou_cards",
"label": "Info Cards",
"name": "donate_thankyou_cards",
"type": "repeater",
"required": 0,
"min": 0,
"max": 6,
"layout": "block",
"button_label": "Add Card",
"instructions": "Information cards displayed in a grid below the heading.",
"sub_fields": [
{
"key": "field_donate_card_icon",
"label": "Icon",
"name": "card_icon",
"type": "image",
"required": 0,
"return_format": "array",
"preview_size": "thumbnail"
},
{
"key": "field_donate_card_title",
"label": "Title",
"name": "card_title",
"type": "text",
"required": 0,
"placeholder": "Card Title"
},
{
"key": "field_donate_card_description",
"label": "Description",
"name": "card_description",
"type": "textarea",
"required": 0,
"rows": 3
}
]
},
{
"key": "field_donate_tab_form",
"label": "Donation Form",
"name": "",
"type": "tab",
"placement": "top"
},
{
"key": "field_donate_form_heading",
"label": "Form Heading",
"name": "donate_form_heading",
"type": "text",
"required": 0,
"placeholder": "SOWING OPPORTUNITY!",
"instructions": "Heading above the donation form."
},
{
"key": "field_donate_form_description",
"label": "Form Description",
"name": "donate_form_description",
"type": "textarea",
"required": 0,
"rows": 4,
"instructions": "Description text below the form heading."
},
{
"key": "field_donate_form_amounts",
"label": "Donation Amounts",
"name": "donate_form_amounts",
"type": "text",
"required": 0,
"placeholder": "50,100,250,500,1000",
"instructions": "Comma-separated dollar amounts for the amount selector. Do not include $ signs."
},
{
"key": "field_donate_form_button_text",
"label": "Submit Button Text",
"name": "donate_form_button_text",
"type": "text",
"required": 0,
"default_value": "Donate Now",
"instructions": "Text for the form submit button."
},
{
"key": "field_donate_tax_notice",
"label": "Tax Notice",
"name": "donate_tax_notice",
"type": "textarea",
"required": 0,
"rows": 2,
"placeholder": "All donations are tax deductible to the fullest extent allowed by law.",
"instructions": "Tax deductibility notice displayed near the donation form."
}
],
"location": [
[
{
"param": "block",
"operator": "==",
"value": "acf/donate"
}
]
],
"position": "normal",
"style": "default",
"label_placement": "top",
"active": true
}