Put the court closure calendar on your own site
Every California court closure for the year, on your page, in your layout, maintained here. It is free, it needs no account and no key, and there is nothing to renew. If you run a law library page, a bar association chapter site, or a firm resources page, this is the table your readers keep asking for, and the one that goes stale every January if you type it out yourself.
One script tag
Paste this where you want the calendar to appear. It renders in place. No stylesheet to add, and nothing to configure.
<script src="https://calcourtdeadlines.com/embed.js" data-year="2026" async></script>
What it looks like
This is the widget itself, loaded from the same address you would paste, rendering live below. It is not a picture of one.
Options
Three attributes, all optional. Anything else is ignored, and an unrecognised year falls back to the earliest published one rather than rendering an empty box on your page.
| Attribute | Values | What it does |
|---|---|---|
data-year | 2026 to 2030 | Which year to list. Defaults to 2026. A year the Judicial Council has not published yet says so, in the widget, where your readers can see it. |
data-layout | list or table | A compact list, or a four-column table with the weekday and whether the day is also a federal holiday. Defaults to the list. |
data-limit | a whole number | Show only the first few, for a sidebar. Omit it for the whole year. |
WordPress
A plugin, if you would rather not touch a template. It adds one shortcode and nothing else: no settings page, no dashboard widget, no menu item, and no database tables.
[court_closures year="2026" layout="list"]
Install it under Plugins, then Add New, then Upload Plugin. It works in a post, a page, a text widget or a block, and it prints a plain link to the closure calendar for readers with JavaScript turned off.
The data, if you would rather build it yourself
The widget reads one endpoint, and so can you. It returns every weekday closure for a year, each with the weekday, the holiday name, and whether the same day is also a federal holiday, which is the field that matters most: a California judicial holiday that is not a federal one shows as an ordinary working day in every out-of-state calendar.
https://calcourtdeadlines.com/api/embed/closures?year=2026
Cross-origin requests are allowed from anywhere. There is no key and no rate limit. Fields get added, never renamed or removed, because a page that embeds this is a page nobody here can edit.
The terms, in full
- Free, commercial use included. A firm site is as welcome as a library one.
- Leave the attribution line. It is one line at the foot of the widget, it is the only thing asked in return, and it is what tells a reader who is answerable for the dates.
- No cookies, no tracking, no analytics beacon. The widget fetches one URL and renders text. It sets nothing in your readers’ browsers, which is a claim you can check by reading the script. It is not minified for that reason.
- The address is permanent. Once your page depends on
/embed.js, that URL is a commitment. It will not be renamed, versioned or moved. - It is reference data, not advice. The widget carries the disclaimer with it. Individual courts can also close by emergency order under Government Code section 68115, which nobody can predict and which is not in the list.
Where the dates come from
The same engine as the holiday tables and every deadline calculator on this site, verified date for date against the Judicial Council’s published calendar rather than derived from the statute alone. The reasoning, including why the published calendar governs and Government Code section 6700 does not, is on the methodology page.
Two other ways to take these dates with you: subscribe to the closure feed in Outlook or Google, or point an assistant at the MCP server.
Something wrong with it
Email errors@calcourtdeadlines.com. A date that is wrong in this widget is wrong on every site that embeds it, so it gets fixed first and everywhere at once.