Fantasist's Scroll

Fun, Fiction and Strange Things from the Desk of the Fantasist.


Dale Reckoning WordPress Plugin

Filed under: — Posted by the Fantasist during the Hour of the Dragon which is in the early morning.
The moon is a New Moon

Dale Reckoning for WordPress

The plugin is pretty simple and straight-forward to use, actually.
Just copy it to your plugin directory, go to the Plugin Management page, turn the plugin on and add the tags to your templates.
To use the Forgotten Realms/Dale Reckoning date in your post add < ?php frdate($post->ID,'','') ?>. Obviously, you can change out the formatting codes with anything you want, or simply leave blank spaces in the quotes to have no additional formatting added, like so < ?php frdate($post->ID,'','') ?>. I’d guess that you would want to change the code that is currently < ?php the_date() ?>, but that’s up to you.
To use the Forgotten Realms calendar instead of the “regular” one, simply substituite < ?php get_frcalendar(); ?> for < ?php get_calendar(); ?>. To have the archives show up in a Dale Reckoning format, use this code: < ?php fr_get_archives('type=monthly'); ?> instead of < ?php wp_get_archives('type=monthly'); ?>.

And, really, that’s all there is to it.

The plugin was tested with both WordPress 1.5 and 2.x and should work with both, but I make no promises. And, the calendar doesn’t do the three ten-day “weeks” that they use in the Forgotten Realms, but it’s a fairly good compromise, I think. Hey, it’s free, so what do you want from me?
If you don’t know about the Forgotten Realms, you can check it out at the Wizards of the Coast website, where they now have a Forgotten Realms Calendar Tool.
I chose to synchronize my Forgotten Realms year with the year that the Forgotten Realms Campaign Setting was published. In spite of what it says on the Dalereckoning article on the Wikipedia, but based on that officially published supplement, the campaign year of 1372 DR should correspond with 2001 AD. You can edit the file, however, to adjust that to your own particular campaign. Just do a search and replace on 629 with your own, adjusted, modifier. No, I won’t help you do it. Again, this is free, and at that price, you can figure out the math yourself to correct for the current year in your campaign.
Please note: This plugin seems to be working fine with WordPress version 2.5, but I haven’t done rigorous testing, so use at your own risk!

Update: There was some bad/old PHP syntax that threw a bunch of stupid errors in this code, but, thanks to the COVID-19 quarantine, I updated it.  The download now includes that fix, so if you update you’ll get fewer errors as of 4-10-2020.  Enjoy!

Download the Forgotten Realms Date Plugin.

If you liked this plugin and would like to contribute to the author’s financial and mental state, feel free to make a donation!


  1. Hello,
    Just wondering if anyone could help. I did something stupid and started my blog using a numerical archive system, and now I'd like to change it so that the post title is part of the URL for SEO reasons. Is there any WordPress plugins that anyone knows of that could switch it without sending Googlers to invalid pages? Maybe some sort of redirector to the correct page?


    Comment by Ali — 10/30/2006 @ 1:32 am

  2. Cool concept for a plug-in, dude! I’ve downloaded it, partly to study the code and see how you handled similar problems. I wrote a similar plug-in called Shire Reckoning which puts our dates into their Shire equivalent, even gives a “This Day in Middle-Earth” for the sidebar for those who like that sort of thing.

    One of these days, maybe I’ll tackle a French Revolutionary Calendar plug-in… 😆

    Comment by Allyn Gibson — 4/20/2007 @ 8:20 pm

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Powered by WordPress
Any links to sites selling any reviewed item, including but not limited to Amazon, may be affiliate links which will pay me some tiny bit of money if used to purchase the item, but this site does no paid reviews and all opinions are my own.