Description
Use the popular CalJ API to display the begin and end times of Shabbat as well as the name of the week’s Parasha on your blog,
with the help of a simple shortcode
Faq
How to use the shortcode
The caljshabbat
shortcode accepts several directives, which you can arrange the way you want in your pages.
-
[caljshabbat val="city.name"]
Prints the name of the location for which you are showing the times. You may configure the city on the CalJ API configuration page.
-
[caljshabbat val="shabbat.parasha"]
Prints the name of the current week’s Parasha.
-
[caljshabbat val="shabbat.begins"]
Prints the candle-lighting time for the forthcoming Shabbat, in 24-hour format.
-
[caljshabbat val="shabbat.ends"]
Prints the end of shabbat, in 24-hour format.
-
[caljshabbat val="shabbat.day"]
Prints the day of month (secular) of Shabbat.
-
[caljshabbat val="shabbat.month"]
Prints the month number (secular) of Shabbat.
-
[caljshabbat val="shabbat.year"]
Prints the year (secular) of Shabbat.
-
[caljshabbat val="shabbat.jday"]
Prints the day of month (Jewish) of Shabbat.
-
[caljshabbat val="shabbat.jmonthName"]
Prints the name of the Jewish month of Shabbat.
-
[caljshabbat val="shabbat.jyear"]
Prints the Jewish year of Shabbat.
-
[caljshabbat val="dafyomi.string"]
Prints the Daf Yomi of the current day.
How are the times calculated
Check out https://www.calj.net/ for details.
Installation
- Upload the plugin files to the
/wp-content/plugins/calj
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings-CalJ screen to configure the plugin
- Register for an API key on http://www.calj.net/api
Changelog
1.1
Added Daf Yomi.
1.0
First release.