Home › Forums › Front-end Issues › acf_form for editing CPT doesn't save properly › Reply To: acf_form for editing CPT doesn't save properly
I don’t see anything in what you provided that would cause the post not to update. From the look of it you are including the form on the same post that the content is associated with, that is the single php template for the post type, whatever that is.
If this is not the case and you are showing this form on some other post or page on the site then you need to provide the correct post_id argument when calling acf_form().
If that’s not a problem then maybe you’re seeing some kind of a caching issue. Do you have a cache plugin running on the site?
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.