Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.
example

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.

-Tuomas

share|improve this question
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

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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