Skip to main content

Add your booking widget to a WordPress site

Step-by-step instructions for putting the Campiamo booking form, availability search or reviews widget on a WordPress page — block editor, classic editor and page builders covered.

Last updated July 22, 2026

WordPress powers a lot of campsite websites, and adding a Campiamo widget to one takes about two minutes. This guide walks through it click by click. If you haven't read the widgets overview yet, start there — it explains what each widget does and what you need before you begin.

Get your snippet

In your Campiamo dashboard, go to Widgets, pick the widget you want, and press Copy. The code looks like this:

<div id="campmanager-booking" data-slug="your-site"></div>
<script src="https://campiamo.com/embed/booking-widget.js" defer></script>

Always copy it from your own Widgets page rather than from this guide — your copy comes ready-made for your property.

Block editor (Gutenberg)

This is the editor most WordPress sites use today.

  1. Edit the page where the widget should go.
  2. Press the + to add a block and search for Custom HTML.
  3. Paste the snippet into the block.
  4. Press Update (or Publish) and view the page.

The editor's Preview tab inside the Custom HTML block may show a blank area — that's normal. Check the real page after saving.

Classic editor

  1. Edit the page and switch from the Visual tab to the Text tab (top-right of the editor box).
  2. Paste the snippet where you want the widget.
  3. Update the page.

Don't switch back to the Visual tab and edit around the snippet afterwards — the visual editor sometimes rewrites raw HTML. Paste, save, done.

Page builders

  • Elementor — drag in an HTML widget and paste the snippet into it.
  • Divi — add a Code module and paste the snippet there.
  • WPBakery — add a Raw HTML element.

In every case it's the same two lines of code; only the name of the box changes.

Where to put each widget

  • The booking form wants room — a full-width section on its own "Book now" page works best.
  • The availability search is compact — it's happy on the homepage or in a sidebar.
  • The reviews widget fits anywhere you'd show testimonials.

If the widget doesn't appear

  • You're on WordPress.com (not a self-hosted site) — WordPress.com only allows embedded scripts on its plugin-enabled plans (Business and above). Self-hosted WordPress has no such restriction. If you're not sure which you have: if you installed WordPress through your own hosting company, you're self-hosted.
  • The script tag vanished when you saved — WordPress strips scripts saved by lower-level user roles. Ask an Administrator or Editor on the site to paste the snippet.
  • A caching or optimisation plugin is minifying scripts (WP Rocket, Autoptimize and similar) — exclude campiamo.com from JavaScript minification/deferral in the plugin's settings, then clear the cache.
  • It shows on desktop but you edited a mobile-only section — check the page on both; some themes hide sections per device.

Rather not touch the website yourself?

At the bottom of the Widgets page there's Send instructions to your web developer — tick the widgets you want and Campiamo emails them the snippets with instructions.

Once the widget is on the page you never need to update it. Prices, availability and reviews load live from Campiamo — change them in your dashboard and the website follows.

Still stuck?

If this page didn't answer your question, it's our page that needs fixing. Tell us.

Get in touch