temporaneità

English scratches and Italian notes written by Carlo Perassi

Menu Close

Post Updated NG

Post Updated NG (NG stands for “Next Generation”) is a WordPress plugin that displays the last modified date and time for a post (that is, if later than the original post date). Useful for providing a “last updated” flag to your posts. It is based on the plugins of Ronald Huereca and Kaf Oseo.

To install and use it, download the zip file, extract post-updated-ng.php, upload this to your wp-content/plugins/ directory, activate the plugin in WordPress then (optionally) set its options in the ‘Options’ menu in WordPress.

2 Comments

Add yours →

  1. Fr. Daniel says:

    Is there a way to change where the plugin data appears on the post? For example, right now, it appears at the bottom of the post text by default; I would like for it to appear near the top of the post below the post title. Thanks for a great plugin!

  2. Carlo says:

    @Daniel:
    I’m not sure but you can try changing line 95 from
    $content .= $this->_post_updated($format, $hours, $before, $after, $gmt);
    to
    $content = $this->_post_updated($format, $hours, $before, $after, $gmt) . $content;

Leave a Reply