WordPress.org

Support

Support » Requests and Feedback » Post edit date

Post edit date

  • If I edit a post, I would (sometimes) want to display when it edited. Like, “This post was edited 05.04.04 @ 10:30am by Username”
    (but this should be optional pro post)

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you want it to be optional, per post, then you will need a small plugin, and you will need to use post-meta, by creating a new meta key called “display edit” or something and setting that to a 1 or 0 and using the plugin to conditionally add the edited date-time to the post’s content.

    further, you can modify the “the_date()” function in template-functions-general.php to create function called the_edit_date() or somesuch for use in the plugin.

    Yes, but, then everyone gets to use a plugin to display “standard” metadata about a post.
    There should be a way to display/retrieve all pieces of metadata about a post without resorting to custom code.
    Maybe something like post_metadata(‘columnName’);

    I have a problem about date, the date is show like this {1}June 20th, 2006
    , how to edit it, sorry for my english

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post edit date’ is closed to new replies.
Skip to toolbar