Add Shabbat times to WordPress
The most common platform for synagogue and community websites.
Steps
- Edit the page, then add a Custom HTML block.
- Paste the snippet into the block.
- Update the page. The block editor's preview does not always run the script — check the published page, not the preview.
- 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.