Using wp_insert_post to create custom posts with ACF image field
ACF has documentation for creating a form on the frontend. I would stick to their suggestions. https://www.advancedcustomfields.com/resources/create-a-front-end-form/ I was able to create this by assigning my field group for the form to the custom post type and using a unique template page for the form. <?php /** * Template Name: Form Page Template */ ?> …