Skip to content

Instantly share code, notes, and snippets.

@schalkjoubert
Last active February 5, 2018 08:23
Show Gist options
  • Save schalkjoubert/cb55a02baf20ecc6e4733881c739ca98 to your computer and use it in GitHub Desktop.
Save schalkjoubert/cb55a02baf20ecc6e4733881c739ca98 to your computer and use it in GitHub Desktop.
ACF Fields to move to Sub Field of Repeater Field
[
{
"key": "group_5a7741d53f5b5",
"title": "Sales Catalogue",
"fields": [
{
"key": "field_5a77425967079",
"label": "Sale Catalogue Entry",
"name": "sale_catalogue_entry",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "",
"sub_fields": []
},
{
"key": "field_5a7741d5435e9",
"label": "Lot Number",
"name": "sales_lot_number",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543699",
"label": "Ram Number",
"name": "sales_ram_number",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543744",
"label": "Symbol",
"name": "sales_symbol",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d5437b1",
"label": "Birth Status",
"name": "sales_birth_status",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d54384b",
"label": "Wean Mat EBV",
"name": "sales_wean_mat_ebv",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d5438f0",
"label": "Wean Mat Symbol",
"name": "sales_wean_mat_symbol",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543995",
"label": "Wean Dir EBV",
"name": "sales_wean_dir_ebv",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d5439fd",
"label": "Wean Dir Symbol",
"name": "sales_wean_dir_symbol",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543ab3",
"label": "Body Weight EBV",
"name": "sales_body_weight_ebv",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543b58",
"label": "Body Weight Symbol",
"name": "sales_body_weight_symbol",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543be3",
"label": "Clean Fleece Weight EBV",
"name": "sales_clean_fleece_weight_ebv",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543c9c",
"label": "Clean Fleece Weight Symbol",
"name": "sales_clean_fleece_weight_symbol",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543d0a",
"label": "Fibre Diameter EBV",
"name": "sales_fibre_diameter_ebv",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543daf",
"label": "Fibre Diameter Symbol",
"name": "sales_fibre_diameter_symbol",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543e53",
"label": "General Merit EBV",
"name": "sales_general_merit_ebv",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543ec1",
"label": "General Merit Symbol",
"name": "sales_general_merit_symbol",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d543f77",
"label": "Dam",
"name": "sales_dam",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d54401c",
"label": "Matings",
"name": "sales_matings",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d54408c",
"label": "Lambs",
"name": "sales_lambs",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d544131",
"label": "Sire",
"name": "sales_sire",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5a7741d5441e6",
"label": "Notes",
"name": "sales_notes",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": ""
},
{
"key": "field_5a7741d544252",
"label": "Price",
"name": "sales_price",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"hide_label": 0,
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "catalogue"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": 1,
"description": ""
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment