[json] sibling-link
Viewer
- {
- "key": "group_65138277831b0",
- "title": "Sibling Link(s)",
- "fields": [
- {
- "key": "field_6513827843d48",
- "label": "Set Sibling Product",
- "name": "set_product_a_variants",
- "aria-label": "",
- "type": "repeater",
- "instructions": "",
- "required": 0,
- "conditional_logic": 0,
- "wrapper":
- {
- "width": "",
- "class": "",
- "id": ""
- },
- "layout": "block",
- "pagination": 0,
- "min": 0,
- "max": 2,
- "collapsed": "",
- "button_label": "Add Row",
- "rows_per_page": 20,
- "sub_fields": [
- {
- "key": "field_651382c443d49",
- "label": "Variants",
- "name": "variants",
- "aria-label": "",
- "type": "select",
- "instructions": "",
- "required": 0,
- "conditional_logic": 0,
- "wrapper":
- {
- "width": "",
- "class": "",
- "id": ""
- },
- "choices":
- {
- "pa_plating": "Plating",
- "pa_stone": "Stone"
- },
- "default_value": false,
- "return_format": "array",
- "multiple": 0,
- "allow_null": 0,
- "ui": 0,
- "ajax": 0,
- "placeholder": "",
- "parent_repeater": "field_6513827843d48"
- },
- {
- "key": "field_65167ac3f5a71",
- "label": "Thumbnail",
- "name": "thumb_stone",
- "aria-label": "",
- "type": "taxonomy",
- "instructions": "",
- "required": 0,
- "conditional_logic": [
- [
- {
- "field": "field_651382c443d49",
- "operator": "==contains",
- "value": "pa_stone"
- }]
- ],
- "wrapper":
- {
- "width": "100",
- "class": "",
- "id": ""
- },
- "taxonomy": "pa_stone",
- "add_term": 0,
- "save_terms": 0,
- "load_terms": 0,
- "return_format": "id",
- "field_type": "radio",
- "allow_null": 0,
- "bidirectional": 0,
- "multiple": 0,
- "bidirectional_target": [],
- "parent_repeater": "field_6513827843d48"
- },
- {
- "key": "field_651f71d39d0be",
- "label": "Thumbnail",
- "name": "thumb_plating",
- "aria-label": "",
- "type": "taxonomy",
- "instructions": "",
- "required": 0,
- "conditional_logic": [
- [
- {
- "field": "field_651382c443d49",
- "operator": "==contains",
- "value": "pa_plating"
- }]
- ],
- "wrapper":
- {
- "width": "100",
- "class": "",
- "id": ""
- },
- "taxonomy": "pa_plating",
- "add_term": 0,
- "save_terms": 0,
- "load_terms": 0,
- "return_format": "id",
- "field_type": "radio",
- "allow_null": 0,
- "bidirectional": 0,
- "multiple": 0,
- "bidirectional_target": [],
- "parent_repeater": "field_6513827843d48"
- },
- {
- "key": "field_6513830043d4a",
- "label": "Link Product",
- "name": "products",
- "aria-label": "",
- "type": "relationship",
- "instructions": "",
- "required": 0,
- "conditional_logic": 0,
- "wrapper":
- {
- "width": "",
- "class": "",
- "id": ""
- },
- "post_type": ["product"],
- "post_status": ["publish"],
- "taxonomy": "",
- "filters": ["search", "taxonomy"],
- "return_format": "id",
- "min": "",
- "max": 1,
- "elements": ["featured_image"],
- "bidirectional": 0,
- "bidirectional_target": [],
- "parent_repeater": "field_6513827843d48"
- }]
- }],
- "location": [
- [
- {
- "param": "post_type",
- "operator": "==",
- "value": "product"
- }]
- ],
- "menu_order": 20,
- "position": "normal",
- "style": "default",
- "label_placement": "top",
- "instruction_placement": "label",
- "hide_on_screen": "",
- "active": true,
- "description": "",
- "show_in_rest": 0
- }
Editor
You can edit this paste and save as new: