Support » Fixing WordPress » How to show “Page last updated” in site?

  • Hi,
    I am trying to show my users what time and/or date the site was last updated/edited.

    Is there a php code or plugin for that?

    I found this code:

    <?
    $last_modified = filemtime("example7.php3");
    print("Last Modified ");
    print(date("m/j/y h:i", $last_modified));
    ?>

    Does this do my job?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to show “Page last updated” in site?’ is closed to new replies.