Jessica Smith
asked 9 years ago

I am going through on blog posts, tweaking and updating them. I want to keep the date as the original published date (and not the day that I made tweaks), but anytime I make an update it won’t let me change the date back. Help!

1 Answers
Allen
answered 9 years ago

@Jessica: Hi , In wordpress database, the are 2 "dates" that will be stored in there : Post date and Post modified date.
So if you want to use post date you can use function : the_date().
For modified date you can use function : the_modified_date().
It gonna be like this :

Post last updated on <?php the_modified_date(); ?> First published on <?php the_date(); ?>
Powered by DW Question & Answer Pro