How to add acf form post categry field in acf form front end but category dropdown not showing

Category dropdown not showing on front end.Please suggest or let me know where i am wrong in my code.

   <?php  acf_form(array(
                'post_id'       => 'new_post',
                'post_title'    => true,
                'post_content'  => true,
                'post_category' => true,
                'field_groups' => array('group_57d9928ba5858'),
                'new_post'      => array(
                    'post_type'     => 'festival',
                    'post_status'   => 'draft'
                ),
                'submit_value'       => 'Submit Post',
                'updated_message'    => 'Saved!',
                    'uploader'           => 'wp',
            ));?>

Read more here: How to add acf form post categry field in acf form front end but category dropdown not showing

Leave a Reply

Your email address will not be published. Required fields are marked *