Support

Account

Home Forums ACF PRO ACF PRO can't get post_title value Reply To: ACF PRO can't get post_title value

  • I’ve also noticed that ACF support has been less reliable in the last few months. It’s possible that Elliot has received a sudden influx of users since the launch of ACF 5 and figuring out how to adapt. Fortunately, he’s still pushing out new features.

    I’m not sure if this will completely answer your questions, but here’s a start. Here’s how I think you need to setup your function call:

    acf_form( array(
    	'post_id' => 'new_post',
    	'new_post' => array(
    		'post_type' => 'company',
    		'post_status' => 'publish',
    	),
    	'field_groups' => array(24),
    	'post_title' => true,
    	'post_content' => true,
    ) );

    You’d call that in your template file with acf_form_head called at the top (above get_header). No need to mess with actions or filters in your functions.php file unless you want to do further customization.