2

I'm making a list of suggestion here. I need to insert current date/time for each of my suggestions - they are added accumulatively.

If you have any idea on doing that, please share.

4
  • Gi Vu: Do you do this via the regular post editor, or via the API? Because I thought both default to the current date and time if you don't specify it?
    – Jan Fabry
    Oct 28, 2010 at 5:37
  • @Jan Fabry: Via regular editor. The date/time I need is in the post content not of the post itself.
    – Nam G VU
    Oct 28, 2010 at 6:56
  • Gi Vu: What if you would insert something like [curdate] in your post, and replace this in the content_save_pre hook with the current date and time? Because you do it before you save it to the database, it won't be updated the next time (because [curdate] will be gone).
    – Jan Fabry
    Oct 28, 2010 at 7:07
  • Gi Vu: Nevermind, I did not notice you were on WordPress.com.
    – Jan Fabry
    Oct 28, 2010 at 7:08

1 Answer 1

1

You're on WordPress.com, so there's no way to add functionality that will allow you to do this. You could always type the date/time manually whenever you update it.

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.