That was a typo, I meant ‘custom post type’.
But thanks for posting the tutorial. I figured out what was wrong. In acf_form I had ‘new_post’ for ‘post_id’ instead of ‘new’.
JiveDig,
Thanks for replying to my thread. I have tried your solution, but it is not working at all for me.
I have placed your code above acf_form_head() on my submission page template, replaced ‘download’ with my own custom post type and even tried replacing ‘$_POST[‘acf’][‘field_5483b32a04842′]’ with ‘test’.
Nothing happens. The post saves but the title still remains empty.
Are you sure this applies to ACF 5? If so, do you have any ideas what I might be doing wrong?
Hi Localdev,
I have tried this, but receive the error:
Warning: array_merge(): Argument #2 is not an array
in relation to the line:
‘field_groups’ => array(49, ‘acf_form-post-title’),