WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking to change the post created date to a modified date on my post template (single.php). Moreso, I'm looking to control when I update that date based on whether I make significant changes to the post.

I'm thinking I might have to create a custom field as well as an option box in the edit post screen to set the custom field. Maybe there's a simpler way?

share|improve this question
up vote 2 down vote accepted

use this into the loop or if you want to change created date to modified date than replace that with below code. As I know this feature works from all version of wordpress after 2.1

<?php the_modified_date(); ?>

More detail you can find here http://codex.wordpress.org/Template_Tags/the_modified_date

share|improve this answer
Actually, because I'm working with the Suffusion theme, the date is included in the title. The only workaround I have come across is to change the post date itself to the post modified date. – AlxVallejo Dec 7 '11 at 15:41

Your Answer


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.