Shabbos And Yom Tov Wordpress Plugin - Rating, Reviews, Demo & Download

Shabbos And Yom Tov Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Note: This plugin uses Zemanim API (https://wyrezmanim.herokuapp.com/api/zmanim), for more information see https://wyrezmanim.herokuapp.com/help and https://kosherjava.com.

Attributes

See Examples

Make sure to set the first 3 attributes.

timezone
Definition: The timezone of your location. Must be a timezone from http://php.net/manual/en/timezones.php
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

Examples

See Attributes

  1. Basic example:

    [Shabbos_and_YomTov]Weekday content.[/Shabbos_and_YomTov]
    
  2. Basic example for Baltimore:

    [Shabbos_and_YomTov latitude='39.32' longitude='-76.64']Weekday content.[/Shabbos_and_YomTov]
    
  3. Basic example for Los Angeles:

    [Shabbos_and_YomTov latitude='34.05' longitude='-118.43' timezone='America/Los_Angeles']Weekday content.[/Shabbos_and_YomTov]
    
  4. Basic example for Jerusalem:

    [Shabbos_and_YomTov latitude='31.77' longitude='35.23' timezone='Asia/Jerusalem' one-day='yes']Weekday content.[/Shabbos_and_YomTov]
    
  5. Woocommerce example to use on Checkout page:

    [Shabbos_and_YomTov][woocommerce_checkout][/Shabbos_and_YomTov]
    
  6. Woocommerce example to use on Checkout page:

    [Shabbos_and_YomTov class="woocommerce-error"][woocommerce_checkout][/Shabbos_and_YomTov]
    
  7. 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]
    
  8. 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]
    

Screenshots

No screenshots provided


Reviews & Comments