Using Zmanim-WP Shortcodes for Shabbat
This installment in the free WordPress plugin tutorial covers Shabbat shortcodes: candle lighting, Torah portion, and holiday names.
In this part of the series on the Zmanim-WP plugin for WordPress, the focus is on Shabbat-related shortcodes. The first shortcode discussed is [zman_candles], which displays the time for lighting candles on Friday evening. The second is [zman_parsha], which shows the name of the weekly Torah portion. The third is [zman_yomtov], which reveals the name of a holiday if Shabbat occurs within it.
In addition, if a Shabbat has a special name (such as Shabbat Zachor or Shabbat Shekalim), that will also be displayed. These shortcodes can be used without any additional options, or with the options detailed in the initial post of the series. The [zman_candles] shortcode allows users to input a specific date and choose a date format.
The [zman_parsha] and [zman_yomtov] shortcodes can both take a language option, enabling the output to be displayed in either English or Hebrew. While no specific Rabbinic opinion is required to choose a setting for Candle lighting, users can customize the default 18 minutes before shkia (sunset) on Friday as per their preference. In the following section, the author will delve into "early" Shabbat settings.
Written by urgent.news from HackerNoon's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.