Mike who took over development of the WordPress Hebrew Date plugin in 2006, released a new version of the plugin. The WordPress Hebrew Date plugin is now hosted at the WordPress plugin repository. This should make it easier for people to find and update the plugin. New in this version is support for the WordPress 3.0 default theme, a general rewrite, and expansion of the API calls intercepted by the plugin. See the changelog page for a more detailed list of all the changes. Please contact Mike with any suggestions, comments or bugs.
The Hebrew date Plugin has not been in active development for a while, and I am pleased to announce that it now has a new home at mikeage.net. Mike added a config page as well as a few new options. The plugin can be downloaded from the WordPress Hebrew dates Plugin Page. As a backup, you can also download it from Mike’s Site. In addition to Mike’s work, Jacob Fresco has used the code to create an additional Jewish Date plugin that displays the current Jewish date. This plugin has since been merged to Mike’s version.
Read the following posts at Mike’s site for more details.
As pointed out in a comment on the WordPress Hebrew Date Plugin page, there was a PHP function isJewishLeapYear missing from the plugin that caused issues when the month was Adar. I added this to the file and relesed it as version 0.9. I do not have any posts in Adar, so I can’t really test this fix, so please let me know if you run into any problems.
A new version (v0.3.0) of the Hebrew Date Plugin is now available. This fixes the post time formatting issue. The code is crude and relies on the detection of a ‘:’ in the Date String to determine that it is a time and not date. This works well with the default WordPress 1.5 theme (Kubrick). Other themes that use alternate date formatting might not work perfectly with this plugin. It is worth noting that as far as I know, this plugin will only work with WP 1.5. The plugin does not require changes to the theme, and can simply be activated from the Admin plugin screen.
I just hacked a simple plugin that displays Hebrew dates alongside the current Gregorian dates on posts. This is now active on this site. The alpha quality code (v0.2.0) is now available for your testing. For the most part the code is almost identical to the PHP code that I wrote to display Jewish dates in PhpGedView. While the PhpGedView code has various display options, for the sake of simplicity and the fact that I never wrote any WordPress plugins before, I did not code any of these options yet. Also not done is parsing of the “Month, Year” format of the archive pages. The PhpGedView code has many options such as displaying the dates in
- Hebrew Only – י"ז סיון תשס"ה
- Hebrew and Gregorian – June 24th, 2005 – י"ז סיון תשס"ה
- Hebrew using the Latin characters – 17 Sivan 5765
and more. These may eventually be added to the plugin.
Since I am constantly tweaking things here (will settle down soon), I found myself looking for an easy way to temporarily bring the site offline. I came across the Site Unavailable plugin. It did exactly what I expected it to do, but the simple
html code that the plugin generated left a lot to be desired in terms of look and feel. I tweaked the file to add the site’s header and footer to make the unavailable message match the look and feel of the site. Being new to WordPress and too lazy to debug the PHP error message, I just suppressed them with an @. It works well with the default theme that I am using but not exactly proper with the Coffee Cup theme that I was testing. Since you will not likely hit the “Unavailable” message, here is a screen shot of the original plugin look, the default theme look and the Coffee Cup look. You can download the modified file here. There is a slight problem with the mod in that the nav bar bgcolor seems to still show. In the Site Unavailable blog, the author mentioned an option that he might include implementing a request to allow an admin to see the site. This should be done with great care, since it is very easy for one to not realize that the site is still offline in this scenario and leave it that way.