Hi. I’m looking to include the ability to edit content from the front-end having already got a working system in place where content is created via the front-end.
I can make edits fine when I specify the post ID in acf_form(); but if just include it on the post I want to edit, two problems arise:
- Conditional fields appear when they shouldn’t.
- The edits don’t save when the update button is pressed (the page just reloads)
Any help would be very gratefully appreciated. Thanks.
Could you please explain the conditional fields issue in more detail? Also, could you please share some screenshots of it?
Regarding the second issue, could you please make sure that you have added
acf_form_head() at the top of your page template? This page should give you more idea about it: https://www.advancedcustomfields.com/resources/acf_form/.
Thanks for your reply. I was being an egit and not including the acf_form_head() in the necessary page template. Thank you!