Home › Forums › Front-end Issues › How do I change the redirect after creating a new post via front-end? › Reply To: How do I change the redirect after creating a new post via front-end?
Are you trying to redirect to the post that was just created?
From the acf_form() documentation
http://www.advancedcustomfields.com/resources/acf_form/
/* (string) The URL to be redirected to after the form is submit. Defaults to the current URL with a GET parameter '?updated=true'.
A special placeholder '%post_url%' will be converted to post's permalink (handy if creating a new post) */
'return' => '',
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.