[WordPress] 外掛分享: Shabbat Zman Widget

前言介紹

  • 這款 WordPress 外掛「Shabbat Zman Widget」是 2013-10-07 上架。
  • 目前有 60 個安裝啟用數。
  • 上一次更新是 2025-02-12,距離現在已有 81 天。
  • 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

adatosystems |

外掛標籤

Zman | Shabbat | Shabbat Times |

內容簡介

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

希伯來曆日期
點燈時間
本週的 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

原文外掛簡介

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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Shabbat Zman Widget」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | 2.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Daily Zman Widget 》這款外掛能顯示希伯來曆日期、日出、日落、及特定祈禱時間(最新 Shema、最早 Plag 等),同時提供多種計算方式(GR" A、M" A等)選擇。顯示設置高度可客製化...。
  • Zmanim WP 》總結:Zmanim WP 是一款讓 WordPress 管理員可以配置不同偏見的時間計算的外掛程式,提供一系列的短代碼及標準選項,可控制日期、格式、時間偏移等功能。這些...。

文章
Filter
Mastodon