What happened on this day in history? What happened on your birthday? Web-based CDay, an almanac for web servers, reports events, birthdays, and holidays. At least that’s the opening line on the CDay website. I have used the PHP version of CDay on my WordPress blog for some time now. I like to be able to look at a day in history and see historic events and what historic figures were born on that day. CDay did this for me. I’ve even had some readers mention on their blogs that they go to my blog to see who was born on a particular day or what happened in history. I decided to edit the CDay program to be a widgetized WordPress plugin. I made the decision for multiple reasons. I wanted to let others know just how cool the CDay program was. I also wanted others to be able to easily include CDay on their WordPress blog’s sidebar. I also wanted to continue to develop my PHP skills. Out of all these wants, CDay for WP was born.
After downloading the ZIP file, unzip the contents leaving the directory structure intact. Next FTP the “cday” folder and all of its contents to your WordPress plugins directory; well, you don’t HAVE to upload the CDay_README file. This is typically at “/wp-content/plugins” on your web server.
Next, in the Admin Panel of your WordPress installation, in the “Plugins” area, activate CDay for WP. Note: once you activate CDay, it is not yet ready to use! Next you will need to go to the “Options” area of the Admin Panel and then to the “CDay” entry. You should have the initial import screen. Click the “Begin Import” button to import the events packaged with the CDay for WP plugin. (There are over 7000 events of different kinds in the included events file.) Once completed, the screen should refresh and you should now see the same import screen with a message stating a successful import. Click the “Finish” button to then remove the events file from your webserver and display the standard CDay management interface.
CDay for WP can be used as a typical WordPress plugin, but it also is widget-aware. If you have WordPress Widgets installed, simply go to the “Presentation” area of the Admin Panel. If your current theme is widget-ready, click on the “Sidebar Widgets” item and you’ll see the “CDay 4 WP” item in the available widgets.
If you do not have the Sidebar Widgets plugin installed GO GET IT AND INSTALL IT!! Seriously, though, you can insert the following line of code where you want CDay to display in your sidebar:
cday4wp();
Note that when you do this, all settings are handled by the plugin. The Admin Panel is where you enter the sidebar title text; the rest of the plugin is done as an unordered list, which is the absolute best and easiest way to set up your sidebar.
You can download the CDay for WP plugin in ZIP format by clicking here













