內容簡介
這款外掛能顯示希伯來曆日期、日出、日落、及特定祈禱時間(最新 Shema、最早 Plag 等),同時提供多種計算方式(GR" A、M" A等)選擇。顯示設置高度可客製化,可選擇顯示或隱藏以下選項:
希伯來曆日期
日出和 / 或日落
最早的 Plag haMincha 祈禱時間
最晚誦讀早晨 Shema 祈禱時間
這些選項中,可選擇顯示英文或希伯來文、阿什肯納茲式或塞法地式轉音,以及多種計算時間的方式(GR" A、M" A等)
此外掛程式會向 hebcal.com 發送一個 JSON 請求以獲取希伯來曆日期。更多有關此功能的資訊可參閱以下網址:
http://www.hebcal.com/home/219/hebrew-date-converter-rest-api
此外掛程式同樣會向 Google Maps API 發送兩個 JSON 請求:一個以獲取所提供郵遞區號的緯度 / 經度,另一個則是以確定此郵遞區號的時區。
更多信息可在以下網址找到:
https://developers.google.com/maps/documentation/geocoding/
以及在以下網址找到:
https://developers.google.com/maps/documentation/timezone/
如要顯示週六 Shabbat Zman,在此請參閱此外掛:https://wordpress.org/plugins/adatosystems-friday-zmanim/
任意區段 1
外掛標籤
開發者團隊
原文外掛簡介
THIS PLUGIN IS NO LONGER SUPPORTED.
For a version that works with current WordPress installations, please see Zmanim WP or some other plugin.
LEGACY INFORMATION
Displays Hebrew date, sunrise, sunset, and key times for prayers (latest Shema, earliest Plag, etc) along with multiple calculation options (GR”A, M”A). Display is highly customizable, with options to display or hide:
Hebrew date
Sunrise and/or sunset
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 one JSON call to hebcal.com for the the Hebrew date. More information on how this feature works can be found here:
http://www.hebcal.com/home/219/hebrew-date-converter-rest-api
This plugin also makes two JSON calls to Google’s Maps API: one to obtain the latitude/longitude for the provided zip code, and another to determine the time zone for that zip code.
More information can be found here:
https://developers.google.com/maps/documentation/geocoding/
…and here…
https://developers.google.com/maps/documentation/timezone/
For Shabbat Zman display, please see this plugin: https://wordpress.org/plugins/adatosystems-friday-zmanim/
LEGACY INFORMATION
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 “dailyzmanim”
Upload zmanfriday.php to the /wp-content/plugins/dailyzmanim 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:
* #dailyzman: 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:
dailyzman { font-size: 12px; }
zmanbigtitle {
font-size: 12px;
font-weight: bold;
text-decoration: underline;
}
zmantitle { font-weight: bold; }
LEGACY INFORMATION
= The plugin works for part of the day, and then stops =
The Google API has a limit of 2,500 requests per day. If you need more than that, contact the developer for the pro version that covers high-volume websites.
Something isn’t working. Any way I can see what might be going wrong?
Check the “debug” option at the bottom of the widget to get some of the initial calculations that are coming in. Otherwise, contact the developer. I hear he’s a great guy.
