If..Else Log

Time Of Day plugin

Update (20-Feb-05): I've updated the plugin for WP 1.5 users. You can read more about it here.

As you can see, I've implemented Dunstan's Time of Day function. With Dunstan's permission, I've released it as a WP plugin.

Usage Instructions:: To install the plugin in WP 1.2, save the plugin code into your wp-content/plugins directory. Then, activate/deactivate it via Admin Options-> Plugin Mangagement page.

Then place the following piece of code within The Loop:
<?php time_of_day(abs(strtotime($post->post_date)));?>

-30-

19 Responses to “Time Of Day plugin”

  1. Gravatar Binary Thoughts

    Binary Thoughts Enhancements 2
    The following enhancements have been made to Binary Thoughts.

    Short posts that contain only external links can be made using the Asides feature.
    Posting times are now in human readable terms powered by the Time-Of-Day plugin.
    Posting times are now…

  2. Gravatar pdberger

    Hi. I installed the time of day plugin but when I activated it every post said “in the wee hours” so I erased the time of day plugin. But now the time has disappeared off all my posts! Can you help. I would like to reinstall the plugin and get it to work properly but I don’t know where to start.

  3. Gravatar Webmercial.dk » Blog Archive » Plugins

    […] sstopper, så man fik en chance for at følge med. Favoritter: Suggest Print Category Icon Time of day Dunstans Time Since Stylesheet Chooser Dates to remember My Stuff […]

  4. Gravatar Changes have been made : a wolf angel is not a good angel

    […] my individual posts, which now show the actual date, not just the date as filtered through time of day; to my plugins, including yami’s cool weighted words plugin, which […]

  5. Gravatar Ryan

    Love this plugin!

  6. Gravatar Michael Z.

    I’m very, very impressed that this sort of work is being done; Web Design is getting stagnant with people using just styled
    block-level elements to produce artwork. The incorporation of SVG into sites excites me a lot.
    How long do you expect it will take for this sort of technology to be widespread?
    Obviously you can only speak about WebKit realistically, but if it’s going to take ten years for IE Win to gain (full) support,
    we can’t design with it.
    I’m amused by the “Becoming more important” line in the first paragraph. This has been a HUGE problem for years -
    ever since HTML-2.0 was introduced to be more of a layout language and less of a markup language. For an example,
    you just have to look at this site. sex partners Why is all the text
    crammed over on the left side of the page with a big blank space on the right side?
    Why is the default font tiny and unreadable? Fortunately most browsers now let you override the latter problem.

  7. Gravatar max

    same issue as mentioned above.. can’t get it to work - just displays ‘wee hours’ for everything.. why?

  8. Gravatar Jen

    I was just looking at different keyword values…Did you know that the word “blogging” is worth $5.88? http://www.symbiotic.com/resources/B/Bl/Blogging.html

    Jen
    VP of Marketing
    www.layouts.com

  9. Gravatar Melle

    Is this plugin updated for WP 2.0? Cause it doesn’t seem to be working for me.

  10. Gravatar rachel sailer

    the time of day was 06:43pm