Skip to Content

WordPress

Add the RSVP widget to a WordPress page or post with a Custom HTML block. No plugin needed.

In the block editor

  1. Open the page or post where the RSVP form should go.
  2. Add a block (the + button) and choose Custom HTML.
  3. Paste:
<script async src="https://cdn.whocoming.com/embed.js"></script>
<whocoming-rsvp event="evt_demo0000000000000001"></whocoming-rsvp>
  1. Replace the event ID with yours, then Preview or Update.

The editor shows the code, not the widget. Use Preview to see the card.

If the script disappears on save

WordPress removes <script> tags for users who are not allowed to post unfiltered HTML (on a multisite network, that is everyone but super admins). If that happens:

  • Ask an administrator to add the script tag once for the whole site, in the theme's header or with a "header and footer scripts" plugin, and keep only the <whocoming-rsvp> line in the block. The element on its own survives saving.
  • Or use the iframe, which needs no script at all.

Several events

Load the script once (in the header, as above) and put one <whocoming-rsvp> element per event wherever you like: in posts, pages or a widget area that accepts HTML.

Styling

Your theme's fonts are used automatically. To match colors, add CSS under Appearance, Customize, Additional CSS:

whocoming-rsvp {
  --wc-accent: #3451f5;
  --wc-radius: 6px;
}

See theming.

On this page