• I’m looking for a quick and dirty way to update the post date of a blog entry to “now” from the editing screen. Ideally it would just be a button you click that either fills in the date field with the current date/time, or causes the same effect when the post is saved.

    Yes, I know that it will break date-based permalinks, but I still want to do it for my recipe blog to flag modified recipes like they are new. (I don’t use a date in the permalinks)

    Is there a plugin already written to do this? If there isn’t, I’ll probably just sit down and write it, but I hate to duplicate something that has already been done.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I am really interested in this type of functionality as well. I also do not use date-based permalinks.

    Any tips would be greatly appreciated! ??

    Your wish, etc…

    Touch plugin:
    download plugin | view source

    Download the plugin, upload to your wp-content/plugins directory, and activate Touch under Plugins. I placed an appropriate warning about archive-based permalinks in the description, but in case that’s missed:

    DO NOT USE THIS PLUGIN IF YOUR BLOG HAS ARCHIVE (DATE) BASED PERMALINKS!!!

    Note: There is no user control over this plugin. It effects all posts on edit, making it simple to code and put up here quickly. I’ll extend it later with some manual control over the process, i.e. a button.

    Just think of it now as a proof of concept (though I’m sure there’s a few who would like it as is).

    Kafkaesqui, you are much too kind! Thank you SO much for creating this. ??

    I am testing it in my WordPress sandbox.

    I opened an old post in edit mode and then saved it.

    The resulting timestamp should have been something like
    2006-01-25 21:16:44 am

    but instead, it posts
    2006-01-26 7:16:44 am

    Do I need to set a timezone someplace?

    Thanks again for your help!

    Do I need to set a timezone someplace?

    Is yours correctly set under Options > General, Date and Time?

    Doh! Since my sandbox is brand new, I forgot to set it to the proper timezone….

    Touch works superbly, thanks again! ??

    You know, Touch is a perfect complement to your other excellent plug-in, Post Updated, if one could pick one or the other per post.

    When I edit a post, I have the choice to either:
    – change the post date to the current date (Touch),
    OR
    – retain the post’s original date, and then append a revision date (Post Updated).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Looking for a “Touch Date” Plugin’ is closed to new replies.