Post edit date (5 posts)

  1. omgwtf
    Posted 11 years ago #

    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)

  2. carthik
    Posted 11 years ago #

    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.

  3. carthik
    Posted 11 years ago #

    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.

  4. Anonymous
    Posted 11 years ago #

    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');

  5. check479
    Posted 10 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.