Home › Forums › ACF PRO › Separate Edit Form › Reply To: Separate Edit Form
Hi @zander-mina
If you want to have a separate page for the edit form, you need to pass the post/page ID you want to update like this:
acf_form(array(
'post_id' => 99,
));
Where “99” is the post/page ID you want to update. That way you can place it in another page as long as you can get the post/page ID. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/acf_form/.
To pass the post/page ID, I recommend you use the $_GET variable. This page should give you more idea about it: http://php.net/manual/en/reserved.variables.get.php.
I hope this helps 🙂
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.