Saturday Site Blocker

外掛說明

Saturday Site Blocker helps site owners observe Shabbat by displaying a customizable overlay on the front-end of the website during Shabbat hours. The plugin fetches Shabbat times based on the specified location and ensures the site remains inaccessible to visitors during these times, promoting rest and reflection.

Features:

  • Automatically fetches Shabbat start and end times based on user-defined location.
  • Displays a customizable overlay with title and message during Shabbat.
  • Allows administrators to bypass the overlay for site management purposes.
  • Provides settings to enable or disable the blocker and customize overlay content.
  • Allows customization of the overlay background color and opacity.
  • Option to upload an image to be displayed on the overlay. If an image is selected, it will replace the title and content text.

External Services

This plugin connects to the Hebcal API to obtain accurate Shabbat start and end times.

Service Used: Hebcal API
What data is sent? The plugin sends the user-defined location (city name).
When is data sent? Data is fetched once per week for caching purposes.
Where is the data sent? The API request is made to https://www.hebcal.com/shabbat/.
Privacy Policy: Hebcal Privacy Policy

螢幕擷圖

  • Settings Page: Configure the plugin’s options, including enabling the blocker and customizing the overlay content.
  • Overlay Display: Example of the full-page overlay shown to visitors during Shabbat.

安裝方式

  1. Upload the saturday-site-blocker folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to ‘Settings’ -> ‘Saturday Site Blocker’ to configure the plugin:
    • Enable or disable the site blocker.
    • Set the overlay title and content.
    • Specify your location for accurate Shabbat times.
    • Customize the overlay background color and opacity.
    • Upload an image to be displayed on the overlay. If an image is selected, it will replace the title and content text.

常見問題集

How does the plugin determine Shabbat times?

The plugin fetches Shabbat times from the Hebcal API based on the location specified in the settings.

Can administrators access the site during Shabbat?

Yes, administrators with the ‘manage_options’ capability can bypass the overlay to manage the site during Shabbat.

Is it possible to customize the overlay’s appearance?

Yes, the plugin allows customization of the overlay’s title, content, background color, and opacity through the settings page. You can also upload an image to be displayed on the overlay. If an image is selected, it will replace the title and content text.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Saturday Site Blocker〉的開發相關工作。

參與者

將〈Saturday Site Blocker〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • Added options to customize the overlay background color and opacity.
  • Added option to upload an image to be displayed on the overlay.

1.0

  • Initial release of Saturday Site Blocker.