[WordPress] 外掛分享: Shabbat Zman Widget

首頁外掛目錄 › Shabbat Zman Widget
50+
安裝啟用
★★★★
4.7/5 分(6 則評價)
425 天前
最後更新
問題解決
WordPress 3.3+ v1.8 上架:2013-10-07

內容簡介

本外掛顯示即將到來的週六資訊,顯示內容高度可自訂,包括顯示或隱藏以下內容:

希伯來曆日期
點燈時間
本週的 Tora 閱讀節次(Parsha HaShavuah)
日出和/或日落時間
夏令時間
Plag haMincha 最早報時
早晨 Shema 最晚報時

在這些選項內,可以選擇顯示英文或希伯來文,阿什肯納茲或西法底翻譯,以及多種計算時間的選項(GR”A、M”A等)

此外掛對 hebcal.com 進行了兩次 JSON 請求(一次為獲取希伯來曆日期,一次為獲取本週 Tora 閱讀節次)。有關此功能的更多信息可以在此找到:
http://www.hebcal.com/home/219/hebrew-date-converter-rest-api
…以及在這裡…
http://www.hebcal.com/home/195/jewish-calendar-rest-api

此外掛還會對 GeoNames.org API 發出三次 JSON 請求,以獲取週五和週六的日出/日落時間,並獲取提供的郵編的緯度/經度。有關此功能的更多信息可以在此找到:
http://www.geonames.org/export/web-services.html/

如需顯示每日祈禱時間,請參閱此外掛:https://wordpress.org/plugins/daily-zman-widget/

任意區域 1

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Shabbat Zman Widget」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 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: https://wordpress.org/plugins/daily-zman-widget/
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 “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; }

LEGACY INFORMATION

= 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.
I put in my zipcode but I’m not getting the right location.
Get the latitude/longitude for your location and use that instead.
I put in the latitude/longitude but it’s showing the completely wrong city
The chances are when you googled “latitude longitude for xxxx” it gave you two regular numbers. What you need to pay attention to is the North/South and East/West items. If the number is South or West, then you need to make the number negative. Example: San Francisco is 37.7833 N, 122.4167 W. But if you leave the longitude as 122.4167 you’ll get Weihai, China.

文章
Filter
Apply Filters
Mastodon