Skip to content
chessenpai

Free chess widget for your website

A new opening trap every day, played move by move on a board. Paste one snippet into your site, blog or club page. Free, no sign-up, no ads.

Embed code

Copy this into a Custom HTML or Embed block. It works on WordPress, Wix, Squarespace, Ghost, Notion sites, forums that allow iframes and plain HTML pages.

<iframe src="https://chessenpai.com/embed/trap-of-the-day" title="Chess trap of the day" width="100%" height="820" style="max-width:440px;border:0" loading="lazy"></iframe>
<p style="font-size:13px">Chess trap of the day by <a href="https://chessenpai.com/traps">Chessenpai</a></p>

Today's trap and all thirty others are on the opening traps page.

HOW IT WORKS

Add the chess widget in three steps

  1. Copy the code

    Press Copy embed code. It is one iframe plus a one-line credit.

  2. Paste it into your site

    Use a Custom HTML or Embed block where the widget should appear.

  3. A new trap every day

    The widget updates itself at midnight UTC. Nothing to maintain.

Guide

3 topics · 1 min read

Why a trap of the day works on a chess site

Opening traps are short, visual and easy to remember. A reader can step through one in under a minute, and most of them punish a natural-looking move that club players really do play. That makes a daily trap a good reason for visitors to come back to your page, and a light way to add something interactive to a club site, a coaching blog or a school chess page.

Each trap is shown from the side that sets it, with Back and Next buttons and one sentence per move explaining what happens. Readers who want to know how to avoid it follow the credit link to the full guide, which shows the defense as well.

Where to put it

  • Club and school sites: on the home page or a training page, so members see something new each day.
  • Chess blogs and coaching sites: in a sidebar or at the end of posts about openings.
  • Forums and community pages: anywhere that accepts an iframe embed.

Technical details

The widget is a plain iframe served from chessenpai.com. It needs no script on your page, no account and no API key, and it does not read anything from your site. It adapts to the width you give it; on narrow columns the board sits above the explanation. If your site has a strict content security policy, allow chessenpai.com in its frame-src directive.

QUESTIONS

Frequently asked questions

Is the chess widget free?
Yes. It is free for any website, blog or club page, with no account, no API key and no ads inside the widget.
What does the widget show?
One opening trap a day from our collection of thirty, played move by move on a board with a short explanation of each move. Every site shows the same trap that day, and it changes at midnight UTC.
How do I add it to WordPress, Wix or Squarespace?
Add a Custom HTML or Embed block where you want the widget and paste the code. Any site builder that accepts an iframe works.
Can I change the size?
Yes. The widget fits its width, so set the iframe width to what your column allows. Keep the height around 820 pixels so the board and the buttons fit on phones.
Does the widget track my visitors?
It sets no advertising cookies. We count widget views without cookies, the same way as on the rest of the site.
Why is there a link under the widget?
The short credit line tells your readers where the trap comes from. Please keep it; it is how we keep the widget free.