Last Modified
25th of March, 2007
/*
Plugin Name: HH Last Modified
Plugin URI: http://hvassing.com/my-projects/last-modified/
Description: Displays the date and time that the post/page was last modified, given that it has been changed after its publishing date.
Based on the script "Last Modified" by Nick Morik, version 1.11
Version: 1.0
Author: Håvard Hvassing
Author URI: http://hvassing.com
*/
Usage
[php]hh_last_modified('before', 'after', 'format');[/php]
Example
[php]hh_last_modified('(Last modified: ', ')', 'jS \o\f F, Y');[/php]
Parameters
$before- (string) Text to place before the date. Default is empty.
$after- (string) Text to place after the date. Default is empty.
$format- (string) The format for the date. Defaults to the date format configured in your WordPress options. See Formatting Date and Time.
0 Responses to “Last Modified”
Leave a Reply