WordPress plugin: Last Modified
August 21, 2008 at 1:07am | Category: General | Comment?The Last Modified plugin for WordPress is a one-step installation plugin that adds the date and time that a page was last modified (edited) to that page. You can see it in action here. A plugin like this is nice because it reminds you and shows others when a page was last accessed and updated. This can be useful for your own records, or for visitors who are looking to see how recent your website content is.
Once you have installed and activated the plugin, you put it to work by editing your page.php template and add the following code to it, wherever you would like the last modified date to show up:
php mdv_last_modified();
You can change the format of the date by using the variables that are listed on the PHP.net website. Here is how I have mine configured for jenn.nu:
php mdv_last_modified(’F j, Y’);

Caden
You don’t need the plugin… there are tags for this now:
http://codex.wordpress.org/Template_Tags/the_modified_date
http://codex.wordpress.org/Template_Tags/the_modified_time
Trackbacks