# Following on from the simple posting form I thought about making it easier to edit posts inline from the Daily page.

Now, when logged in each item has a pencil I can click/tap to switch to "edit mode" for that post:

This will load a form with the post contents ready to edit:

Hit update and that's it!

If I need to add something or spot a typo (more likely) I can do it without going to the back end.

  1. amit says: #
    Nice, I am in love and aim for such inline posting interfaces. Just wonder, how do you authenticate?
    1. Colin Walker says: #
      The feature only shows if I'm logged in by using if (current_user_can('edit_posts')) checks so I don't need to authenticate when posting.
  2. amit says: #
    Yes, that's nice. I need to try out something of this sort. Is your theme open?
    1. Colin Walker says: #
      No, it's a heavily modded version of the old Minnow theme from Automattic but is really a complete mess so not sure how much good it would do sharing it ;)

Leave a Reply

Your email address will not be published.