Automatically hide shopping cart or other content on Shabbos and Yom Tov and disply a message to the user. Alternately you can use it on your contact us page to display a message on Yom Tov.
The shortcode should be like [Shabbos_and_YomTov]Weekday content.[/Shabbos_and_YomTov]. See Attributes and Examples below.
This plugin will work according to your timezone that you set and not according to the users timezone (ie. a non-Jewish costomer can buy when it is Shabbos by him if by you it is not shabbos).
This plugin does not close your site on Shabbos, only the data enclosed in the shortcode. To close tour entire site for Shabbos use a plugin as WP-Shabbat. However it is possible to do so with this plugin see Frequently Asked Questions.
See Examples below.
Make sure to set the first 3 attributes.
Make sure to use the testdate attribute to make sure the shortcode works correctly.
timezone
Definition: The timezone of your location. Must be a timezone from http://php.net/manual/en/timezones.php.
From version 1.8 can now use time zone abbreviations.
Default value: ‘America/New_York’
latitude
Definition: The latitude of your location.
Default value: ‘40.63’
longitude
Definition: The longitude of your location.
Default value: ‘-73.98’
passover
Definition: How should your site display Passover.
Default value: ‘Passover’
shavuos
Definition: How should your site display Shavuos.
Default value: ‘Shavuos’
sukkos
Definition: How should your site display Sukkos.
Default value: ‘Sukkos’
rosh_hashanah
Definition: How should your site display Rosh Hashanah.
Default value: ‘Rosh Hashanah’
yom_kippur
Definition: How should your site display Yom Kippur.
Default value: ‘Yom Kippur’
shabbos_msg
Definition: What message should be displayed on Shabbos.
Default value: ‘We’re sorry but we are currently closed due to Shabbos.’
yom_tov_msg
Definition: What message should be displayed on Yom Tov. (%yomtov% will be replaced with the current Yom Tov)
Default value: ‘We’re sorry but we are currently closed due to %yomtov%.’
chol_hamoed
Definition: Use ‘open’ or ‘closed’.
Default value: ‘closed’
candle
Definition: Candle lighting time, in minutes before sunset.
Default value: ’15’
dusk
Definition: Time when Shabbos ends, in minutes after sunset.
Default value: ’72’
class
Definition: To add a class for the Shabbos and Yom Tov message.
Default value: NULL
one-day
Definition: If you are in Israel set to ‘yes’.
Default value: ‘no’
testdate
Definition: Use this attribute to see how your site will look on a certain date and time (eg. ‘5/26/18 8:05 pm’). Make sure to remove.
Default value: NULL
** Make sure to remove this attribute when finished testing. **
See Attributes above.
Basic example:
[Shabbos_and_YomTov]Weekday content.[/Shabbos_and_YomTov]
Basic example for Baltimore:
[Shabbos_and_YomTov latitude='39.32' longitude='-76.64']Weekday content.[/Shabbos_and_YomTov]
Basic example for Los Angeles:
[Shabbos_and_YomTov latitude='34.05' longitude='-118.43' timezone='America/Los_Angeles']Weekday content.[/Shabbos_and_YomTov]
Basic example for Jerusalem:
[Shabbos_and_YomTov latitude='31.77' longitude='35.23' timezone='Asia/Jerusalem' one-day='yes']Weekday content.[/Shabbos_and_YomTov]
Woocommerce example to use on Checkout page:
[Shabbos_and_YomTov][woocommerce_checkout][/Shabbos_and_YomTov]
Another Woocommerce example to use on Checkout page:
[Shabbos_and_YomTov class="woocommerce-error"][woocommerce_checkout][/Shabbos_and_YomTov]
Example to use on Contact Us page:
[Shabbos_and_YomTov shabbos_msg="" yom_tov_msg="We are closed today due to %yomtov%."][/Shabbos_and_YomTov]
Example to use on Contact Us page to show until midnight:
[Shabbos_and_YomTov shabbos_msg="" yom_tov_msg="We are closed today due to %yomtov%." dusk=360][/Shabbos_and_YomTov]
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
shabboscommerce
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Show products, apps, or designs inside a clean device mockup that improves visualization, builds credibility, and helps visitors make confident decisions.

Show Vimeo videos in a Vimeo feed that keeps content fresh and helps visitors discover more of your video library.
Corner button that stays fixed on the screen to highlight promotions, improve navigation, and guide visitors toward important actions with clear visibility.

Showcase visuals with an image wall that creates a parallax style gallery, offers smooth scrolling, and presents images in customizable, engaging layouts.
Add interactive two-sided cards with flip effects to present front and back content in a compact, engaging format.
Use Collapsible Content sections to structure information on your site and make it easier for visitors to find what they need.
Display multiple image carousels together in one organized grid layout.
Display clean code snippets with syntax highlighting to improve technical content and help developers scan examples quickly.
Offer customers a trusted way to pay using PayPal through a PayPal Button that reduces checkout friction and supports higher sales.
Interactive rankings that boost engagement
Display discounts with a coupon bar that highlights special offers, drives urgency, and helps convert visitors into paying customers.
Create custom calculators that let visitors enter values, get results, and make confident choices that support your business.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
