How do I add a ResoFlow widget to a WordPress site?

Copy the snippet from Settings → Website widgets, then paste it into a Custom HTML block for an in-page widget, or your theme's footer for a floating button on every page.

A ResoFlow widget is a single line of code, so adding one to WordPress is a copy-and-paste job. There is no ResoFlow plugin to install, and you don't need one.

Only Owners and Admins can copy the snippet.

1. Get your snippet from ResoFlow

The snippet looks like this:

<script src="https://resoflow.co.uk/widget.js" data-restaurant="your-restaurant-id" data-widget="book" data-mode="button" async defer></script>

2. Paste it into WordPress

Then view the live page while logged out or in a private window. Some caching and optimisation plugins serve a different version of the page to logged-in editors.

WordPress themes and page builders each name these boxes differently. The two concepts above — a Custom HTML block, and footer code before </body> — are the stable parts, and every theme supports them somehow.

Things worth knowing

Related: How do I add booking, gift card and other widgets to my own website? · How do I add a ResoFlow widget to a Squarespace site? · How do I add a ResoFlow widget to a Wix site? · How do I add a ResoFlow widget to a Shopify site?