Last active
March 9, 2018 03:33
-
-
Save petertwise/b9c28dd9ee4cc2a13fa6547202de3d70 to your computer and use it in GitHub Desktop.
ACF all fields for testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "group_5aa17612b7168", | |
"title": "Page Fields with Gutenberg", | |
"fields": [ | |
{ | |
"key": "field_5aa1807a67935", | |
"label": "Message", | |
"name": "", | |
"type": "message", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"message": "Welcome to the ACF \/ Gutenberg Test Everything Field Group!\r\n\r\n<a href=\"https:\/\/github.com\/squarecandy\">Sqaure Candy on Github<\/a>\r\n\r\nAenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Maecenas sed diam eget risus varius blandit sit amet non magna. Curabitur blandit tempus porttitor. Cras mattis consectetur purus sit amet fermentum. Maecenas sed diam eget risus varius blandit sit amet non magna.\r\n\r\nCras mattis consectetur purus sit amet fermentum. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.", | |
"new_lines": "wpautop", | |
"esc_html": 0 | |
}, | |
{ | |
"key": "field_5aa1761f0c6fe", | |
"label": "Test Text", | |
"name": "test_text", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa184970f730", | |
"label": "Required Text Field", | |
"name": "required", | |
"type": "text", | |
"instructions": "", | |
"required": 1, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa17a8b5d512", | |
"label": "Test Textarea", | |
"name": "test_textarea", | |
"type": "textarea", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"maxlength": "", | |
"rows": "", | |
"new_lines": "" | |
}, | |
{ | |
"key": "field_5aa17aed5d513", | |
"label": "Test Number", | |
"name": "test_number", | |
"type": "number", | |
"instructions": "pick a number", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": 10, | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"min": 1, | |
"max": 100, | |
"step": 6 | |
}, | |
{ | |
"key": "field_5aa17afb5d514", | |
"label": "Test Range", | |
"name": "test_range", | |
"type": "range", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"min": "", | |
"max": "", | |
"step": 5, | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aa17b355d515", | |
"label": "Test Email", | |
"name": "test_email", | |
"type": "email", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aa17b465d516", | |
"label": "Test URL", | |
"name": "test_url", | |
"type": "url", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "" | |
}, | |
{ | |
"key": "field_5aa17b515d517", | |
"label": "Test Password", | |
"name": "test_password", | |
"type": "password", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_5aa176440c700", | |
"label": "Test Image", | |
"name": "test_image", | |
"type": "image", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"return_format": "array", | |
"preview_size": "thumbnail", | |
"library": "all", | |
"min_width": "", | |
"min_height": "", | |
"min_size": "", | |
"max_width": "", | |
"max_height": "", | |
"max_size": "", | |
"mime_types": "" | |
}, | |
{ | |
"key": "field_5aa17b615d518", | |
"label": "Test File", | |
"name": "test_file", | |
"type": "file", | |
"instructions": "upload your PDF file here.", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"return_format": "array", | |
"library": "all", | |
"min_size": "", | |
"max_size": 30, | |
"mime_types": "pdf" | |
}, | |
{ | |
"key": "field_5aa1ef38ac784", | |
"label": "WYSIWYG", | |
"name": "wysiwyg", | |
"type": "wysiwyg", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"tabs": "all", | |
"toolbar": "basic", | |
"media_upload": 0, | |
"delay": 0 | |
}, | |
{ | |
"key": "field_5aa17bed67921", | |
"label": "Test oEmbed", | |
"name": "test_oembed", | |
"type": "oembed", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"width": "", | |
"height": "" | |
}, | |
{ | |
"key": "field_5aa176870c702", | |
"label": "Test Repeater", | |
"name": "test_repeater", | |
"type": "repeater", | |
"instructions": "Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"collapsed": "", | |
"min": 0, | |
"max": 0, | |
"layout": "table", | |
"button_label": "", | |
"sub_fields": [ | |
{ | |
"key": "field_5aa176a50c703", | |
"label": "Field 1", | |
"name": "field_1", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "33", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa176b40c704", | |
"label": "test2", | |
"name": "test2", | |
"type": "url", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "33", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "" | |
}, | |
{ | |
"key": "field_5aa17d7967925", | |
"label": "", | |
"name": "", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
} | |
] | |
}, | |
{ | |
"key": "field_5aa17d0c67923", | |
"label": "Test Gallery", | |
"name": "gallery", | |
"type": "gallery", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"min": "", | |
"max": "", | |
"insert": "append", | |
"library": "all", | |
"min_width": "", | |
"min_height": "", | |
"min_size": "", | |
"max_width": "", | |
"max_height": "", | |
"max_size": "", | |
"mime_types": "" | |
}, | |
{ | |
"key": "field_5aa17d2467924", | |
"label": "Test Select", | |
"name": "test_select", | |
"type": "select", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"choices": { | |
"1": "Sesquipedalophobia - fear of long words", | |
"2": "Psychophobia - fear of mental illness", | |
"3": "Hylophobia - fear of trees, forests, wood", | |
"4": "Ailurophobia - fear of cats", | |
"5": "Atychiphobia - fear of failure", | |
"6": "Somniphobia - fear of sleep", | |
"7": "Haphephobia - fear of being touched" | |
}, | |
"default_value": [], | |
"allow_null": 0, | |
"multiple": 0, | |
"ui": 0, | |
"ajax": 0, | |
"return_format": "value", | |
"placeholder": "" | |
}, | |
{ | |
"key": "field_5aa17dfa67926", | |
"label": "Test Checkboxes", | |
"name": "test_checkboxes", | |
"type": "checkbox", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"choices": { | |
"1": "Sesquipedalophobia - fear of long words", | |
"2": "Psychophobia - fear of mental illness", | |
"3": "Hylophobia - fear of trees, forests, wood", | |
"4": "Ailurophobia - fear of cats", | |
"5": "Atychiphobia - fear of failure", | |
"6": "Somniphobia - fear of sleep", | |
"7": "Haphephobia - fear of being touched" | |
}, | |
"allow_custom": 0, | |
"save_custom": 0, | |
"default_value": [], | |
"layout": "vertical", | |
"toggle": 0, | |
"return_format": "value" | |
}, | |
{ | |
"key": "field_5aa17e9867927", | |
"label": "Test Checkboxes (horizontal)", | |
"name": "test_checkboxes_h", | |
"type": "checkbox", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"choices": { | |
"1": "Sesquipedalophobia - fear of long words", | |
"2": "Psychophobia - fear of mental illness", | |
"3": "Hylophobia - fear of trees, forests, wood", | |
"4": "Ailurophobia - fear of cats", | |
"5": "Atychiphobia - fear of failure", | |
"6": "Somniphobia - fear of sleep", | |
"7": "Haphephobia - fear of being touched" | |
}, | |
"allow_custom": 0, | |
"save_custom": 0, | |
"default_value": [], | |
"layout": "horizontal", | |
"toggle": 0, | |
"return_format": "value" | |
}, | |
{ | |
"key": "field_5aa17eac67928", | |
"label": "Test Radios", | |
"name": "test_radios", | |
"type": "radio", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"choices": { | |
"1": "Sesquipedalophobia", | |
"2": "Psychophobia", | |
"3": "Hylophobia", | |
"4": "Ailurophobia", | |
"5": "Atychiphobia", | |
"6": "Somniphobia", | |
"7": "Haphephobia" | |
}, | |
"allow_null": 0, | |
"other_choice": 0, | |
"save_other_choice": 0, | |
"default_value": "", | |
"layout": "horizontal", | |
"return_format": "value" | |
}, | |
{ | |
"key": "field_5aa17ed567929", | |
"label": "Button Group", | |
"name": "button_group", | |
"type": "button_group", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"choices": { | |
"red": "<span style=\"color:red;\">RED<\/span>", | |
"blue": "<span style=\"color:blue;\">BLUE<\/span>", | |
"green": "<span style=\"color:green;\">GREEN<\/span>", | |
"pink": "<span style=\"color:pink;\">PINK<\/span>" | |
}, | |
"allow_null": 1, | |
"default_value": "", | |
"layout": "horizontal", | |
"return_format": "value" | |
}, | |
{ | |
"key": "field_5aa17ee66792a", | |
"label": "True False", | |
"name": "true_false", | |
"type": "true_false", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"message": "Check here for truth.", | |
"default_value": 0, | |
"ui": 0, | |
"ui_on_text": "", | |
"ui_off_text": "" | |
}, | |
{ | |
"key": "field_5aa176710c701", | |
"label": "Test Link", | |
"name": "link", | |
"type": "link", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"return_format": "array" | |
}, | |
{ | |
"key": "field_5aa17f0c6792b", | |
"label": "Post Object", | |
"name": "post_object", | |
"type": "post_object", | |
"instructions": "Link to an existing Post of type \"post\".", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"post_type": [ | |
"post" | |
], | |
"taxonomy": [], | |
"allow_null": 0, | |
"multiple": 0, | |
"return_format": "object", | |
"ui": 1 | |
}, | |
{ | |
"key": "field_5aa17f416792c", | |
"label": "Page Link", | |
"name": "page_link", | |
"type": "page_link", | |
"instructions": "Choose a page link (filtered to posts and pages)", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"post_type": [ | |
"page", | |
"post" | |
], | |
"taxonomy": [], | |
"allow_null": 0, | |
"allow_archives": 1, | |
"multiple": 0 | |
}, | |
{ | |
"key": "field_5aa17f786792d", | |
"label": "Relationship", | |
"name": "relationship", | |
"type": "relationship", | |
"instructions": "restricted to the 'post' post-type", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"post_type": [ | |
"post" | |
], | |
"taxonomy": [], | |
"filters": [ | |
"search", | |
"post_type", | |
"taxonomy" | |
], | |
"elements": "", | |
"min": "", | |
"max": "", | |
"return_format": "object" | |
}, | |
{ | |
"key": "field_5aa17fb26792e", | |
"label": "Taxonomy", | |
"name": "taxonomy", | |
"type": "taxonomy", | |
"instructions": "Choose a post tag.", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"taxonomy": "post_tag", | |
"field_type": "checkbox", | |
"allow_null": 0, | |
"add_term": 1, | |
"save_terms": 1, | |
"load_terms": 1, | |
"return_format": "object", | |
"multiple": 0 | |
}, | |
{ | |
"key": "field_5aa17ffd6792f", | |
"label": "Test User Select", | |
"name": "test_user_select", | |
"type": "user", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"role": "", | |
"allow_null": 0, | |
"multiple": 0, | |
"return_format": "array" | |
}, | |
{ | |
"key": "field_5aa1801867930", | |
"label": "Google Map", | |
"name": "google_map", | |
"type": "google_map", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"center_lat": "", | |
"center_lng": "", | |
"zoom": "", | |
"height": "" | |
}, | |
{ | |
"key": "field_5aa1802667931", | |
"label": "Date Picker", | |
"name": "date_picker", | |
"type": "date_picker", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"display_format": "d\/m\/Y", | |
"return_format": "d\/m\/Y", | |
"first_day": 1 | |
}, | |
{ | |
"key": "field_5aa1804167932", | |
"label": "Time Picker", | |
"name": "time_picker", | |
"type": "time_picker", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"display_format": "g:i a", | |
"return_format": "g:i a" | |
}, | |
{ | |
"key": "field_5aa1805c67933", | |
"label": "Date Time Picker", | |
"name": "date_time_picker", | |
"type": "date_time_picker", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"display_format": "d\/m\/Y g:i a", | |
"return_format": "d\/m\/Y g:i a", | |
"first_day": 1 | |
}, | |
{ | |
"key": "field_5aa1806967934", | |
"label": "Color Picker", | |
"name": "color_picker", | |
"type": "color_picker", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "" | |
}, | |
{ | |
"key": "field_5aa181aa6793b", | |
"label": "Group", | |
"name": "group", | |
"type": "group", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"layout": "block", | |
"sub_fields": [ | |
{ | |
"key": "field_5aa182056793c", | |
"label": "Group Subfield 1", | |
"name": "group_subfield_1", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa182116793d", | |
"label": "Group Subfield 2", | |
"name": "group_subfield_2", | |
"type": "link", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"return_format": "array" | |
} | |
] | |
}, | |
{ | |
"key": "field_5aa182306793e", | |
"label": "Flexible Content", | |
"name": "flexible_content", | |
"type": "flexible_content", | |
"instructions": "The new Gutenberg system is really similar to the Flexible content feature of ACF. Curious to see how this all shakes out...", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"layouts": { | |
"5aa182419ee8e": { | |
"key": "5aa182419ee8e", | |
"name": "basic_text", | |
"label": "Basic Text", | |
"display": "block", | |
"sub_fields": [ | |
{ | |
"key": "field_5aa182a46793f", | |
"label": "Title", | |
"name": "test", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa1834be0181", | |
"label": "Body", | |
"name": "body", | |
"type": "textarea", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"maxlength": "", | |
"rows": "", | |
"new_lines": "" | |
} | |
], | |
"min": "", | |
"max": "" | |
}, | |
"5aa18330e017f": { | |
"key": "5aa18330e017f", | |
"name": "two_columns", | |
"label": "Two Columns", | |
"display": "block", | |
"sub_fields": [ | |
{ | |
"key": "field_5aa18338e0180", | |
"label": "Left", | |
"name": "left", | |
"type": "textarea", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "50", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"maxlength": "", | |
"rows": "", | |
"new_lines": "" | |
}, | |
{ | |
"key": "field_5aa1835ae0182", | |
"label": "Right", | |
"name": "right", | |
"type": "textarea", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "50", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"maxlength": "", | |
"rows": "", | |
"new_lines": "" | |
} | |
], | |
"min": "", | |
"max": "" | |
}, | |
"5aa18378e0184": { | |
"key": "5aa18378e0184", | |
"name": "image_and_text", | |
"label": "Image and Text", | |
"display": "block", | |
"sub_fields": [ | |
{ | |
"key": "field_5aa1838fe0185", | |
"label": "Image", | |
"name": "image", | |
"type": "image", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "50", | |
"class": "", | |
"id": "" | |
}, | |
"return_format": "array", | |
"preview_size": "thumbnail", | |
"library": "all", | |
"min_width": "", | |
"min_height": "", | |
"min_size": "", | |
"max_width": "", | |
"max_height": "", | |
"max_size": "", | |
"mime_types": "" | |
}, | |
{ | |
"key": "field_5aa183bee0186", | |
"label": "Text", | |
"name": "text", | |
"type": "wysiwyg", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"tabs": "all", | |
"toolbar": "basic", | |
"media_upload": 0, | |
"delay": 0 | |
} | |
], | |
"min": "", | |
"max": "" | |
} | |
}, | |
"button_label": "Add Row", | |
"min": "", | |
"max": "" | |
}, | |
{ | |
"key": "field_5aa183dce0187", | |
"label": "Clone", | |
"name": "clone", | |
"type": "clone", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"clone": [ | |
"field_5aa1761f0c6fe", | |
"field_5aa17a8b5d512" | |
], | |
"display": "seamless", | |
"layout": "block", | |
"prefix_label": 1, | |
"prefix_name": 1 | |
}, | |
{ | |
"key": "field_5aa1840ee0188", | |
"label": "Conditional", | |
"name": "conditional", | |
"type": "true_false", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"message": "Show some more fields", | |
"default_value": 0, | |
"ui": 0, | |
"ui_on_text": "", | |
"ui_off_text": "" | |
}, | |
{ | |
"key": "field_5aa18437e0189", | |
"label": "Optional Field Group", | |
"name": "optional_field_group", | |
"type": "group", | |
"instructions": "This field group is hidden by default with conditional logic", | |
"required": 0, | |
"conditional_logic": [ | |
[ | |
{ | |
"field": "field_5aa1840ee0188", | |
"operator": "==", | |
"value": "1" | |
} | |
] | |
], | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"layout": "block", | |
"sub_fields": [ | |
{ | |
"key": "field_5aa18478e018a", | |
"label": "Optional 1", | |
"name": "optional_1", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa18481e018b", | |
"label": "Optional 2", | |
"name": "optional_2", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
} | |
] | |
}, | |
{ | |
"key": "field_5aa1815c67938", | |
"label": "Tab", | |
"name": "", | |
"type": "tab", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placement": "top", | |
"endpoint": 0 | |
}, | |
{ | |
"key": "field_5aa19041a09e7", | |
"label": "Tab field 1", | |
"name": "tab_field_1", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa1904ba09e8", | |
"label": "Tab Field 2", | |
"name": "tab_field_2", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa18f84a09e6", | |
"label": "Tab 2", | |
"name": "", | |
"type": "tab", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placement": "top", | |
"endpoint": 0 | |
}, | |
{ | |
"key": "field_5aa19062a09e9", | |
"label": "Tab field 3", | |
"name": "tab_field_3", | |
"type": "textarea", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"maxlength": "", | |
"rows": "", | |
"new_lines": "" | |
}, | |
{ | |
"key": "field_5aa19076a09ea", | |
"label": "Tab field 4", | |
"name": "tab_field_4", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
}, | |
{ | |
"key": "field_5aa1907ea09eb", | |
"label": "", | |
"name": "", | |
"type": "tab", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"placement": "top", | |
"endpoint": 1 | |
}, | |
{ | |
"key": "field_5aa19089a09ec", | |
"label": "After Tabs field", | |
"name": "after_tabs_field", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "" | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "post_type", | |
"operator": "==", | |
"value": "page" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": 1, | |
"description": "" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment