Displays Shabbat information for the coming week. Display is highly customizable, with options to display or hide:
- Hebrew date
- Candle lighting time
- Parsha HaShavuah/weekly Torah reading
- Sunrise and/or sunset
- Havdalah time
- Earliest time for Plag haMincha
- Latest time to say morning Shema
Within those options, there are choices to show English or Hebrew, Ashkenazi or Sephardi transliterations, and multiple options for calculating times (GR''A, M''A, etc)
This plugin makes two JSON calls to
hebcal.com (one to get the Hebrew date and one for the weekly Torah reading). More information on how this feature works can be found here:
http://www.hebcal.com/home/219/hebrew-date-converter-rest-api
...and here...
http://www.hebcal.com/home/195/jewish-calendar-rest-api
This plugin also makes three JSON calls to
GeoNames.org API to get the sunrise/sunset times for Friday and Saturday, and to obtain the latitude/longitude for the provided zip code. More information can be found here:
http://www.geonames.org/export/web-services.html/
For Daily Zmanim display, please see this plugin:
http://wordpress.org/plugins/daily-zman-widget/
- Download a copy of the zip file to your computer
- Extract the files.
- FTP to your webserver
- Create a directory inside /wp-content/plugins named "shabbatzmanim"
- Upload
zmanfriday.php
to the /wp-content/plugins/shabbatzmanim
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Use Appareance -> Widgets to place this information on your page (does not currently support shortcodes or php inserts)
Formatting
Several CSS style codes are included:
-
frizman: a DIV tag that wraps all the widget content
-
zmanbigtitle: a SPAN tag for the title of the widget
-
zmantitle: a SPAN tag for each of the titles within the widget.
Thus, you could format the text by adding the following to your style sheet:
#frizman { font-size: 12px; }
#zmanbigtitle {
font-size: 12px;
font-weight: bold;
text-decoration: underline;
}
#zmantitle { font-weight: bold; }