I have a field group with 57 inputs and I was trying to add some more but it won’t save any pass 57, Also if I update anything on that field group like the Location, or any of the Options nothing will save when I update the field group.
I have numerous field groups that I”m using for the site and this one is the largest with 57 fields in it and all the other ones seem to be working fine so I”m not sure why this one isn’t. Is there a limit to the amount of fields you can have per field group?
Hi @elliot,
Just encountered a bug when saving values within a 2x repeaters and flexible content field. It says it saves fine, and appears to have saved. But then I left the options page (after saving), and then re-entered, and it didn’t actually save it.
Using Options, Flexible Content and Repeater plugins. Have tried disabling other plugins, just having ACF by itself – but didn’t change anything.
I’ve also tried flushing out post revisions, still no luck.
I’ve tried changing the PHP settings, including all of the below:
max_input_vars = 3000;
max_input_nesting_level = 128;
max_input_time = 300;
max_execution_time = 300;
post_max_size = 32M;
memory_limit = 300M;
But didn’t fix it unfortunately.
I will attach a private login example, so you can check it out.
Does anybody know a fix for this?
Kind Regards,
Matt
I’ve been trying to setup some product data using ACF.
I created a custom product post type, and then created the ACF fields I’d need. In total, it’s about 20 fields, though 4 of those are repeaters (1 image, 1 file & 1 test repeater).
Everything works fine, until I actually try to input data and save a custom post. Sometimes saving a post works, but then only the 1st custom field loads when I try and edit the post.
I traced this down to a PHP memory error:
[Tue Jan 21 15:40:50 2014] [error] [client 50.37.134.13] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 128 bytes) in /var/www/wp-content/plugins/advanced-custom-fields/core/fields/text.php on line 231
So, I upped my php memory limit to 1024M (out of 2GB available). That almost worked, but then led to a max execution time error:
[Tue Jan 21 16:01:07 2014] [error] [client 50.37.134.13] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/wp-content/plugins/advanced-custom-fields/core/fields/_functions.php on line 119
At that point, I gave up on PHP, and figured Nginx might fare a bit different. After moving everything over to a Nginx server, I tried the same process, and got the same result.
So – am I simply overwhelming what ACF can handle, or is there some other solution that I should try before I give in?
Hi I have read articles
1)http://www.advancedcustomfields.com/resources/tutorials/using-acf_form-to-create-a-new-post/
2)http://www.advancedcustomfields.com/resources/tutorials/creating-a-front-end-form/
From what i understood there is provision for creating an HTML form to edit and add posts enhanced with field groups that match rules you have created at the custom fields GUI.
However I did not achive to get it to work.The only thing that shows is the submit button.I will now enumerate steps taken.please verify – add missing actions.
1.I made two new php empty template files.I copied <?php code in both one for create from the first article &one for editing giving different template names
2)I added ‘acf/pre_save_post’ and ‘my_deregister_styles()’ to functions.php of the theme including the add_action and add_filter (which I do no yet know their functionality)
3)I created two new pages selecting templates and
…nothing happened
I freaked out and started trying adding titles of fieldgroups in quotes in an array to both pages
changed post_ID to some given post for edit,still no results
copied $options and $args to be set within the new pages,still nothing
Can you help?Am i missing a step or any code needed(ie some other acf plugin?).Is there another route for creating front-end (ie a php submit snippet)? Please contribute…I have limited time to research wordpress development.
I have a mega options page that has 70 fields and works fine. When I added 2 more fields (72 total) I started getting the “No Custom Field Group found for the options page.” message. Despite there being a group assigned 2 seconds earlier.
Creating a new fields group assigned to the Options page removed the error, but the large group didn’t show — so I tracked it. Still no luck.
Re-saved the group, changed the location options, saved, changed them back, no luck.
Removing 2 items from the large group restored the option page functionality.
I get that there has to be some limit, but 70 seems a bit arbitrary and more like a bug than a performance issue? 😉
I currently have a custom field group with three different repeaters. They are being grouped using tabs to give a clean interface. We have been having this issue for a while but it seems that after about 150 repeater rows across all three repeaters it doesn’t allow you to add any more. If you add new rows it does nothing, additionally if I have a ton of repeater rows and I try to make updates to the fields the changes don’t save.
I am guess this is a GET/POST issue with the ACF meta box not passing the info to the server.
Below is the export of the field group. Thoughts?
/**
* Install Add-ons
*
* The following code will include all 4 premium Add-Ons in your theme.
* Please do not attempt to include a file which does not exist. This will produce an error.
*
* All fields must be included during the 'acf/register_fields' action.
* Other types of Add-ons (like the options page) can be included outside of this action.
*
* The following code assumes you have a folder 'add-ons' inside your theme.
*/
// Fields
add_action('acf/register_fields', 'my_register_fields');
function my_register_fields()
{
include_once('add-ons/acf-repeater/repeater.php');
include_once('add-ons/acf-gallery/gallery.php');
include_once('add-ons/acf-flexible-content/flexible-content.php');
}
// Options Page
include_once( 'add-ons/acf-options-page/acf-options-page.php' );
/**
* Register Field Groups
*
* The register_field_group function accepts 1 array which holds the relevant data to register a field group
* You may edit the array as you see fit. However, this may result in errors if the array is not compatible with ACF
*/
if(function_exists("register_field_group"))
{
register_field_group(array (
'id' => '52a5f75506608',
'title' => 'Manage Planroom Files',
'fields' =>
array (
0 =>
array (
'key' => 'field_39',
'label' => 'Project Specs',
'name' => 'project_specs',
'type' => 'tab',
'order_no' => 0,
'instructions' => '',
'required' => '0',
'id' => 'acf-project_specs',
'class' => 'tab',
'conditional_logic' =>
array (
'status' => '0',
'rules' =>
array (
0 =>
array (
'field' => 'null',
'operator' => '==',
'value' => '',
),
),
'allorany' => 'all',
),
),
1 =>
array (
'key' => 'field_35',
'label' => 'Project Specs',
'name' => 'drawings',
'type' => 'repeater',
'order_no' => 1,
'instructions' => '',
'required' => '0',
'id' => 'acf-drawings',
'class' => 'repeater',
'conditional_logic' =>
array (
'status' => '0',
'rules' =>
array (
0 =>
array (
'field' => 'null',
'operator' => '==',
),
),
'allorany' => 'all',
),
'sub_fields' =>
array (
'1369418367790' =>
array (
'key' => '1369418367790',
'label' => 'Division',
'name' => 'division',
'type' => 'select',
'order_no' => 0,
'instructions' => '',
'required' => 0,
'id' => 'acf-division',
'class' => 'select',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'choices' =>
array (
'Division 2 – Site' => 'Division 2 – Site',
'Division 2 - Demolition' => 'Division 2 - Demolition',
'Division 3 – Concrete' => 'Division 3 – Concrete',
'Division 4 – Masonry' => 'Division 4 – Masonry',
'Division 5 – Structural Steel' => 'Division 5 – Structural Steel',
'Division 5 – Misc. Metal' => 'Division 5 – Misc. Metal',
'Division 6 – Millwork' => 'Division 6 – Millwork',
'Division 7 – Thermal & Moisture Protection' => 'Division 7 – Thermal & Moisture Protection',
'Division 8 – Glass and Glazing' => 'Division 8 – Glass and Glazing',
'Division 8 – Doors, Frames & Hardware' => 'Division 8 – Doors, Frames & Hardware',
'Division 9 – Finishes' => 'Division 9 – Finishes',
'Division 10 – Specialties' => 'Division 10 – Specialties',
'Division 11 – Dock Equipment' => 'Division 11 – Dock Equipment',
'Division 11 - Racking' => 'Division 11 - Racking',
'Division 12 – Furnishings' => 'Division 12 – Furnishings',
'Division 13 – Low Temp' => 'Division 13 – Low Temp',
'Division 14 - Elevator' => 'Division 14 - Elevator',
'Division 15 – Plumbing' => 'Division 15 – Plumbing',
'Division 15 – HVAC' => 'Division 15 – HVAC',
'Division 15 – Fire Protection' => 'Division 15 – Fire Protection',
'Division 15 – Refrigeration' => 'Division 15 – Refrigeration',
'Division 15 – Misc.' => 'Division 15 – Misc.',
'Division 16 - Electrical' => 'Division 16 - Electrical',
),
'column_width' => '',
'default_value' => '',
'allow_null' => '0',
'multiple' => '0',
),
'1363624758174' =>
array (
'key' => '1363624758174',
'label' => 'Drawing Number',
'name' => 'drawing_number',
'type' => 'text',
'order_no' => 1,
'instructions' => '',
'required' => 0,
'id' => 'acf-drawing_number',
'class' => 'text',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '20',
'default_value' => '',
'formatting' => 'html',
),
'1363624788244' =>
array (
'key' => '1363624788244',
'label' => 'Drawing Type',
'name' => 'drawing_type',
'type' => 'select',
'order_no' => 2,
'instructions' => '',
'required' => 0,
'id' => 'acf-drawing_type',
'class' => 'select',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'choices' =>
array (
'---' => '---',
'Progress Print' => 'Progress Print',
'Permit Issue' => 'Permit Issue',
'Construction Issue' => 'Construction Issue',
),
'column_width' => '20',
'default_value' => '---',
'allow_null' => '0',
'multiple' => '0',
),
'1363624837322' =>
array (
'key' => '1363624837322',
'label' => 'Revision Date',
'name' => 'revision_date',
'type' => 'date_picker',
'order_no' => 3,
'instructions' => '',
'required' => 0,
'id' => 'acf-revision_date',
'class' => 'date_picker',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '15',
'date_format' => 'mmddyy',
'display_format' => 'mm/dd/yy',
),
'1363624905583' =>
array (
'key' => '1363624905583',
'label' => 'File Upload',
'name' => 'upload_file',
'type' => 'file',
'order_no' => 4,
'instructions' => '',
'required' => 0,
'id' => 'acf-upload_file',
'class' => 'file',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '20',
'save_format' => 'url',
),
'1363624933673' =>
array (
'key' => '1363624933673',
'label' => 'Archive',
'name' => 'archive',
'type' => 'true_false',
'order_no' => 5,
'instructions' => '',
'required' => 0,
'id' => 'acf-archive',
'class' => 'true_false',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '5',
'message' => '',
'default_value' => '0',
),
),
'row_min' => '0',
'row_limit' => '',
'layout' => 'table',
'button_label' => 'Add Spec',
),
2 =>
array (
'key' => 'field_40',
'label' => 'Plans (PDF)',
'name' => 'plans_(pdf)',
'type' => 'tab',
'order_no' => 2,
'instructions' => '',
'required' => '0',
'id' => 'acf-plans_(pdf)',
'class' => 'tab',
'conditional_logic' =>
array (
'status' => '0',
'rules' =>
array (
0 =>
array (
'field' => 'null',
'operator' => '==',
'value' => '',
),
),
'allorany' => 'all',
),
),
3 =>
array (
'key' => 'field_36',
'label' => 'Plans (PDF)',
'name' => 'general',
'type' => 'repeater',
'order_no' => 3,
'instructions' => '',
'required' => '0',
'id' => 'acf-general',
'class' => 'repeater',
'conditional_logic' =>
array (
'status' => '0',
'rules' =>
array (
0 =>
array (
'field' => 'null',
'operator' => '==',
),
),
'allorany' => 'all',
),
'sub_fields' =>
array (
'1369418763363' =>
array (
'key' => '1369418763363',
'label' => 'Discipline',
'name' => 'discipline',
'type' => 'select',
'order_no' => 0,
'instructions' => '',
'required' => 0,
'id' => 'acf-discipline',
'class' => 'select',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'choices' =>
array (
'01 Civil' => '01 Civil',
'02 Architectural' => '02 Architectural',
'03 Structural' => '03 Structural',
'04 Fire Protection' => '04 Fire Protection',
'05 Plumbing' => '05 Plumbing',
'06 Mechanical' => '06 Mechanical',
'07 Industrial Refrigeration' => '07 Industrial Refrigeration',
'08 Electrical' => '08 Electrical',
'09 Material Handling' => '09 Material Handling',
'10 Process' => '10 Process',
'11 Energy Management' => '11 Energy Management',
),
'column_width' => '',
'default_value' => '',
'allow_null' => '0',
'multiple' => '0',
),
'1364932029906' =>
array (
'key' => '1364932029906',
'label' => 'Drawing Number',
'name' => 'drawing_number',
'type' => 'text',
'order_no' => 1,
'instructions' => '',
'required' => 0,
'id' => 'acf-drawing_number',
'class' => 'text',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '20',
'default_value' => '',
'formatting' => 'html',
),
'1364932064902' =>
array (
'key' => '1364932064902',
'label' => 'Drawing Type',
'name' => 'drawing_type',
'type' => 'select',
'order_no' => 2,
'instructions' => '',
'required' => 0,
'id' => 'acf-drawing_type',
'class' => 'select',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'choices' =>
array (
'---' => '---',
'Progress Print' => 'Progress Print',
'Permit Issue' => 'Permit Issue',
'Construction Issue' => 'Construction Issue',
),
'column_width' => '20',
'default_value' => '---',
'allow_null' => '0',
'multiple' => '0',
),
'1364932091012' =>
array (
'key' => '1364932091012',
'label' => 'Revision Date',
'name' => 'revision_date',
'type' => 'date_picker',
'order_no' => 3,
'instructions' => '',
'required' => 0,
'id' => 'acf-revision_date',
'class' => 'date_picker',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '15',
'date_format' => 'mmddyy',
'display_format' => 'mm/dd/yy',
),
'1364329261714' =>
array (
'key' => '1364329261714',
'label' => 'Upload File',
'name' => 'upload_file',
'type' => 'file',
'order_no' => 4,
'instructions' => '',
'required' => 0,
'id' => 'acf-upload_file',
'class' => 'file',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '',
'save_format' => 'url',
),
'1364932129217' =>
array (
'key' => '1364932129217',
'label' => 'Archive',
'name' => 'archive',
'type' => 'true_false',
'order_no' => 5,
'instructions' => '',
'required' => 0,
'id' => 'acf-archive',
'class' => 'true_false',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '5',
'message' => '',
'default_value' => '0',
),
),
'row_min' => '0',
'row_limit' => '',
'layout' => 'table',
'button_label' => 'Add New File',
),
4 =>
array (
'key' => 'field_41',
'label' => 'Plans (CAD)',
'name' => 'plans_(cad)',
'type' => 'tab',
'order_no' => 4,
'instructions' => '',
'required' => '0',
'id' => 'acf-plans_(cad)',
'class' => 'tab',
'conditional_logic' =>
array (
'status' => '0',
'rules' =>
array (
0 =>
array (
'field' => 'null',
'operator' => '==',
'value' => '',
),
),
'allorany' => 'all',
),
),
5 =>
array (
'key' => 'field_37',
'label' => 'Plans (CAD)',
'name' => 'autocad',
'type' => 'repeater',
'order_no' => 5,
'instructions' => '',
'required' => '0',
'id' => 'acf-autocad',
'class' => 'repeater',
'conditional_logic' =>
array (
'status' => '0',
'rules' =>
array (
0 =>
array (
'field' => 'null',
'operator' => '==',
),
),
'allorany' => 'all',
),
'sub_fields' =>
array (
'1364932249173' =>
array (
'key' => '1364932249173',
'label' => 'Division',
'name' => 'division',
'type' => 'select',
'order_no' => 0,
'instructions' => '',
'required' => 0,
'id' => 'acf-division',
'class' => 'select',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'choices' =>
array (
'---' => '---',
'Existing Conditions' => 'Existing Conditions',
'Concrete' => 'Concrete',
'Masonry' => 'Masonry',
'Metals' => 'Metals',
'Woods, Plastics, Composites' => 'Woods, Plastics, Composites',
'Thermal & Moisture Protection' => 'Thermal & Moisture Protection',
'Openings' => 'Openings',
'Finishes' => 'Finishes',
'Specialties' => 'Specialties',
'Equipment' => 'Equipment',
'Furnishings' => 'Furnishings',
'Lo Temp' => 'Lo Temp',
'Mechanical' => 'Mechanical',
'Electrical' => 'Electrical',
),
'column_width' => '20',
'default_value' => '',
'allow_null' => '0',
'multiple' => '0',
),
'1364932273370' =>
array (
'key' => '1364932273370',
'label' => 'Drawing Number',
'name' => 'drawing_number',
'type' => 'text',
'order_no' => 1,
'instructions' => '',
'required' => 0,
'id' => 'acf-drawing_number',
'class' => 'text',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '20',
'default_value' => '',
'formatting' => 'html',
),
'1364932294925' =>
array (
'key' => '1364932294925',
'label' => 'Drawing Type',
'name' => 'drawing_type',
'type' => 'select',
'order_no' => 2,
'instructions' => '',
'required' => 0,
'id' => 'acf-drawing_type',
'class' => 'select',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'choices' =>
array (
'---' => '---',
'Progress Print' => 'Progress Print',
'Permit Issue' => 'Permit Issue',
'Construction Issue' => 'Construction Issue',
),
'column_width' => '20',
'default_value' => '---',
'allow_null' => '0',
'multiple' => '0',
),
'1364932310112' =>
array (
'key' => '1364932310112',
'label' => 'Revision Date',
'name' => 'revision_date',
'type' => 'date_picker',
'order_no' => 3,
'instructions' => '',
'required' => 0,
'id' => 'acf-revision_date',
'class' => 'date_picker',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '15',
'date_format' => 'mmddyy',
'display_format' => 'mm/dd/yy',
),
'1364329423992' =>
array (
'key' => '1364329423992',
'label' => 'Upload File',
'name' => 'upload_file',
'type' => 'file',
'order_no' => 4,
'instructions' => '',
'required' => 0,
'id' => 'acf-upload_file',
'class' => 'file',
'conditional_logic' =>
array (
'status' => 0,
'allorany' => 'all',
'rules' => 0,
),
'column_width' => '',
'save_format' => 'url',
),
),
'row_min' => '0',
'row_limit' => '',
'layout' => 'table',
'button_label' => 'Add CAD',
),
),
'location' =>
array (
'rules' =>
array (
0 =>
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'planroom',
'order_no' => 0,
),
),
'allorany' => 'all',
),
'options' =>
array (
'position' => 'normal',
'layout' => 'default',
'hide_on_screen' =>
array (
),
),
'menu_order' => 0,
));
}
Hi,
First of all kudos for building such an awesome plugin!
Right now, I have setup a single field in which I have a lot of sub fields but I have run into a situation where any more changes are not being saved.
If I try to add more sub-fields, that gets discarded. Even any change to the “Button label” doesn’t work. If I duplicated the field, that doesn’t get saved either. One thing that I found was if I add a subfield in between somewhere and not at the last of all the sub-fields I have, it does get saved but then the very last subfield gets deleted, which makes me think I am running into some kind of limit here.
Please suggest what to do! I am not using any other plugin other than ACF core + ACF Flexible Content Field on Twenty Twelve theme.
hi,
I have a repeater type field in my page which includes images, description fields..
I’ve been adding a list of information about films using thie repeater item without a problem so far.
But when I add 165th item and save the page, the page doesn’t actually save 165th item.
And the page gets really slow when it loads all 164 items.
Is this memory limitation related issue?
Is there any way I can solve this?
Thanks!
I am unable to add more fields to groups that already have a large number of fields
.
I am able to add the field information, but I can’t save it. I found another post here about the same topic – and the solution was to up update php settings to allow more memory. My server (VPS) already allows me to run 128MB of memory. But I still can’t add more fields.
I get no errors whatsoever. My WP debug is on. I have no PHP memory limit exceeded errors as one usually gets when running into this issue.
Also, once I click on the update button, the page does reload, and tells me that the group has been updated – but it hasn’t.
Any ideas on how to solve this issue?
Hey there,
I’m using ACF for a grading system, meaning there several groups, each with allot of fields (text/radiobuttons) and labels.
It appears though, as if I can’t put more than 75 in a group. When I add more and save the group, they simply disappear without a warning.
Is this a known limit, a bug, or something I have to change to put that limit to, lets say, 120?
___edit
I saw I had a update available, so I updated to the latest version to see if the problem was solved.
The result is that I can’t go past 60 rows.. This seems like a set limit. Is this correct?
I either found a bug or have reached a limit that isn’t possible. I am trying to put a Flexible Content field inside of a Flexible Content field inside of another Flexible Content field.
When I save it, the third nested Flexible Field inside of the first one gets kicked out and the names/fields do not save (all within ACF admin).
Can you help?
I am basically creating an FAQ page, with Category, Sub Category, and Answer/Question. Image attached for what I’m trying to do…
Howdy
I’m currently using a repeater field to dynamically create sidebars. All is working well, except I need a way to assign them unique IDs that don’t change. I figured the best way would be to have a field for the ID, which would be populated and disabled by javascript.
I can get the field all populating with data, but when I hit save, no data is stored. I’m not quite sure where to go from here, as I would have thought that getting the data in the field would be enough.
Is there an extra step involved that I am missing?
Here is the jquery which successfully creates the data. The randString method is just a function I have elsewhere.
jQuery.fn.pdsCustomSidebarID = function ()
{
var input = this.find('*[data-field_name="sidebar_id"] input');
if( input.val() == '' ){
input.prop('disabled', true).val( randString(6) );
}
// this.find('*[data-field_name="sidebar_id"] input').prop('disabled', true).val( randString(6) );
}
jQuery(document).ready(function ($)
{
$(document).live('acf/setup_fields', function (e, div)
{
$(div).find('#acf-custom_sidebars .row').each(function ()
{
$(this).pdsCustomSidebarID();
});
});
});
Here is the field group registration array.
register_field_group(
array(
'id' => 'acf_custom-sidebar-options-sidebars',
'title' => 'Custom Sidebar Options',
'fields' => array(
array(
'key' => 'field_51fcb088cb9eb',
'label' => 'Custom Sidebars',
'name' => 'custom_sidebars',
'type' => 'repeater',
'instructions' => 'Manage your custom sidebars here. Add and remove as many as you like, and assign them when creating/editing posts and pages. Setting your own custom sidebars will empower you to display unique sidebar content on any post or page, freeing you of the default single-sidebar in WordPress.',
'sub_fields' => array(
array(
'key' => 'field_51fcb1efcb9ec',
'label' => 'Name',
'name' => 'sidebar_name',
'type' => 'text',
'column_width' => 20,
'default_value' => '',
'formatting' => 'none',
),
array(
'key' => 'field_51fcb234cb9ed',
'label' => 'Description',
'name' => 'sidebar_description',
'type' => 'text',
'column_width' => '',
'default_value' => '',
'formatting' => 'none',
),
array(
'key' => 'field_51fcb2ea21853',
'label' => 'Style',
'name' => 'sidebar_style',
'type' => 'select',
'column_width' => 12,
'choices' => array(
'pds-default-style' => 'Grey box',
'pds-plain-style' => 'Plain',
),
'default_value' => 'one',
'allow_null' => 0,
'multiple' => 0,
),
array(
'key' => 'field_57fcb9efcb9ad',
'label' => 'ID',
'name' => 'sidebar_id',
'type' => 'text',
'column_width' => 10,
'default_value' => '',
'formatting' => 'none',
),
),
'row_min' => 0,
'row_limit' => '',
'layout' => 'table',
'button_label' => 'Add a new sidebar',
),
),
'location' => array(
array(
array(
'param' => 'options_page',
'operator' => '==',
'value' => 'custom-sidebars',
'order_no' => 0,
'group_no' => 0,
),
),
),
'options' => array(
'position' => 'normal',
'layout' => 'no_box',
'hide_on_screen' => array(),
),
'menu_order' => 1,
)
);