Hey,
I want to create a update/edit post form on the frontend to let logged in users with proper permission to edit/update existing post.
I’ve seen the implementation of update post form where the form needs to be embedded directly into the post template. However, I am not looking for that.
I want the logged in user to see a edit post button, when they click the button, it takes them to a separate page with the form content filled with the post content and can update stuff directly from there.
I see there’s only 2 way right now, 1 is to embed the form directly into the post, or hardcode the form to update a certain post.
What I am looking for is a dynamic way to pull the post data from the url parameter. I am a bit lost if someone can help me It’ll be highly appreciated.