acf-advent_day.json 5.88 KB
Newer Older
Mike Little's avatar
Mike Little committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
[
    {
        "key": "group_5bd9b4f73bcbc",
        "title": "Advent Calendar Details",
        "fields": [
            {
                "key": "field_5bd9b5110df6a",
                "label": "Image",
                "name": "acd_image",
                "type": "image",
                "instructions": "",
                "required": 0,
                "conditional_logic": 0,
                "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                },
                "return_format": "array",
                "preview_size": "medium",
                "library": "all",
                "min_width": "",
                "min_height": "",
                "min_size": "",
                "max_width": "",
                "max_height": "",
                "max_size": "",
                "mime_types": ""
            },
            {
                "key": "field_5bd9b5420df6b",
                "label": "Video",
                "name": "acd_video",
                "type": "oembed",
                "instructions": "Paste a YouTube, Vimeo or other video here.",
                "required": 0,
                "conditional_logic": 0,
                "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                },
                "width": "",
                "height": ""
            },
            {
                "key": "field_5bd9b59b0df6d",
                "label": "Alt Description",
                "name": "acd_alt_description",
                "type": "text",
                "instructions": "Add a brief description of the image for non-visual visitors.",
                "required": 0,
                "conditional_logic": 0,
                "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                },
                "default_value": "",
                "placeholder": "",
                "prepend": "",
                "append": "",
                "maxlength": ""
            },
            {
                "key": "field_5bdc3883eff0d",
                "label": "Motto or Joke?",
                "name": "acd_motto_or_joke",
                "type": "radio",
                "instructions": "",
                "required": 0,
                "conditional_logic": 0,
                "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                },
                "choices": {
                    "motto": "Motto",
                    "joke": "Joke"
                },
                "allow_null": 0,
                "other_choice": 0,
                "default_value": "motto",
                "layout": "horizontal",
                "return_format": "value",
                "save_other_choice": 0
            },
            {
                "key": "field_5bd9b57a0df6c",
                "label": "Motto or Short message",
                "name": "acd_short_message",
                "type": "text",
                "instructions": "Add a short message or motto.",
                "required": 0,
                "conditional_logic": [
                    [
                        {
                            "field": "field_5bdc3883eff0d",
                            "operator": "==",
                            "value": "motto"
                        }
                    ]
                ],
                "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                },
                "default_value": "",
                "placeholder": "",
                "prepend": "",
                "append": "",
                "maxlength": ""
            },
            {
                "key": "field_5bdc38e6eff0e",
                "label": "Joke Question",
                "name": "acd_joke_question",
                "type": "text",
                "instructions": "",
                "required": 0,
                "conditional_logic": [
                    [
                        {
                            "field": "field_5bdc3883eff0d",
                            "operator": "==",
                            "value": "joke"
                        }
                    ]
                ],
                "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                },
                "default_value": "",
                "placeholder": "",
                "prepend": "",
                "append": "",
                "maxlength": ""
            },
            {
                "key": "field_5bdc390eeff0f",
                "label": "Joke Answer",
                "name": "acd_joke_answer",
                "type": "text",
                "instructions": "",
                "required": 0,
                "conditional_logic": [
                    [
                        {
                            "field": "field_5bdc3883eff0d",
                            "operator": "==",
                            "value": "joke"
                        }
                    ]
                ],
                "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                },
                "default_value": "",
                "placeholder": "",
                "prepend": "",
                "append": "",
                "maxlength": ""
            }
        ],
        "location": [
            [
                {
                    "param": "post_type",
                    "operator": "==",
                    "value": "advent_day"
                }
            ]
        ],
        "menu_order": 0,
        "position": "normal",
        "style": "default",
        "label_placement": "top",
        "instruction_placement": "label",
        "hide_on_screen": "",
        "active": 1,
        "description": ""
    }
]