If..Else Log

Time Of Day plugin v1

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

I've updated the time of day WP plugin. Instead of passing in the post_ID, the code now looks for a timestamp. This should mean that it will work for comments (and indeed, any date value) as well.

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-

15 Responses to “Time Of Day plugin v1”

  1. Gravatar maldita sea malgasté mi vida » La relatividad del tiempo

    […] t they’re asleep all over America. Todo esto para decir que acabo de instalar éste plugin

    weblogs

    Comentario […]

  2. Gravatar codefreak.de » Archiv » Verwendete Wordpress Plugins

    […] lung mit Daten und das Löschen dieser Tabelle verzichtet. Hier ist die modifizert Version Dunstan’s Time of day statt der genauen Uhrzeit in den Beiträgen. Allerd […]

  3. Gravatar Diary of a Network Geek » Cool WordPress Plugins, Home of Jim Hoffman’s CNE Resume

    […] is Cogburn. The nifty “posted at blah-blah-blah” thing is the Time of Day plugin. The GoogleAds are served up by the Moose Candy plugin. […]

  4. Gravatar spankaroonietwo.com » Wordpress Plugin links…

    […] Link: Dumb Comments Link is a plugin based on the original comments_number() function.* Dunstan's Time […]

  5. Gravatar A la voile sur la toile

    New blog

    So this is it. I’ve been working on it for the past few days, and I’m quite happy about what I’ve got now. Of course, I’m sure many of you will not feel that way. I myself feel […]

  6. Gravatar a trendy name » archives

    […] . Also, this release requires the Time Since plugin and the […]

  7. Gravatar WP Themes.info » Simple Blue V 2.0

    […] you to specify it as ‘midnight’, ‘morning’ etc. downloaded from : http://www.ifelse.co.uk/archives/2004/08/17/ time-of-day-plugin-v1 […]

  8. Gravatar empdesign » Blog Archive » Plugins Wp

    […] ios por texto plano en el caso de que los comentarios estén cerrados para esa entrada. […]

  9. Gravatar Daria Unplugged » Credit where credit is due.

    […] things running, but it was definantly worth it. The last plugin currently in use is “Dunstan’s Time of Day Plugin,” created by Duntan Orchard. This plu […]

  10. Gravatar Flüsterpropaganda » Blog Archive » Wordpress-Plugin

    […] s anzeigen zu lassen. Zu finden ist es unter dem Namen “Time Of Day plugin v1″ hier. Das ganze läuft noch in der Betaphase, und ich werde als Tester herhalt […]

  11. Gravatar Inicio « mediasur.cl

    […] Dunstan’s Time of day: Las horas de las entradas y comentarios son sustituidas por frases definidas por el usuario. Por ejemplo se podría sustituir el rango de horas de las 7 de la mañana a las 12 por //”por la mañana”//. […]

  12. Gravatar Inicio « mediasur.cl

    […] Dunstan’s Time of day: Las horas de las entradas y comentarios son sustituidas por frases definidas por el usuario. Por ejemplo se podría sustituir el rango de horas de las 7 de la mañana a las 12 por //”por la mañana”//. […]

  13. Gravatar Wordpress anpassen, Teil 3 (Plugins) | thomasr-vogt.de

    […] Dunstan’s Time of Day von Phu Ly & Dunstan Orchard […]

  14. Gravatar Plugins para Wordpress. | Puydi Publicidad 100% efectiva

    […] Dunstan’s Time of day: Las horas de las entradas y comentarios son sustituidas por frases definidas por el usuario. Por ejemplo se podría sustituir el rango de horas de las 7 de la mañana a las 12 por //”por la mañana”//. […]