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 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
add comment

1 Answer

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