{"id":390008,"date":"2026-10-26T21:27:32","date_gmt":"2026-10-26T21:27:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/oversight-shabbat-mode\/"},"modified":"2026-10-26T21:27:20","modified_gmt":"2026-10-26T21:27:20","slug":"oversight-shabbat","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/oversight-shabbat\/","author":23589718,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"1.2.0","tested":"7.1.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Oversight Shabbat","header_author":"Oversight","header_description":"Locks your site during Shabbat and Jewish holidays in Israel and shows visitors a custom message \u2014 automatic times, manual locks and SEO-safe 503 responses.","assets_banners_color":"c8cee3","last_updated":"2026-10-26 21:27:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.oversight.co.il\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":59,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.0":{"tag":"1.2.0","author":"oversightil","date":"2026-10-26 21:27:20","revision":3767363}},"upgrade_notice":{"1.2.0":"<p>Moves updates to WordPress.org and adds an English interface. The Hebrew translation now comes from translate.wordpress.org.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3767363,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3767363,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3767363,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3767363,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3767363,"resolution":"1","location":"assets","locale":"","width":1280,"height":1353},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3767363,"resolution":"2","location":"assets","locale":"","width":1280,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3767363,"resolution":"3","location":"assets","locale":"","width":1280,"height":1332},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3767363,"resolution":"4","location":"assets","locale":"","width":1280,"height":800},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3767363,"resolution":"5","location":"assets","locale":"","width":1280,"height":800}},"screenshots":{"1":"Settings \u2014 current status, automatic Hebcal times, WooCommerce order blocking and the upcoming locks with their reason.","2":"Manual locks \u2014 \"Lock now\" and additional lock periods for holidays or special days.","3":"Lock page settings \u2014 title, message, logo, colors, reopen time and countdown.","4":"The lock page visitors see during Shabbat.","5":"The same lock page on a Hebrew site (right-to-left, Hebrew translation)."}},"plugin_section":[],"plugin_tags":[13422,31681,11385,1281,2704],"plugin_category":[],"plugin_contributors":[288792],"plugin_business_model":[],"class_list":["post-390008","plugin","type-plugin","status-publish","hentry","plugin_tags-holidays","plugin_tags-israel","plugin_tags-jewish","plugin_tags-maintenance-mode","plugin_tags-shabbat","plugin_contributors-oversightil","plugin_committers-oversightil"],"banners":{"banner":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/banner-772x250.png?rev=3767363","banner_2x":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/banner-1544x500.png?rev=3767363","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/icon-128x128.png?rev=3767363","icon_2x":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/icon-256x256.png?rev=3767363","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/screenshot-1.png?rev=3767363","caption":"Settings \u2014 current status, automatic Hebcal times, WooCommerce order blocking and the upcoming locks with their reason."},{"src":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/screenshot-2.png?rev=3767363","caption":"Manual locks \u2014 \"Lock now\" and additional lock periods for holidays or special days."},{"src":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/screenshot-3.png?rev=3767363","caption":"Lock page settings \u2014 title, message, logo, colors, reopen time and countdown."},{"src":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/screenshot-4.png?rev=3767363","caption":"The lock page visitors see during Shabbat."},{"src":"https:\/\/ps.w.org\/oversight-shabbat\/assets\/screenshot-5.png?rev=3767363","caption":"The same lock page on a Hebrew site (right-to-left, Hebrew translation)."}],"raw_content":"<!--section=description-->\n<p>Oversight Shabbat closes the public side of your site from candle-lighting until havdalah, and shows visitors a message page instead. It is built for Israeli sites and fully translatable, including right-to-left languages such as Hebrew.<\/p>\n\n<ul>\n<li><strong>Automatic times<\/strong> \u2014 Shabbat and Yom Tov times (Rosh Hashana, Yom Kippur, Sukkot, Shmini Atzeret, Pesach, Shavuot) from Hebcal.com, using the Israeli holiday calendar. The lock starts at the earliest candle-lighting and ends at the latest havdalah among Jerusalem, Tel Aviv, Haifa, Be'er Sheva, Eilat and Tzfat, so it is safe for the whole country. Times are refreshed once a day.<\/li>\n<li><strong>Fixed hours<\/strong> \u2014 use a fixed weekly window instead of automatic times. These hours are also the fallback when no Hebcal data is available.<\/li>\n<li><strong>Manual locks<\/strong> \u2014 add extra date\/time periods (holidays, events) and an instant \"Lock now\" switch.<\/li>\n<li><strong>Custom lock page<\/strong> \u2014 title, message (full editor), logo, colors, the time the site reopens and a live countdown.<\/li>\n<li><strong>WooCommerce orders blocked<\/strong> \u2014 during a lock no new order can be placed, not even from a cached checkout page, the block checkout or express-pay buttons. Payment confirmations for orders started before Shabbat still complete.<\/li>\n<li><strong>SEO-safe<\/strong> \u2014 visitors and search engines get HTTP 503 with a <code>Retry-After<\/code> header, which tells Google the downtime is temporary. robots.txt and sitemaps stay available.<\/li>\n<li><strong>Cache-aware<\/strong> \u2014 page caches are purged when a lock starts and ends, and a tiny script shows the lock page even if a cached copy was served.<\/li>\n<li><strong>Administrators<\/strong> keep seeing the site normally, with a red notice bar.<\/li>\n<li>All times use Israel time, regardless of the WordPress timezone setting.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the <strong>Hebcal.com REST API<\/strong> (https:\/\/www.hebcal.com\/hebcal) to get Shabbat and Jewish holiday times (candle-lighting and havdalah) for Israel.<\/p>\n\n<ul>\n<li><strong>When:<\/strong> only while Shabbat mode is enabled and set to \"Automatic\" times \u2014 once a day (WP-Cron), when automatic mode is first switched on, after a plugin update, and when an administrator clicks \"Refresh times now\". Nothing is sent while the plugin is disabled or set to fixed hours.<\/li>\n<li><strong>What is sent:<\/strong> one request per city with fixed parameters only \u2014 the city's GeoNames ID (Jerusalem, Tel Aviv, Haifa, Be'er Sheva, Eilat, Tzfat) and a date range (the next 60 days). No visitor, user or site data is sent, apart from the standard HTTP request information (such as the server's IP address and the WordPress user agent).<\/li>\n<li><strong>Service provider:<\/strong> Hebcal.com. Data is licensed under CC BY 4.0. <a href=\"https:\/\/www.hebcal.com\/home\/developer-apis\">Terms \/ API documentation<\/a>, <a href=\"https:\/\/www.hebcal.com\/home\/privacy-policy\">Privacy policy<\/a>.<\/li>\n<\/ul>\n\n<p>No other external services are used. The plugin does not track visitors and does not contact the plugin author.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin from Plugins \u2192 Add New, or upload the zip file, and activate it.<\/li>\n<li>Go to <strong>Shabbat Mode<\/strong> in the admin menu, tick \"Enable Shabbat mode on this site\" and save.<\/li>\n<li>In the \"Lock page\" tab, customize the message and click \"View the lock page\" to preview it.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"will%20this%20hurt%20my%20seo%3F\"><h3>Will this hurt my SEO?<\/h3><\/dt>\n<dd><p>No. During a lock the site returns HTTP 503 (Service Unavailable) with a <code>Retry-After<\/code> header saying when it reopens. This is the method Google recommends for temporary closures: pages are not removed from the index and rankings are not affected. robots.txt and sitemaps keep working normally.<\/p><\/dd>\n<dt id=\"what%20keeps%20working%20during%20a%20lock%3F\"><h3>What keeps working during a lock?<\/h3><\/dt>\n<dd><p>The admin area, the login page, the REST API, AJAX, WP-Cron and WooCommerce \/ payment gateway webhooks \u2014 so payments and integrations do not break.<\/p><\/dd>\n<dt id=\"can%20customers%20place%20orders%20during%20shabbat%3F\"><h3>Can customers place orders during Shabbat?<\/h3><\/dt>\n<dd><p>Not by default: \"Block orders during Shabbat and holidays\" is on. Payment confirmations (webhooks) for orders started before Shabbat, orders created by an administrator, and the WooCommerce REST API (\/wc\/v3) are not blocked.<\/p><\/dd>\n<dt id=\"i%20use%20a%20caching%20plugin.%20does%20it%20work%3F\"><h3>I use a caching plugin. Does it work?<\/h3><\/dt>\n<dd><p>Yes. The plugin purges the page cache when each lock starts and ends (WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, SiteGround Optimizer, WP Fastest Cache, Breeze, Cache Enabler, Nginx Helper). In addition, a small script on every page checks the lock state and shows the lock page even if an old cached page was served.<\/p>\n\n<p>On fully cached sites we recommend a real server cron so the purge runs on time, for example <code>*\/5 * * * * curl -s https:\/\/example.com\/wp-cron.php?doing_wp_cron &gt; \/dev\/null<\/code>, together with <code>define( 'DISABLE_WP_CRON', true );<\/code> in wp-config.php.<\/p><\/dd>\n<dt id=\"what%20about%20cloudflare%3F\"><h3>What about Cloudflare?<\/h3><\/dt>\n<dd><p>The Cloudflare cache is not purged automatically. If you cache HTML pages on Cloudflare (Cache Everything \/ APO), exclude the site or purge manually. Developers can hook their own purge into the <code>oversight_shabbat_purge_cache<\/code> action.<\/p><\/dd>\n<dt id=\"my%20host%20shows%20its%20own%20error%20page%20instead%20of%20the%20lock%20page\"><h3>My host shows its own error page instead of the lock page<\/h3><\/dt>\n<dd><p>Some servers replace every 503 response with their own error page. Ask your host not to intercept 503 responses from the site.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20available%20in%20hebrew%3F\"><h3>Is the plugin available in Hebrew?<\/h3><\/dt>\n<dd><p>Yes. The Hebrew (he_IL) translation is delivered through translate.wordpress.org; on a Hebrew site the admin screens and the lock page are shown in Hebrew, right-to-left.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Prepared for WordPress.org: English source strings (translations via translate.wordpress.org), updates now come from WordPress.org.<\/li>\n<li>Hebcal is contacted only while Shabbat mode is enabled in automatic mode.<\/li>\n<li>Hebcal.com attribution in the settings page.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>New: block WooCommerce orders during Shabbat and holidays (classic checkout, block checkout and express pay).<\/li>\n<li>New: holiday \/ Shabbat names shown next to each lock in the upcoming-locks table and the status line.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release: automatic Shabbat and holiday lock based on Hebcal, fixed hours, manual locks, custom lock page, SEO-safe 503 response, cache purging.<\/li>\n<\/ul>","raw_excerpt":"Closes your site during Shabbat and Jewish holidays in Israel and shows visitors a custom message \u2014 without hurting SEO.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/390008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=390008"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/oversightil"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=390008"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=390008"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=390008"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=390008"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=390008"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=390008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}