Hello,
I want to override bbpress form with a ACF Form.
But if i put post_id on “new_post”, the form doesn’t work.
If i stay by default it’s ok but i need to have a empty form when user load the page.
My call :
$settings = array(
'post_id' => 'new_post',
'submit_value' => __("Envoyer2", 'wikoandco'),
'id' => 'acf-form-new-post',
'new_post' => array(
'post_type' => 'event',
'post_status' => 'publish'
),
'post_title' => false,
'post_content' => false,
);
<?php if ( is_user_logged_in() ) {
acf_form($settings);
} ?>
My page : http://wikoandco.com/nouveau-topic
Thanks for your help
Regards