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 SoPhobic v. SOLITAIRE

    […] st them below and try to give a short description. First of all, I added this hack called Time of Day. This hack basically changes the time of your entry into so […]

  2. Gravatar Leandro Simões Siqueira » Plugins

    […] 4, late evening Instalei dois plugins aqui no Wordpress: Acronym Replacer e o Time of the day. Comments » The URI to TrackBack this e […]

  3. 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…

  4. Gravatar mattmadethis.com » Useful WordPress Plugins?

    […] atings to any post, like a review. A bit of a no-brainer I’ll probably use this one. Time Of Day – seems useful, although I’m tempted by Time Since which shows t […]

  5. Gravatar Serenity, now! » Miscellaneous stuff

    […] og and should have it tied in to my journal in the next few days. Woot! Today I added the “time-of-day” and “time-since” plug-ins to my jo […]

  6. Gravatar jnew.de - jetzt noch ein weblog » Meine Wordpress Plugins

    […] Abkürzungen ist einfach erweiterbar und für eigene Bedürfnisse anpassbar. Dunstan’s Time of day - gibt die Tageszeit umgangssprachlich aus, z.B. früh a […]

  7. 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.

  8. 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 […]

  9. 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 […]

  10. Gravatar shorty114.net » Archives » Time Since Revisited

    […] eed the “22 hours, 12 minutes ago” information. Instead, I’m using the Time of Day plugin, which shows the period of the day in which the post was pos […]

  11. Gravatar andufo.net

    WordPress: TimeSince

    Si tienes un weblog basado en WordPress, y te interesa reemplazar la típica fecha de los posts o comentarios por algo como “escrito hace 3 semanas y 2 días“, entonces Dunstan’s Time Since es el plugin para ti. Me he tomado un minut…

  12. Gravatar andufo.net

    WordPress: TimeSince en español

    Si tienes un weblog basado en WordPress, y te interesa reemplazar la típica fecha de los posts o comentarios por algo como escrito hace 3 semanas y 2 días, entonces Dunstan’s Time Since es el plugin para ti. Me he tomado un minuto para adaptar…

  13. Gravatar Ryan

    Love this plugin!

  14. 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.

  15. Gravatar max

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

  16. 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

  17. Gravatar Melle

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

  18. Gravatar rachel sailer

    the time of day was 06:43pm