Support

Account

Forum Replies Created

  • Thanks John the array part is what I was missing. For some reason it was working in the previous version of the plugin.

    Its working now I appreciate it

  • Im supplying the field groups ID as shown below. All ACF fields are not showing on the form.

    <?php
                     acf_form(array(
                         'post_id' => 'new_post',
                         'field_groups' => 7955, // Used ID of the field groups here.
                         'post_title' => true, // This will show the title filed
                         'post_content' => true, // This will show the content field
                         'form' => true,
                         'new_post' => array(
                             'post_type' => 'auto_team',
                             'post_status' => 'publish' // You may use other post statuses like draft, private etc.
                         ),
                         'return' => '%post_url%',
                         'submit_value' => 'Submit Staff',
                     ));
                
            ?>
Viewing 2 posts - 1 through 2 (of 2 total)