Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save 465media/709e9eaaffe4d120a2fc62ad81c594f3 to your computer and use it in GitHub Desktop.

Select an option

Save 465media/709e9eaaffe4d120a2fc62ad81c594f3 to your computer and use it in GitHub Desktop.
ACF Export for field Groups
[
{
"key": "group_66aa8a860a823",
"title": "Post Fields",
"fields": [
{
"key": "field_67a3c27866291",
"label": "Select Traveler",
"name": "select_traveler",
"aria-label": "",
"type": "relationship",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"post_type": [
"traveler"
],
"post_status": "",
"taxonomy": "",
"filters": [
"search"
],
"return_format": "object",
"acfe_add_post": 0,
"acfe_edit_post": 1,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": true,
"acfe_bidirectional_related": [
"field_67ffe88701d79"
]
},
"min": "",
"max": "",
"allow_in_bindings": 1,
"elements": "",
"bidirectional": 1,
"bidirectional_target": [
"field_67ffe88701d79"
]
},
{
"key": "field_67e17493993eb",
"label": "Years of Travel",
"name": "years_of_travel",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"field_67a3bba6d169c"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
},
{
"key": "field_66aa9a4b20ca7",
"label": "Street Address",
"name": "street_address",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_66aa8a864eaf5",
"label": "Map Location",
"name": "map_location",
"aria-label": "",
"type": "google_map",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"center_lat": "",
"center_lng": "",
"zoom": "",
"height": "",
"default_value": "",
"acfe_google_map_zooms": {
"zoom": 2,
"min_zoom": 0,
"max_zoom": 21
},
"acfe_google_map_marker_icon": "",
"acfe_google_map_marker_height": 50,
"acfe_google_map_marker_width": 50,
"acfe_google_map_type": "roadmap",
"acfe_google_map_disable_ui": false,
"acfe_google_map_disable_zoom_control": false,
"acfe_google_map_disable_map_type": false,
"acfe_google_map_disable_fullscreen": false,
"acfe_google_map_disable_streetview": false,
"acfe_google_map_style": "",
"acfe_google_map_key": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "post"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 1,
"acfe_autosync": "",
"acfe_form": 0,
"acfe_display_title": "",
"acfe_meta": "",
"acfe_note": ""
},
{
"key": "group_67a3c3481f1c9",
"title": "Travelers Custom Fields",
"fields": [
{
"key": "field_67ffe88701d79",
"label": "Related Posts",
"name": "related_posts",
"aria-label": "",
"type": "relationship",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"post"
],
"post_status": "",
"taxonomy": "",
"filters": [
"search"
],
"return_format": "object",
"acfe_add_post": 0,
"acfe_edit_post": 0,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "1",
"acfe_bidirectional_related": [
"field_67a3c27866291"
]
},
"min": "",
"max": "",
"allow_in_bindings": 0,
"elements": [
"featured_image"
],
"bidirectional": 1,
"bidirectional_target": [
"field_67a3c27866291"
]
},
{
"key": "field_67f02fa4ec7c9",
"label": "Secondary Text",
"name": "secondary_text",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0,
"acfe_wysiwyg_auto_init": 0,
"acfe_wysiwyg_height": 300,
"acfe_wysiwyg_min_height": 300,
"acfe_wysiwyg_max_height": "",
"acfe_wysiwyg_valid_elements": "",
"acfe_wysiwyg_custom_style": "",
"acfe_wysiwyg_disable_wp_style": 0,
"acfe_wysiwyg_autoresize": 0,
"acfe_wysiwyg_disable_resize": 0,
"acfe_wysiwyg_remove_path": 0,
"acfe_wysiwyg_menubar": 0,
"acfe_wysiwyg_transparent": 0,
"acfe_wysiwyg_merge_toolbar": 0,
"acfe_wysiwyg_custom_toolbar": 0,
"acfe_wysiwyg_toolbar_buttons": []
},
{
"key": "field_67a3cb457d64e",
"label": "Select User",
"name": "select_user",
"aria-label": "",
"type": "user",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "30",
"class": "",
"id": ""
},
"role": "",
"return_format": "array",
"multiple": 0,
"allow_null": 0,
"allow_in_bindings": 0,
"bidirectional": 0,
"bidirectional_target": [],
"min": "",
"max": ""
},
{
"key": "field_67e30773c1129",
"label": "Country\/Location",
"name": "country_location",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67a3bba6d169c",
"label": "Year of Travel",
"name": "year_of_travel",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "22",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 1,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67e165f0f9080",
"label": "Project Name",
"name": "project_name",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "22",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67e165cf60916",
"label": "Sponsored Organization",
"name": "sponsored_organization_",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67f56529a979e",
"label": "Map Location",
"name": "map_location",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 1,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67a3c835ac066",
"label": "Custom Fields",
"name": "",
"aria-label": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "left",
"endpoint": 0,
"selected": 0,
"no_preference": 0
},
{
"key": "field_67a3c41633b08",
"label": "Social Links",
"name": "social_links",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"sub_fields": [
{
"key": "field_67a3c348d8c78",
"label": "Facebook Link",
"name": "facebook_link",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": ""
},
{
"key": "field_67a3c38cd8c79",
"label": "LinkedIn Link",
"name": "linkedin_link",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": ""
},
{
"key": "field_67a3c39cd8c7a",
"label": "Email Link",
"name": "email_link",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 1,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67a3c3bdd8c7b",
"label": "Instagram Link",
"name": "instagram_link",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": ""
}
],
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large"
},
{
"key": "field_67a3c906dfc80",
"label": "More About Me",
"name": "",
"aria-label": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0,
"selected": 0,
"no_preference": 0
},
{
"key": "field_67a3c88de4e3e",
"label": "Additional Information",
"name": "additional_information",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"sub_fields": [
{
"key": "field_67a3c8b3e4e3f",
"label": "Home Town",
"name": "home_town",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "22",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67a3c8c3e4e40",
"label": "Major(s)",
"name": "majors",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "22",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67a3c8dee4e41",
"label": "Country",
"name": "country",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "22",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_67a3c8e7e4e42",
"label": "Continent",
"name": "continent",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
}
],
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large"
},
{
"key": "field_67a3c98fbc8a2",
"label": "Country Highlights",
"name": "",
"aria-label": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "left",
"endpoint": 0,
"selected": 0,
"no_preference": 0
},
{
"key": "field_67a3c9c044924",
"label": "Highlights",
"name": "highlights",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"sub_fields": [
{
"key": "field_67a3c9cf44925",
"label": "Popular music right now",
"name": "popular_music_right_now",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"rows": "",
"placeholder": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_67a3c9eb44926",
"label": "Favorite food I’ve tried",
"name": "favorite_food_i’ve_tried",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"rows": "",
"placeholder": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_67a3ca0844927",
"label": "Typical weather right now",
"name": "typical_weather_right_now",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"rows": "",
"placeholder": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_67a3ca1144928",
"label": "Lorem ipsum dolor",
"name": "lorem_ipsum_dolor",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"rows": "",
"placeholder": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_67a3ca2a44929",
"label": "Lorem ipsum dolor2",
"name": "lorem_ipsum_dolor2",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"rows": "",
"placeholder": "",
"new_lines": "",
"acfe_textarea_code": 0
}
],
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "traveler"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 1,
"acfe_autosync": "",
"acfe_form": 0,
"acfe_display_title": "",
"acfe_meta": "",
"acfe_note": ""
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment