Thank for a super plugin an interesting tutorial how to create front end forms to create new posts. (http://www.advancedcustomfields.com/resources/tutorials/using-acf_form-to-create-a-new-post/)
I try to make it work but i just don´t understand how to specify the field_groups.
What should i write in ‘field_groups’ => array(123) ?
An example would be really helpful.
Thanks
/Ola
$args = array(
‘post_id’ => ‘new’,
‘field_groups’ => array( 123 )
);
Hi @olaeborn
Each field group has an ID (such as 123). The acf_form function contains an arg for field_groups – which you can set as an array of field group ID’s
Does this explain what the number is?
Thanks
E