On Shire Reckoning… Again
Filed under Tolkien, WordPress
The strange little box in the sidebar is now fixed.
I’ve written my first WordPress plug-in.
As you can tell, it generates a date in Shire Reckoning. I’ve done this before, but as a BASIC program. Now I’ve rewritten the program in fairly simply .php code.
Interested parties may download the plug-in here.
How does one call the plug-in? I inserted the following code into my sidebar.php file:
<?php shire_reckoning(); ?>
It can take two arguments–’auto’ or ‘now. Now will give you the current date in Shire Reckoning. Auto can be used to replace the_date function with shire_reckoning('auto') in your WordPress loop if you want to have your blog’s dates given in Hobbit terms.
RETH12
















March 11, 2005 at 5:16 am
I got to work on my blog! this si a nice plugin specially for LOTR fanatics!
March 11, 2005 at 2:14 pm
I as well have this working – the second version which adds “what happened on this day” to the SR date….
Thanks much, Allyn!
January 2, 2006 at 5:21 am
cool plugin!
May 1, 2006 at 7:11 am
is there a chance this will become a widget?