Last Modified Plugin
- Download plugin: Last Modified — Version 1.0 (Sep 13, 2007)
Note: Newer versions of WordPress support this natively with the built in function the_modified_date(). I wrote this because I did not yet want to upgrade and it took only 5 minutes to figure this out.
This plugin for WordPress allows you to call last_modified_date() function in pages or posts to display when the post was last modified. Optionally it takes a parameter for the date formatting to format the date and time just like the built in the_time() function.
The way I use it in my page template is:
Updated: <?php last_modified_date('M j, Y'); echo ' @ '; last_modified_date('g:i A'); ?>
The result of this can be seen at at the bottom of this page which displays the last updated date.