Skip to content

Instantly share code, notes, and snippets.

@skorasaurus
Created March 14, 2019 15:43
Show Gist options
  • Save skorasaurus/0127e76d30c397db98341a40e7bf197f to your computer and use it in GitHub Desktop.
Save skorasaurus/0127e76d30c397db98341a40e7bf197f to your computer and use it in GitHub Desktop.
[
{
"key": "group_5b9fc8c430d0a",
"title": "Home Slideshow",
"fields": [
{
"key": "field_57cec205ff109",
"label": "Link URL",
"name": "link_url",
"type": "text",
"instructions": "Add URL that this slide should link to.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "http:\/\/...",
"prepend": "",
"append": "",
"formatting": "none",
"maxlength": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "home_slide"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [],
"active": true,
"description": ""
},
{
"key": "group_5b9fc8c43aab2",
"title": "Home Topics",
"fields": [
{
"key": "field_57c7454052301",
"label": "Topic Icon",
"name": "topic_icon",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"preview_size": "thumbnail",
"library": "uploadedTo",
"return_format": "url",
"min_width": 0,
"min_height": 0,
"min_size": 0,
"max_width": 0,
"max_height": 0,
"max_size": 0,
"mime_types": ""
},
{
"key": "field_57c745d232958",
"label": "Link URL",
"name": "link_url",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "http:\/\/...",
"prepend": "",
"append": "",
"formatting": "none",
"maxlength": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "home_topics"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [
"permalink",
"the_content",
"excerpt",
"custom_fields",
"discussion",
"comments",
"revisions",
"slug",
"author",
"format",
"categories",
"tags",
"send-trackbacks"
],
"active": true,
"description": ""
},
{
"key": "group_5c23cd48412d0",
"title": "Libcal Inputs",
"fields": [
{
"key": "field_5c23cd4f97015",
"label": "Enter the category Number ?",
"name": "libcal_category_number",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5c65c65720916",
"label": "Location field",
"name": "libcal_location_field",
"type": "text",
"instructions": "what's the location field?",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
],
"location": [
[
{
"param": "page_template",
"operator": "==",
"value": "default"
}
],
[
{
"param": "page_template",
"operator": "==",
"value": "templates\/template-music-at-main.php"
}
],
[
{
"param": "post_type",
"operator": "==",
"value": "libcalquery"
}
],
[
{
"param": "post",
"operator": "!=",
"value": "9326"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": ""
},
{
"key": "group_5b9fc8c43f000",
"title": "locations_fg",
"fields": [
{
"key": "field_5b8993d72b65f",
"label": "Location Name",
"name": "location_name",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"formatting": "html",
"maxlength": ""
},
{
"key": "field_5c1aa0f78c84f",
"label": "Address",
"name": "location_address",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "br"
},
{
"key": "field_5c1aa0cb8c84e",
"label": "location url",
"name": "location_url",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": ""
},
{
"key": "field_5c59aa34ce92d",
"label": "Location Telephone",
"name": "location_telephone",
"type": "text",
"instructions": "Insert the telephone number, separated by hyphens; e.g. 216-623-2832",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5c59a854a8541",
"label": "Location email",
"name": "location_email",
"type": "email",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_5c59a7a3a8dfd",
"label": "Location Hours",
"name": "location_hours",
"type": "textarea",
"instructions": "i haven't decided whether this should be a free form text field or a checkbox with one of 2 values (main) and other locations",
"required": 0,
"conditional_logic": [
[
{
"field": "field_5b8993d72b65f",
"operator": "!=empty"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": ""
},
{
"key": "field_5c59a804c4f42",
"label": "Location Manager",
"name": "location_manager",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5c1aa18d4be94",
"label": "Location's Photo",
"name": "location_photo",
"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_5c1aa1d2edd84",
"label": "Location's History and archetecture",
"name": "location_history_arch",
"type": "textarea",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "wpautop"
},
{
"key": "field_5c2a784f37c6c",
"label": "Location's Amenities",
"name": "location_amenities",
"type": "checkbox",
"instructions": "for this field, toggle whether or not this amenity is available at the location.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"fax: Fax": "fax: Fax",
"teen_space": "Teen Space",
"maker_lab: Maker Lab": "maker_lab: Maker Lab",
"seedbank": "Seedbank",
"wifi": "wifi",
"computers": "computers",
"photocopies": "photocopies"
},
"allow_custom": 0,
"default_value": [],
"layout": "vertical",
"toggle": 1,
"return_format": "value",
"save_custom": 0
},
{
"key": "field_5c1aa154c04b2",
"label": "Location's Events",
"name": "locations_events",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": ""
}
],
"location": [
[
{
"param": "page_parent",
"operator": "==",
"value": "75"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [
"format",
"send-trackbacks"
],
"active": true,
"description": ""
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment