Under review

Editing text display of Shabbat times

wplove 7 years ago updated by Michael J. Radwin 7 years ago 1

I'm using the following javascript to display shabbat times on my website:

<script type="text/javascript" charset="utf-8"

I want to change the display text, however, but don't know how to do it.

For example, I want to change

  • Candle lighting: 8:07pm on Friday, 15 Jul 2016
  • This week's Torah portion is Parashat Chukat
  • Havdalah (50 min): 9:14pm on Saturday, 16 Jul 2016


Is there a way of just generating the times without any of the other text? Or separating the text into distinct sections that I can hide or display? Apologies if you've answered this elsewhere-I'm a bit new to coding API's.

Under review

You can use the JSON API to customize the response. You'll have to write a little bit of JavaScript yourself. Here's an example: