Hi guys,
I have an ACF form with the next two rules required for display:
Post Type => “Client Details”
and
Post Taxonomy => “Premium”
Now, I want to display this form on front-end through acf_form() function, and create a new post after submit.
THE PROBLEM: because of the taxonomy rule, the form is not displayed.
acf_form( array(
'id' => 'my-form',
'post_id' => 'new_post',
'new_post' => array(
'post_type' => 'client-details',
'post_status' => 'publish'
),
'post_title' => true,
'post_content'=> true,
) );
Does anyone know how I can set the category for the form to be displayed?
Thanks!!