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
After @keithdevon mentioned building out an accessible @wp_acf accordion block I went through my starter theme, setup a new site and just tabbed through it... try it, you'll end looking at your websites in a completely different light! Fully accessible navigation and content now.