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-
[…] . Also, this release requires the Time Since plugin and the […]
[…] ios por texto plano en el caso de que los comentarios estén cerrados para esa entrada. […]
[…] 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 […]
[…] 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”//. […]
[…] 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”//. […]