# Online booking on your restaurant website: WordPress, Webnode, Wix and Shoptet

> How to add online booking to your restaurant website: a booking form on WordPress, Webnode, Wix, Shoptet or plain HTML, and what to do if it doesn’t show.

Page: https://booklio.ai/en/articles/online-booking-on-your-restaurant-website

Updated 2026-11-03, published 2026-11-02

You add online booking to a restaurant website with a booking form pasted into the page as custom HTML; any website editor that allows a custom HTML block can do it. The Booklio.ai booking form is two lines of code from the setup guide in the admin, it picks up your site’s colours and fonts, and guests book directly with you, with no commission and no third-party platform.

## Why bookings belong on your own website

People looking for a table find a venue on Google, in Maps or on Instagram and then open its website. If they can pick a day, time and party size right there, they don’t have to call when staff are busy and they don’t have to go anywhere else. Bookings from your own website are also commission-free, and the guest’s contact details stay with you.

The Booklio booking form, which we call the widget, only offers times the party actually fits into, because it works out free times from your real tables. Full slots are marked full and can’t be picked.

> **Feature status**
>
> The widget on any website is marked Ready on the [Features](https://booklio.ai/en/features#rezervace-na-webu) page: adding the code from the setup guide is finished in the code, but not yet proven in day-to-day use at other venues. Bookings from the website with the same rules run every day at James Dean Prague.

## What you need

- **Booklio.** On the [Get Booklio for free](https://booklio.ai/en/sign-up) page, fill in a few details and confirm your email; Booklio sets itself up. The setup guide in the admin takes you through opening hours, areas and tables.
- **Your website address in the admin.** Under Website and embed code you enter your website address. The widget only shows up on websites you list there.
- **A two-line code.** The first line is the element where the widget goes, the second is a script from your Booklio address. Copy it with the Kopírovat (copy) button.
- **A website editor that allows custom HTML.** The block has a different name in every system, for example Custom HTML, HTML code or Embed HTML.

The widget can appear on your site in two forms: as a form right in the page, for example on a Bookings page, or as a button that opens the booking in a window over the page. The button works well in the header or next to your opening hours. The code for both is on the [How to add a booking form to your website](https://booklio.ai/en/embed) page.

## WordPress and Webnode

**WordPress.** Open the page in the editor, add a Custom HTML block, paste the code into it and update the page. In Elementor use the HTML widget, in Divi the Code module. On WordPress.com custom code only works on the paid Business plan; the free plan strips it out.

If you use a speed plugin (WP Rocket, Autoptimize, LiteSpeed Cache) and the widget doesn’t show up, turn off delayed JavaScript for the Booklio address.

**Webnode.** In the editor, click Add content and choose HTML code (Embed HTML). Paste the code, save and publish your site. If there is no HTML block in the menu, your Webnode package doesn’t include it.

## Wix

In the Wix editor, click Add (+) and choose Embed Code, then Embed HTML. Paste the code into the field, click Update, stretch the frame to the page width, set its height to at least 800 px and publish your site.

> **Test it after publishing**
>
> Wix puts custom code into a separate frame rather than straight into the page. Booklio allows that frame for your website; the widget just needs room, hence a height of at least 800 px. After publishing, open the page as a guest and try a booking. If the widget doesn’t show up, add a button that links to your booking page.

## Shoptet

Shoptet has a place for custom code in its admin under Vzhled a obsah (Design and content), Editor, HTML kód (HTML code). Code in the Zápatí (footer) section is placed before the end of the page, which is where the script line belongs; each section takes valid HTML of up to 8,192 characters ([Shoptet help](https://podpora.shoptet.cz/html-kody/)).

The line with the element where the widget should be belongs in the content of a specific page, for example a Bookings page. Shoptet’s help article on HTML codes doesn’t say whether the page content editor accepts such a line. Try it, and if the editor removes it or the widget doesn’t show up, add a link to your booking page instead. Remember to enter your shop’s address in the Booklio admin.

## Your own HTML website

1. Put the div line in the page HTML where the widget should be.
2. Put the script line anywhere on the page, for example before the closing body tag. Once is enough, even if the page has both the widget and the button.
3. If your site has a Content-Security-Policy, allow the Booklio address for scripts, frames and connections (script-src, frame-src, connect-src).
4. On a multilingual site, use the code with data-jazyk="en" on the English version of the page and data-jazyk="de" on the German one. The widget and the messages guests receive then follow the page language.

## After adding it: test it, and what to do if the widget doesn’t show up

Save the page, publish your website and open it as a guest. Pick a day, time and party size and send a test booking. Until you finish setting up your venue in the admin, the widget shows a “coming soon” notice.

**If the widget doesn’t show up**

| What you see | What to do |
| --- | --- |
| Nothing where the widget should be | check that the address your page actually runs on is listed in the admin under Website and embed code |
| The widget shows “coming soon” | finish setting up your venue in the admin |
| The widget doesn’t load on WordPress | in WP Rocket, Autoptimize or LiteSpeed Cache, turn off delayed JavaScript for the Booklio address |
| The editor removed the code on saving | free WordPress.com and some Webnode packages don’t allow custom code; link to your booking page instead |
| Your own site with a Content-Security-Policy | allow the Booklio address in script-src, frame-src and connect-src |

The admin also gives you a tracking line for the head of your website. The Stats then show where people came from and how many book; it works without cookies and doesn’t store IP addresses.

## No website, or custom code isn’t allowed

Booklio has a standalone booking page at your address, for example yourvenue.booklio.ai/rezervace, with your venue’s logo and contact details. It is also marked Ready on the [Features](https://booklio.ai/en/features#rezervace-na-webu) page. Link to it from your website as a Book a table button, from your Google Business Profile, Instagram, Facebook and a QR code on the table.

The steps for Google are in [How to add reservations to Google Maps](https://booklio.ai/en/articles/add-reservations-to-google-maps), for social networks in [Bookings from Instagram and Facebook](https://booklio.ai/en/articles/bookings-from-instagram-and-facebook).

## Časté otázky

### How do I add a booking form to my restaurant website?

In your website editor, add a custom HTML block to the page and paste the booking form code into it. With Booklio that is two lines of code from the setup guide in the admin; first enter your website address in the admin, because the widget only shows up there.

### Can I add a booking form to WordPress for free?

On a self-hosted WordPress site, yes, with a Custom HTML block. On WordPress.com custom code only works on the paid Business plan; on the free plan, link to your booking page instead.

### Does the Booklio booking form work on Wix and Shoptet?

On Wix, yes, through Embed HTML with a frame at least 800 px tall. Adding it to Shoptet page content hasn’t yet been proven in day-to-day use. After adding it, try a booking as a guest; if the widget doesn’t show up, link from your website to your Booklio booking page.

### What if I don’t have a website?

Booklio has a standalone booking page at your address, for example yourvenue.booklio.ai/rezervace. Link to it from your Google Business Profile, Instagram, Facebook or a QR code on the table.

## Zdroje

- [Shoptet help: HTML codes (in Czech)](https://podpora.shoptet.cz/html-kody/)

## Mohlo by vás zajímat

- [Embed the widget](https://booklio.ai/en/embed)
- [Bookings from Instagram and Facebook](https://booklio.ai/en/articles/bookings-from-instagram-and-facebook)
- [How to choose a booking system: 12 questions](https://booklio.ai/en/articles/how-to-choose-a-booking-system)

## Rezervační systém zdarma, na vašem webu do 15 minut.

Vyplníte pár údajů a potvrdíte e-mail. Booklio se založí samo, v adminu nastavíte stoly a otevírací dobu a kód vložíte na svůj web.

[Get Booklio free](https://booklio.ai/en/sign-up)
