On Shire Reckoning… Again

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.

Here’s my main page on Shire Reckoning. :)

RETH12

4 Responses to “On Shire Reckoning… Again”

  1. I got to work on my blog! this si a nice plugin specially for LOTR fanatics!

    Firefox 1.0.1 Firefox 1.0.1 Windows XP Windows XP
  2. I as well have this working – the second version which adds “what happened on this day” to the SR date….

    Thanks much, Allyn!

    Firefox 1.0.1 Firefox 1.0.1 Windows XP Windows XP
  3. cool plugin!

    Firefox 1.5 Firefox 1.5 Windows 2000 Windows 2000
  4. is there a chance this will become a widget?

    Firefox 1.0.7 Firefox 1.0.7 Windows XP Windows XP

Leave a Reply