Skip to content

Instantly share code, notes, and snippets.

@mvaneijgen
Created June 18, 2020 12:54
Show Gist options
  • Save mvaneijgen/7cbee803aa6591f57fa8109c455c09b6 to your computer and use it in GitHub Desktop.
Save mvaneijgen/7cbee803aa6591f57fa8109c455c09b6 to your computer and use it in GitHub Desktop.
{
"key": "group_58f9b55cdbf02",
"title": "Flex",
"fields": [
{
"key": "field_58f9b56154b9a",
"label": "Contentblokken",
"name": "content-blocks",
"type": "flexible_content",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layouts": {
"58f9b567153f2": {
"key": "58f9b567153f2",
"name": "content",
"label": "???? Content",
"display": "block",
"sub_fields": [
{
"key": "field_58f9b59b54b9e",
"label": "Content",
"name": "content",
"type": "wysiwyg",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
},
{
"key": "field_5cadeb3a5c15b",
"label": "Call to action",
"name": "cta",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_5b4efd75caed8"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"58f9b58254b9c": {
"key": "58f9b58254b9c",
"name": "column_content",
"label": "⏸ Content Kolommen",
"display": "block",
"sub_fields": [
{
"key": "field_58f9b5ca54b9f",
"label": "Kolommen",
"name": "columns",
"type": "repeater",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"collapsed": "",
"min": 1,
"max": 4,
"layout": "table",
"button_label": "+ Column",
"sub_fields": [
{
"key": "field_58f9b5e654ba0",
"label": "Kolom",
"name": "column",
"type": "wysiwyg",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
}
]
}
],
"min": "",
"max": ""
},
"layout_5cadec3d5c15d": {
"key": "layout_5cadec3d5c15d",
"name": "content_in_blue",
"label": "???? Content in blauw",
"display": "block",
"sub_fields": [
{
"key": "field_5caded0c5c163",
"label": "Call to action",
"name": "call_to_action",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_5b4efd75caed8"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
},
{
"key": "field_5cadecf15c161",
"label": "Afbeelding boven blok",
"name": "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": "",
"show_column": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
},
{
"key": "field_5caded035c162",
"label": "Content",
"name": "content",
"type": "wysiwyg",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
}
],
"min": "",
"max": ""
},
"58f9b7c854ba9": {
"key": "58f9b7c854ba9",
"name": "quote",
"label": "???? Quote",
"display": "block",
"sub_fields": [
{
"key": "field_58f9b7de54bab",
"label": "Afzender",
"name": "caption",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
},
{
"key": "field_58f9b80754bac",
"label": "Link",
"name": "link",
"type": "link",
"instructions": "Should the quote text link somewhere?",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"return_format": "array"
},
{
"key": "field_5cadeb8f5c15c",
"label": "Foto",
"name": "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": "",
"show_column": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
},
{
"key": "field_58f9b7d154baa",
"label": "Quote",
"name": "text",
"type": "textarea",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": 2,
"new_lines": "wpautop",
"show_column": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
}
],
"min": "",
"max": ""
},
"58f9b58154b9b": {
"key": "58f9b58154b9b",
"name": "photo",
"label": "???? Afbeelding",
"display": "block",
"sub_fields": [
{
"key": "field_58f9b9e767ebc",
"label": "Breed of smal",
"name": "wide_or_narrow",
"type": "radio",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"wide": "Breed",
"narrow": "Smal"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "Wide",
"layout": "horizontal",
"return_format": "value",
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0,
"save_other_choice": 0
},
{
"key": "field_58f9b61154ba1",
"label": "Afbeelding",
"name": "image",
"type": "image",
"instructions": "",
"required": 1,
"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": "",
"show_column": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
},
{
"key": "field_58f9b68154ba2",
"label": "Onderschrift",
"name": "caption",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": 2,
"new_lines": "wpautop",
"show_column": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
}
],
"min": "",
"max": ""
},
"layout_5ccac13ad2307": {
"key": "layout_5ccac13ad2307",
"name": "photoslider_or_grid",
"label": "???? Fotoslider of fotogrid",
"display": "block",
"sub_fields": [
{
"key": "field_5ccac13fd2308",
"label": "Afbeeldingen",
"name": "imgs",
"type": "gallery",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"min": "",
"max": 15,
"insert": "append",
"library": "all",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "",
"show_column": 0,
"show_column_weight": 1000,
"return_format": "array",
"preview_size": "medium"
},
{
"key": "field_5ccac16cd2309",
"label": "Slider of grid?",
"name": "slider_or_grid",
"type": "radio",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"Slider": "Slider",
"Grid": "Grid"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "Slider",
"layout": "horizontal",
"return_format": "value",
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0,
"save_other_choice": 0
}
],
"min": "",
"max": ""
},
"layout_5cadec835c15f": {
"key": "layout_5cadec835c15f",
"name": "call_to_action",
"label": "???? Call to action",
"display": "block",
"sub_fields": [
{
"key": "field_5cadecb65c160",
"label": "Call to action",
"name": "cta",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_5b4efd75caed8"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_5caded295c164": {
"key": "layout_5caded295c164",
"name": "call_to_action_bar",
"label": "???? Call to action balk",
"display": "block",
"sub_fields": [
{
"key": "field_5caded5f5c165",
"label": "Tekst",
"name": "text",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
},
{
"key": "field_5caded695c166",
"label": "Link",
"name": "link",
"type": "link",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"return_format": "array"
}
],
"min": "",
"max": ""
},
"58f9b69654ba3": {
"key": "58f9b69654ba3",
"name": "contact_form",
"label": "???? Contactformulier",
"display": "block",
"sub_fields": [
{
"key": "field_58f9b6a254ba4",
"label": "Content",
"name": "text",
"type": "wysiwyg",
"instructions": "",
"required": 1,
"conditional_logic": [
[
{
"field": "field_5cadeda25c167",
"operator": "==",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0
},
{
"key": "field_58f9b77c54ba8",
"label": "Form",
"name": "form",
"type": "radio",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "64",
"class": "",
"id": ""
},
"choices": {
"Contactformulier": "Contactformulier"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "Contactformulier",
"layout": "horizontal",
"return_format": "value",
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0,
"save_other_choice": 0
},
{
"key": "field_5cadeda25c167",
"label": "Voeg tekst toe?",
"name": "add_text",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "35",
"class": "",
"id": ""
},
"message": "",
"default_value": 0,
"ui": 0,
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0,
"ui_on_text": "",
"ui_off_text": ""
}
],
"min": "",
"max": ""
},
"layout_5cadec7f5c15e": {
"key": "layout_5cadec7f5c15e",
"name": "data_row",
"label": "???? Data rij",
"display": "block",
"sub_fields": [
{
"key": "field_5cadee0d5c168",
"label": "Datapunten",
"name": "data",
"type": "repeater",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"collapsed": "",
"min": 1,
"max": 6,
"layout": "table",
"button_label": "Voeg datapunt toe",
"sub_fields": [
{
"key": "field_5cadee305c169",
"label": "Icoon",
"name": "image",
"type": "image",
"instructions": "",
"required": 1,
"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": "",
"show_column": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
},
{
"key": "field_5cadee3d5c16a",
"label": "Data",
"name": "data",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000
},
{
"key": "field_5cadee475c16b",
"label": "Beschrijving",
"name": "caption",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000
}
]
}
],
"min": "",
"max": ""
},
"layout_5cadee695c16c": {
"key": "layout_5cadee695c16c",
"name": "3_blocks",
"label": "???? 3 blokken naast elkaar",
"display": "block",
"sub_fields": [
{
"key": "field_5cadee8a5c16d",
"label": "Blokken",
"name": "blocks",
"type": "repeater",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"collapsed": "",
"min": 3,
"max": 3,
"layout": "table",
"button_label": "Voeg blok toe",
"sub_fields": [
{
"key": "field_5cadeea35c16e",
"label": "Afbeelding",
"name": "image",
"type": "image",
"instructions": "",
"required": 1,
"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": "",
"show_column": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0
},
{
"key": "field_5cadeeb45c16f",
"label": "Content",
"name": "content",
"type": "wysiwyg",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 0,
"delay": 0
}
]
}
],
"min": "",
"max": ""
},
"layout_5cadeed15c170": {
"key": "layout_5cadeed15c170",
"name": "aanbod_row",
"label": "???? Aanbod categorieën rij",
"display": "block",
"sub_fields": [
{
"key": "field_5cadef2d5c171",
"label": "Aanbod categorieën",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "64",
"class": "",
"id": ""
},
"message": "[Hier laden we de aanbod categorieën in.]",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_5cadef6d5c172",
"label": "Compact of uitgebreid?",
"name": "extensive_compact",
"type": "radio",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "61",
"class": "",
"id": ""
},
"choices": {
"compact": "Compact",
"uitgebreid": "Uitgebreid"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "compact",
"layout": "horizontal",
"return_format": "value",
"show_column": 0,
"show_column_sortable": 0,
"show_column_weight": 1000,
"allow_quickedit": 0,
"allow_bulkedit": 0,
"save_other_choice": 0
}
],
"min": "",
"max": ""
}
},
"button_label": "✏️ Voeg toe",
"min": "",
"max": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "post"
}
],
[
{
"param": "post_type",
"operator": "==",
"value": "page"
}
],
[
{
"param": "post_type",
"operator": "==",
"value": "leernetwerken"
}
],
[
{
"param": "post_type",
"operator": "==",
"value": "uitgelichte_cursus"
}
],
[
{
"param": "post_type",
"operator": "==",
"value": "extra_aanbod"
}
],
[
{
"param": "post_type",
"operator": "==",
"value": "landingpages"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": 1,
"description": "",
"modified": 1582712121
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment