Home › Forums › Front-end Issues › acf_form() for contact form without creating a post › Reply To: acf_form() for contact form without creating a post
Hmm, not a bad idea to play with. That may create an issue as the form processor needs that goodies in there.
Here’s what I’m currently using as my solution but I’d love to hear if it’s faulty.
Basically I made a copy of acf_form_head()
and removed the part that tries to update/create posts. Just put this before get_header() instead of acf_form_head()
https://gist.github.com/joelstransky/c87cc56923abe15b144b
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.