Home › Forums › General Issues › front end creat post › Reply To: front end creat post
Hi @5vlast
Looks like your if statement:
if( $post_id != 'new' )
{
return $post_id;
}
will fail becuase your post_id is never going to be ‘new’, it will always be ‘!new’.
I believe some debugging is needed to figure out the issue and get it working. Debug line by line and ask yourself why it isn’t working.
Good luck!
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.