{"id":41428,"date":"2016-01-20T08:30:35","date_gmt":"2016-01-20T08:30:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/calj\/"},"modified":"2025-06-20T14:49:13","modified_gmt":"2025-06-20T14:49:13","slug":"calj","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/calj\/","author":14768135,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5","stable_tag":"trunk","tested":"6.6.5","requires":"4.9","requires_php":"5.6","requires_plugins":null,"header_name":"CalJ","header_author":"Gabriel Zerbib <gabriel@calj.net>","header_description":"","assets_banners_color":"dbbb97","last_updated":"2025-06-20 14:49:13","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.calj.net\/paypal","header_plugin_uri":"https:\/\/calj.net","header_author_uri":"https:\/\/calj.net","rating":3.4,"author_block_rating":0,"active_installs":100,"downloads":3729,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Just upgrade the plugin to the latest version.<\/p>"},"ratings":{"1":2,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1331973,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1331954,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[416,1358,1486,10604,11385],"plugin_category":[40,43],"plugin_contributors":[94702],"plugin_business_model":[],"class_list":["post-41428","plugin","type-plugin","status-publish","hentry","plugin_tags-calendar","plugin_tags-date","plugin_tags-events","plugin_tags-hebrew","plugin_tags-jewish","plugin_category-calendar-and-events","plugin_category-customization","plugin_contributors-calj","plugin_committers-calj"],"banners":{"banner":"https:\/\/ps.w.org\/calj\/assets\/banner-772x250.jpg?rev=1331954","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/calj\/assets\/icon-128x128.png?rev=1331973","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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,\nwith the help of a simple <em>shortcode<\/em><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/calj<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings-&gt;CalJ screen to configure the plugin<\/li>\n<li>Register for a free API key for your current WordPress instance inside the Settings Form<\/li>\n<\/ol>\n\n<p>\/!\\ NOTE: you must install the plugin on your target (final\/production) WordPress instance (Website URL)\nfor the registered key to work. If you register a key for a test\/staging website URL, the key will\nonly work for that Referrer. You may register several keys if you need more than one environment.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20use%20the%20shortcode'><h3>How to use the shortcode<\/h3><\/dt>\n<dd><p>The <code>caljshabbat<\/code> shortcode accepts several directives, which you can arrange the way you want in your pages.<\/p>\n\n<p>Print the name of the current week's Parasha.\nAvailable languages are: <code>en<\/code>, <code>fr<\/code>, <code>he<\/code>, <code>ru<\/code>.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.parasha\" lang=\"he\"]\n<\/code><\/pre>\n\n<p>Print the candle-lighting time for the forthcoming Shabbat, in 24-hour format (example: <code>18:41<\/code>).<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.begins\"]\n<\/code><\/pre>\n\n<p>Print the hour of candle-lighting time, in 12-hour format (example: <code>6<\/code>).<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.beginsHour12\"]\n<\/code><\/pre>\n\n<p>Print the hour of candle-lighting time, in 24-hour format (example: <code>18<\/code>).<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.beginsHour24\"]\n<\/code><\/pre>\n\n<p>Print the minute of candle-lighting time (example: <code>41<\/code>).<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.beginsMinute\"]\n<\/code><\/pre>\n\n<p>Print the end of shabbat, in 24-hour format.\nNote that you can use <code>endsHour12<\/code>, <code>endsHour24<\/code> and <code>endsMinute<\/code> too.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.ends\"]\n<\/code><\/pre>\n\n<p>Print the day of month (secular) of Shabbat.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.day\"]\n<\/code><\/pre>\n\n<p>Prints the month number (secular) of Shabbat.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.month\"]\n<\/code><\/pre>\n\n<p>Print the name of the secular month of Saturday, in specified language (example: ao\u00fbt).<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.monthName\" lang=\"fr\"]\n<\/code><\/pre>\n\n<p>Print the year (secular) of Shabbat.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.year\"]\n<\/code><\/pre>\n\n<p>Print the day of month (secular) of Friday.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.fridayDay\"]\n<\/code><\/pre>\n\n<p>Print the month number (secular) of Friday.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.fridayMonth\"]\n<\/code><\/pre>\n\n<p>Print the name of the secular month of Friday, in specified language (example: July).<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.fridayMonthName\" lang=\"en\"]\n<\/code><\/pre>\n\n<p>Print the year (secular) of Friday.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.fridayYear\"]\n<\/code><\/pre>\n\n<p>Print the day of month (Jewish) of Shabbat.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.jday\"]\n<\/code><\/pre>\n\n<p>Print the name of the Jewish month of Shabbat.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.jmonthName\"]\n<\/code><\/pre>\n\n<p>Print the name of the Jewish month of Shabbat in specified language.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.jmonthName\" lang=\"ru\"]\n<\/code><\/pre>\n\n<p>Print the Jewish year of Shabbat.<\/p>\n\n<pre><code>  [caljshabbat val=\"shabbat.jyear\"]\n<\/code><\/pre>\n\n<p>Print the Daf Yomi of the current day.<\/p>\n\n<pre><code>  [caljshabbat val=\"dafyomi.string\"]\n<\/code><\/pre><\/dd>\n<dt id='with%20multiple%20cities'><h3>With multiple cities<\/h3><\/dt>\n<dd><p>If you purchased a multiple-city package, you may use the following syntax to display the times for a selected city by its code:<\/p>\n\n<pre><code>  [caljshabbat city=\"Montreal\" val=\"shabbat.begins\"]\n<\/code><\/pre><\/dd>\n<dt id='how%20are%20the%20times%20calculated'><h3>How are the times calculated<\/h3><\/dt>\n<dd><p>Check out https:\/\/www.calj.net\/ for details.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5<\/h4>\n\n<p>Fix by @idokd for wp_remote_get<\/p>\n\n<h4>1.4.2<\/h4>\n\n<p>Better error handling<\/p>\n\n<h4>1.4.1<\/h4>\n\n<p>Support for PHP 8 -- fixup<\/p>\n\n<h4>1.4<\/h4>\n\n<p>Support for PHP 8<\/p>\n\n<h4>1.3<\/h4>\n\n<p>Support for multiple cities.<\/p>\n\n<h4>1.2.1<\/h4>\n\n<p>Secular month names.\nDate elements for the upcoming Friday.<\/p>\n\n<h4>1.2<\/h4>\n\n<p>Support for additional languages.<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Added Daf Yomi.<\/p>\n\n<h4>1.0<\/h4>\n\n<p>First release.<\/p>","raw_excerpt":"Display the Shabbat times (zmanim) for the city of your choice.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=41428"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/calj"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41428"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41428"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41428"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41428"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41428"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}