mikeage.net Logo
mikeage.net/2006/11/05/hebrew-date-v101/

mikeage.net @ י"ג אייר תשס"ח

Hebrew Date v1.0.1

Based on an idea I "borrowed" from Jacob Fresco, I've added the ability to insert the current Hebrew Date (with sunset correction!) anywhere in a theme.

Simply add <?php if (function_exists('hebrewDateCurrent')) { hebrewDateCurrent();} ?> to a theme.

The code can be downloaded Hebrew Dates release page under the Software section.

The code needs some major cleanup, but not today...

4 Responses to “Hebrew Date v1.0.1”

  1. KosherJava Said:

    Looks Great. One minor thing I would change would be to have the hebrewDateCurrent use the config settings, so that if I opted for Gregorian-Hebrew, it would show both.

  2. KosherJava Said:

    Actually, just using &lt;?php echo the_time(); ? &gt; (I give up on trying to format this properly) will echo the time using the plugin, so the extra work of hebrewDateCurrent is useful only if you want to only display the Hebrew date.

  3. Mike Miller Said:

    Two good points. I deliberately did NOT use the config settings, b/c there's already a way to display the Gregorian date/time, and since the user has to modify the theme anyway, I figured they can put in what they want. I hear your point, though.

    BTW, to format, use <code allow="none"> blah </code>

  4. KosherJava Said:

    I posted the official notice of the new plugin home at Wordpress Hebrew Date Plugin Has a New Home and added updates to the various pages on my site.

Leave a Reply

Verification Image

Please type the letters you see in the picture. This field is case-insensitive, and valid letters are A-Z (no numbers)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Quicktags:

Quick Map
Content +
Personal +
Archives +
Site Stuff +
RBS Weather +
Search +
New Images
Visitors
Clustermap
Blogroll

Valid XHTML 1.1!
Printer Friendly Page
 

Last Modified: September 04, 2006 @ 09:11 CST