Q:Are you trying to ‘edit’ an existing post?A:both but let’s start at create…
The code from the documentation
$args = array( 'post_id' => 'new', 'field_groups' => array(109,108 ) ); acf_form( $args );
there is no form fields,no custom fields just a submit button with ‘Update’ caption.
I tested combinations of using the $args def. & acf_form($args)
php code in both the template and the page.No improovement.
(I followed the guidelines and included acf_form_head(); php code on the
template just before get_header(); and also added code to theme functions.php as in documentation.)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.