Add the booking widget to WordPress
Paste the Seatingly embed code into a WordPress page with a Custom HTML block, or into your theme for a site-wide floating button.
WordPress is the easiest platform to install the Seatingly widget on, because it accepts raw HTML in a block. This guide covers the block editor, page builders, and the theme-level install you need for a floating button that follows guests across every page.
Get your embed code first
Copy it from Business Profile → Booking Widget in the Partner Portal, and make sure your configuration is published. A saved-but-unpublished widget will not appear on your site.
Option 1 — Add it to a page with a Custom HTML block
This is the right choice for a dedicated booking section on a specific page, such as "Book a table" or "Appointments".
- In the WordPress admin, open Pages and edit the page where you want the widget.
- Click the + button to add a block, search for “Custom HTML”, and insert it.
- Paste both lines of the embed code into the block.
- Use the block’s Preview tab to confirm it renders, then click Update to save the page.
- Open the published page in a normal browser tab and make a test booking.
Use Custom HTML, not a Paragraph block
If you paste the code into a regular text block, WordPress will escape it and show the markup as visible text instead of rendering the widget.
Option 2 — Add it in a page builder
Most WordPress page builders ship an equivalent element. The names differ but the process is identical: drop the element on the canvas and paste both lines into it.
Option 3 — Install it site-wide in your theme
If you have chosen the floating booking button widget type, you want it available everywhere. Load the script once from your theme instead of adding it to every page.
- Create a child theme if you do not already use one, so a theme update cannot overwrite your change.
- Open Appearance → Theme File Editor and select
footer.php. - Paste the embed code immediately before the closing
</body>tag. - Save the file and reload your site with a hard refresh.
Tip
If you would rather not edit theme files, a reputable "insert headers and footers" style plugin does the same job from the WordPress admin, and survives theme updates.
If the widget does not appear
- Nothing renders at all. Check that your widget configuration is published in the portal, not just saved as a draft.
- You can see the code as text on the page. It went into a text block rather than a Custom HTML block.
- It works logged in but not logged out. A caching or optimisation plugin is serving an old copy. Clear the cache and purge your CDN.
- The script tag disappears after saving. Some security plugins and non-administrator roles strip scripts from post content. Use the theme or plugin method above, or fall back to the direct booking link.
The link fallback
When a script simply will not survive, link a button to your hosted booking page instead. It is the same booking flow on a Seatingly URL, and it works in any block, menu or widget area.
Once the widget is live, tune the look in Customize your booking widget, and use a tracked embed code if you want to measure how many bookings your website produces.
Was this article helpful?
Your answer helps us decide what to rewrite next.
Related articles
Install the Seatingly booking widget
Generate your embed code in the Partner Portal, paste it into your website, and start taking bookings directly on your own pages.
Read articleBooking WidgetAdd the booking widget to Wix
Use Wix’s Embed a Widget or HTML iframe element to place the Seatingly booking widget on your site, and know the plan and sizing limits before you start.
Read articleBooking WidgetCustomize your booking widget
Match the widget to your brand — theme, colours, border radius, button label, language, header and background images, and the Notify Me option.
Read articleStill need a hand?
If a guide did not cover it, a real person on the Seatingly team will. Tell us your business name and what you are trying to do, and we will reply within 12 hours.