• I’ve written my first WordPress plug-in.

    Once installed, the plug-in generates a date in Shire Reckoning, the calendrical system in use in the Shire in Middle-Earth during the late third age. I’ve done this before, but as a BASIC program. Now I’ve rewritten the program in fairly simple .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(); ?>

    The function can also take arguments in the order (month, day, year). The default is to generate the current date.

Viewing 15 replies - 1 through 15 (of 21 total)
Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘New Plugin: Shire Reckoning’ is closed to new replies.