Hi @aberkow
There are some errors in your code. For example, you should check if the ID is “new_post” not “new”:
if ($post_id != 'new_post') {
Also, for the free version, there’s no “new_post” option for the acf_form()
function. Kindly check this page to learn how to add the form on the front end:
https://www.advancedcustomfields.com/resources/using-acf_form-to-create-a-new-post/?version=4.
I hope this helps 🙂