I have learned how to create a post from the frontend but how about editing it ?
This is the code I am trying to create a simple frontend form for posting
Thank you
I have learned how to create a post from the frontend but how about editing it ?
This is the code I am trying to create a simple frontend form for posting
Thank you
You must be logged in to post a comment.
Just like the example you linked, but instead of using
wp_insert_post()
you use:wp_update_post()
so your form becomes:and the processing becomes:
now this has no validation so i leave it up to you.
Scribu Front End Editor havent tried it personally but i have read good stuff about it