Skip to content

Add Shabbat times to WordPress

The most common platform for synagogue and community websites.

Steps

  1. Edit the page, then add a Custom HTML block.
  2. Paste the snippet into the block.
  3. Update the page. The block editor's preview does not always run the script — check the published page, not the preview.
  4. For a permanent sidebar: Appearance → Widgets → add a Custom HTML block there instead.

What usually goes wrong

In the classic editor, switch to the Text tab before pasting. The Visual tab strips the <script> tag on save, and the page then looks fine while showing nothing.

Your code

<script src="https://luachli.com/widget.js" data-city="us/new-york-city" data-country="US" data-lang="en"></script>
Preview

That is the widget itself, running here — not a screenshot.

Other platforms