Hello.
I have a form, its essence is adding a new entry from the frontend.
All the fields have been removed and everything works, except for one thing – this is the gallery.
Someone may have a ready-made version of the handler for adding images to the ACF gallery from the front end, or someone can help with this, acf_form() is not offered.
What do you mean? Are you trying to add an image to an existing gallery? Or is it an issue with the gallery field not working when not logged in? Or something else?
To pick up on this thread, I have the Gallery field working fine IF you’re logged in, but it’s not working for logged-out users.
I’ve tried putting the uploader function in my code like this, but still not working:
add_action( ‘genesis_entry_content’, ‘shs_new_content’ );
function shs_new_content() {
acf_enqueue_uploader();
acf_form(array(
‘post_id’ => ‘new_post’,
‘post_title’ => true,