Edit & Save CPT from font-end page
-
Hey!
I am working on a document archive solution?
– document is a CPT which I create through a front-end form on “Create document” page
– I listed all the created documents on a “List all” font-end page. Each document item has an “Edit” button
– When I click the Edit button, I go to an “Edit document” front-end page with a GET ?pid parameter: /edit-document/?pid=123 (123 is the post_id of the document edited)
– In this edit page, all the fields are correctly loaded – I used the “acfe/form/load/post_id” hook to set the post_id to 123
– When I hit the SAVE button, the document is not saved anywhere, it scrambles my Edit page (current page on which the form is loaded).How can I make the form to save / modify the data to the GET pid document?
Thank you!
- The topic ‘Edit & Save CPT from font-end page’ is closed to new replies.