singlecal.
WORDPRESS SETUP GUIDE

How to add an availability calendar to your WordPress site

WordPress can show your SingleCal calendar with the Custom HTML block. Guests can then check open dates on your own site before booking on Airbnb, Vrbo or Booking.com. The steps are the same for self-hosted WordPress and WordPress.com, but WordPress.com only allows iframes on some plans.

Follow the guide
QUICK ANSWER

The short answer

Copy your SingleCal embed code, add a Custom HTML block to the page, paste the code and publish. On WordPress.com, iframes need a paid plan with hosting features activated.

  • Publish your calendar in SingleCal and copy the embed code from Share & embed.
  • Add a Custom HTML block where the calendar should appear and paste the code.
  • Preview, then update or publish the page.
  • On WordPress.com, iframes need a paid plan with hosting features activated.

Only need guests to see when you are free? SingleCal turns your Airbnb, Vrbo and Booking.com calendars into one calendar for your website or a shareable link. Free for one rental.

01

Before you start

Set up the calendar in SingleCal first. Under Connected calendars, add the iCal links from Airbnb, Vrbo or Booking.com for the rental. Under Booking links, choose where guests book. Then publish the calendar.

Open Share & embed and click Copy embed code under Website embed. That is the code you paste into WordPress.

  • The embed code contains your calendar's public ID only. It never includes your private iCal links.
  • The code is an iframe plus a short script that fits the frame to the calendar. If a builder removes the script, the calendar still works at a fixed height of 680 pixels.
  • Free calendars show a small SingleCal badge. Pro removes it and lets you use your brand color.
02

Add the calendar with the Custom HTML block

These steps are for the WordPress block editor, which WordPress.com and current self-hosted WordPress both use.

  1. 1

    Edit the page

    Open the page or post where guests should see availability.

  2. 2

    Add a Custom HTML block

    Click + to add a block, search for Custom HTML, and choose it.

  3. 3

    Paste your code

    Paste your SingleCal code into the block. Use the block's Preview option to check it.

  4. 4

    Publish

    Click Update or Publish, then check the live page on a phone.

Official source: WordPress.org: Custom HTML block

Want guests to see your availability in one place? SingleCal combines your Airbnb, Vrbo and Booking.com calendars, free for one rental.

03

WordPress.com and other setups

WordPress.com removes iframe and script tags unless your site is on a paid plan with hosting features activated. If the calendar shows in the editor but disappears after you save, that's the reason.

On self-hosted WordPress, administrators can add iframes. On a multisite network, only super admins can, because WordPress removes iframes for other roles.

If you use the classic editor, switch to the Text tab and paste the code there. Most page builders, such as Elementor, have an HTML or code widget that works the same way.

Official source: WordPress.com: Custom HTML block
04

If you can't embed code

If your WordPress.com plan doesn't allow iframes, the embedded calendar won't appear.

You can still show availability by linking to your hosted SingleCal page. In SingleCal, open Share & embed and click Copy page link. In WordPress, add a button or text link such as "Check availability" and paste the link. Guests see the same calendar on a SingleCal page, with buttons to book on your listings.

TRY IT ON YOUR RENTAL

One calendar for Airbnb, Vrbo and Booking.com.

Paste your calendar links, then share the page or add it to your website. Free for one rental, no card needed.

COMMON QUESTIONS

Common questions.

Is SingleCal free to use on WordPress?

SingleCal Free covers one rental and combines two iCal links, such as Airbnb and Vrbo, with a small SingleCal badge. Pro is $49 a year for up to five rentals, removes the badge and updates more often.

Will the calendar update when I get a new booking?

Yes. SingleCal refreshes from your booking platforms' iCal links, about every 6 hours on Free and about every 15 minutes on Pro, and the calendar shows when it last updated. You don't need to edit your website again.

Can guests book through the calendar?

No. SingleCal shows availability only. The booking buttons take guests to the listing you chose, such as your Airbnb or Vrbo page, to complete the booking there.

Does it work on every WordPress plan?

On self-hosted WordPress, administrators can add the code on any setup. On WordPress.com, iframes and scripts in the Custom HTML block need a paid plan with hosting features activated; otherwise, link to your hosted SingleCal page.

YOUR AVAILABILITY

Show your Airbnb and Vrbo availability on your WordPress site.