Skip to content

Instantly share code, notes, and snippets.

@erip2
Created August 13, 2019 18:52
Show Gist options
  • Save erip2/5f1b4b4839bd7e6bb126079e7ec49fed to your computer and use it in GitHub Desktop.
Save erip2/5f1b4b4839bd7e6bb126079e7ec49fed to your computer and use it in GitHub Desktop.
{
"key": "group_5b07d49a8f3ed",
"title": "Component - Flexible Contents ( news )",
"fields": [
{
"key": "field_5b07d49a94e17",
"label": "Contents",
"name": "contents",
"type": "flexible_content",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layouts": {
"layout_lead": {
"key": "layout_lead",
"name": "lead",
"label": "Lead",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99ad8",
"label": "Content Lead",
"name": "content_lead",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_lead"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_text": {
"key": "layout_text",
"name": "text",
"label": "Text",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99afb",
"label": "Content Text1",
"name": "content_text",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_text"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_custom_text": {
"key": "layout_custom_text",
"name": "custom_text",
"label": "Custom Text",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99b0e",
"label": "Content Custom Text",
"name": "content_custom_text",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_custom_text"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_image": {
"key": "layout_image",
"name": "image",
"label": "Image",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99b20",
"label": "Content Image",
"name": "content",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_image"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_video": {
"key": "layout_video",
"name": "video",
"label": "Video",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99b31",
"label": "Content Video",
"name": "content_video",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_video"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_gallery": {
"key": "layout_gallery",
"name": "gallery",
"label": "Gallery",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99b41",
"label": "Content Gallery",
"name": "content_gallery",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_gallery"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_quote": {
"key": "layout_quote",
"name": "quote",
"label": "Quote",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99b62",
"label": "Content Quote",
"name": "content_quote",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_quote"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_table": {
"key": "layout_table",
"name": "table",
"label": "Table",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99b74",
"label": "Content Table",
"name": "content_table",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_table"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_iframe": {
"key": "layout_iframe",
"name": "embed",
"label": "Embed",
"display": "block",
"sub_fields": [
{
"key": "field_5b07d49a99b84",
"label": "Content Embed",
"name": "content_embed",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_content_iframe"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
],
"min": "",
"max": ""
},
"layout_5d52c016710c0": {
"key": "layout_5d52c016710c0",
"name": "form",
"label": "Form",
"display": "block",
"sub_fields": [
{
"key": "field_5d52c05a710c1",
"label": "Content Form",
"name": "content_form",
"type": "post_object",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"wpcf7_contact_form"
],
"taxonomy": "",
"allow_null": 0,
"multiple": 0,
"return_format": "object",
"ui": 1
}
],
"min": "",
"max": ""
}
},
"button_label": "Add a content block",
"min": "",
"max": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "post"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [
"the_content",
"discussion",
"comments",
"revisions",
"slug",
"format",
"categories",
"tags",
"send-trackbacks"
],
"active": 0,
"description": "All the Content Blocks available on for the content section on the page.",
"modified": 1565722142
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment