Support

Account

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 🙂