I browsed through all the topics here on stackexchange to find an answer to my problem but couldn't quite get there.

This snippet enables you to post from the frontend, but how about editing. Each post on the front page should have a edit button, that leads to editing that post, so I should write some code to a loop I guess?

I'd like to be able to post and edit posts from the frontend kind of like in Facebook.

Aaargh, it's driving me mad, I've tried to figure this out for weeks now. I have designed several sites with the WP but I wouldn’t consider my self as a coder, so ANY help would be greatly appreciated.


  • 1
    vudu.me/2r8 I can point you to this series as a starting point. I'm not making this an answer, as I have not tested this out. BUt it is working for several folks. Hopefully it can at least get you started, until an answer comes along! (And I'm not sure how hard it would be to incorporate the editor into this) – Rev. Voodoo Feb 16 '12 at 14:08

I'm assuming you would have an Edit page and an Add New page, so why not just switch out the wp_insert_post function from the Add New page to wp_update_post?

The first argument for wp_editor is the content you want to appear, so just use the current post that's being edited's content.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.