Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "key": "group_58f908c79edc2",
- "title": "Story Modules",
- "fields": [
- {
- "key": "field_58f90b2924bfd",
- "label": "Module",
- "name": "module",
- "type": "repeater",
- "instructions": "",
- "required": 0,
- "conditional_logic": 0,
- "wrapper": {
- "width": "",
- "class": "",
- "id": ""
- },
- "collapsed": "",
- "min": 0,
- "max": 0,
- "layout": "row",
- "button_label": "Add module",
- "sub_fields": [
- {
- "key": "field_58f90b3724bfe",
- "label": "Module title",
- "name": "module_title",
- "type": "text",
- "instructions": "",
- "required": 0,
- "conditional_logic": 0,
- "wrapper": {
- "width": "",
- "class": "",
- "id": ""
- },
- "default_value": "",
- "placeholder": "",
- "prepend": "",
- "append": "",
- "maxlength": ""
- },
- {
- "key": "field_58f9158b409e7",
- "label": "Position",
- "name": "position",
- "type": "number",
- "instructions": "Position (appears after # number of stories in feed)",
- "required": 1,
- "conditional_logic": 0,
- "wrapper": {
- "width": "",
- "class": "",
- "id": ""
- },
- "default_value": 0,
- "placeholder": "",
- "prepend": "",
- "append": "",
- "min": "",
- "max": "",
- "step": ""
- },
- {
- "key": "field_58f90b3c24bff",
- "label": "Module type",
- "name": "module_type",
- "type": "select",
- "instructions": "",
- "required": 0,
- "conditional_logic": 0,
- "wrapper": {
- "width": "",
- "class": "",
- "id": ""
- },
- "choices": {
- "automated": "Automated",
- "curated": "Curated"
- },
- "default_value": [
- "automated"
- ],
- "allow_null": 0,
- "multiple": 0,
- "ui": 0,
- "ajax": 0,
- "return_format": "value",
- "placeholder": ""
- },
- {
- "key": "field_58f90bf524c00",
- "label": "Tag",
- "name": "tag",
- "type": "taxonomy",
- "instructions": "Select a tag to show up to 4 posts related to it.",
- "required": 0,
- "conditional_logic": [
- [
- {
- "field": "field_58f90b3c24bff",
- "operator": "==",
- "value": "automated"
- }
- ]
- ],
- "wrapper": {
- "width": "",
- "class": "",
- "id": ""
- },
- "taxonomy": "post_tag",
- "field_type": "select",
- "allow_null": 0,
- "add_term": 0,
- "save_terms": 0,
- "load_terms": 0,
- "return_format": "id",
- "multiple": 0
- },
- {
- "key": "field_58f90c1d24c01",
- "label": "Posts",
- "name": "module_posts",
- "type": "relationship",
- "instructions": "Select up to 4 posts",
- "required": 0,
- "conditional_logic": [
- [
- {
- "field": "field_58f90b3c24bff",
- "operator": "==",
- "value": "curated"
- }
- ]
- ],
- "wrapper": {
- "width": "",
- "class": "",
- "id": ""
- },
- "post_type": [
- "post"
- ],
- "taxonomy": [],
- "filters": [
- "search",
- "taxonomy"
- ],
- "elements": "",
- "min": "",
- "max": 4,
- "return_format": "object"
- }
- ]
- }
- ],
- "location": [
- [
- {
- "param": "page_template",
- "operator": "==",
- "value": "page-templates\/homepage.php"
- }
- ]
- ],
- "menu_order": 0,
- "position": "normal",
- "style": "default",
- "label_placement": "top",
- "instruction_placement": "label",
- "hide_on_screen": [
- "the_content"
- ],
- "active": 1,
- "description": "",
- "modified": 1492798378
- }
Advertisement
Add Comment
Please, Sign In to add comment