Hi, I am trying to create a frontend form to create a new post for a custom post type. I also need a field to customize the slug.
I tried this:
acf_form(array(
'post_id' => 'new_post',
'post_title' => true,
'post_content' => true,
'post_name' => true,
'new_post' => array(
'post_type' => 'event',
'post_status' => 'publish',
)
));
But it does not show a field for the slug.
Thanks for any help.