I am trying to set up a front-end form for creating posts. I already have an edit form set up for the post author with a modal on each post and that’s working. However, I’m trying to make a form to create a new post with an ACF Gutenberg block and the styles aren’t loading and the form doesn’t create a new post. I think this means there is an issue with the acf_form_head script. I have that added to the block callback function with add_action('wp_head', 'acf_form_head'); which worked on the edit form. Is this the problem? I saw that someone had used that action for that but know there can be issues with that. Let me know if I need to include more info.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
2022 was a big year for Advanced Custom Fields, with more capabilities, a new generation of ACF Blocks, a refreshed UI, and a new home. Our year in review post looks at advancements we’ve made and offers a glimpse of the future. https://t.co/HahJUCcyH4