ClockCC clockcc.com

World time · Time zone converter · Weather · Holidays · Exchange rates · City guides

Open the widget configurator →

How to Add a Clock Widget in WordPress

On a self-hosted WordPress site the widget goes in as plain HTML: paste the iframe code into a Custom HTML block and it renders as-is. On WordPress.com, whether an iframe survives saving depends on your plan.

Widgets that work here

All nine ClockCC widgets work on this platform: the single-city clock, the minimal digital clock, the analog dial, the clock wall, the event countdown, the moon-phase widget, the split-flap clock, the inline badge and the wide bar. Build yours in the configurator — every configuration gets its own clean widget link and iframe code.

Free, no account, no key. The small line at the bottom of each widget links back to ClockCC — please keep it; it is what keeps the widgets free.

Step by step

  1. Build your widget in the ClockCC configurator and copy the iframe code.
  2. In the block editor, add a Custom HTML block where the clock should appear — or a Custom HTML widget in a sidebar or footer area.
  3. Paste the code into the block. Preview shows the live clock; publish when it looks right. To restyle later, rebuild in the configurator and paste the new code over the old.
  4. Check the published page (not just the editor) on desktop and phone — that is what your visitors get.

Good to know before you start

  • WordPress.com: on lower plans the Custom HTML block's iframe may be stripped on save. Self-hosted WordPress.org sites have no such limit.
  • Paste into a Custom HTML block only — in a Paragraph or Code block the snippet shows as text instead of rendering.
  • One honest limit: these widgets cannot be embedded in Medium, Substack, WeChat Official Accounts, Xiaohongshu or Zhihu — those platforms do not allow custom HTML or iframes at all, so no clock widget from anyone works there.

Open the widget configurator →

All platform guides

From this site

🎉 Live countdowns to the world's festivals

Spring Festival, Christmas, Easter, Diwali, the next daylight-saving change and more — each with its own page and a shareable countdown card.

See the countdowns →

From this site

🧰 Free time tools, all in one toolbox

Exact time with milliseconds, a Unix timestamp converter, stopwatch, countdown timer, duration and week & age calculators.

Open the toolbox →

Data sources: Open-Meteo (weather) · ExchangeRate API (exchange rates, hourly/daily updates) · Nager.Date (holidays) · Wikipedia (On This Day) · GeoNames (data-layer city basics, CC BY 4.0)