I have problem in post date, Now when i add post at 17/1/2016 and modify this post to 18/1/2016. Now the old date are delete from table in database. So, I need to save old date in another table, when i add new post.

How can do that ?

  • The created date and modified date are both saved in the database, they are simply saved in different fields. And if you want to have a list of all the modification dates, you already have revisions for that. – yivi Jan 17 '16 at 8:53
  • but i delete revisions every day – Almeeraj Tourism Jan 17 '16 at 9:29
  • If you are deleting the revisions, what use would a modification time list have? – yivi Jan 17 '16 at 9:36
  • i need to knew the original post date – Almeeraj Tourism Jan 17 '16 at 9:44

The original post_date is saved post_date and post_date_gmt.

And modification dates are saved on post_modified_date and post_modified_date_gmt. So you never lose your original creation date.

  • no, i lose original creation date. – Almeeraj Tourism Jan 17 '16 at 12:14
  • I just checked one of my WordPress installations. Nothing gets lost. – flomei Jan 17 '16 at 13:24

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.