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

share|improve this question
    
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 '10 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 '10 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 '10 at 7:07
    
Gi Vu: Nevermind, I did not notice you were on WordPress.com. –  Jan Fabry Oct 28 '10 at 7:08
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
add comment

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.