Skip to content

Instantly share code, notes, and snippets.

@jasperf
Created November 1, 2021 03:08
Show Gist options
  • Save jasperf/1d3d97264a50b92922407c793226de37 to your computer and use it in GitHub Desktop.
Save jasperf/1d3d97264a50b92922407c793226de37 to your computer and use it in GitHub Desktop.
ACF Dynamic Fields Group
[
{
"key": "group_617a8b17d7b17",
"title": "Dynamic Event Block Fields",
"fields": [
{
"key": "field_617a8b25ff4c6",
"label": "Number of Events",
"name": "number_of_events",
"type": "range",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"min": "",
"max": "",
"step": "",
"prepend": "",
"append": ""
},
{
"key": "field_617a8bcf63cb3",
"label": "Events Category",
"name": "events_category",
"type": "taxonomy",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"taxonomy": "event_category",
"field_type": "multi_select",
"allow_null": 0,
"add_term": 1,
"save_terms": 0,
"load_terms": 0,
"return_format": "object",
"multiple": 0
}
],
"location": [
[
{
"param": "block",
"operator": "==",
"value": "acf\/block-dynamic-events"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": ""
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment