Integration

WordPress + Astrocal:
booking on any page

Paste one script tag into a Custom HTML block and your WordPress site has real-time scheduling. No plugin to install, no PHP to write.

WordPress scheduling plugins are a mess

of prospects abandon booking when asked to email back and forth

Every round-trip message is a chance for them to ghost. Self-service booking removes the friction.

of WordPress scheduling plugins require server-side PHP configuration

Most plugins add database tables, cron jobs, and admin panels that slow your site and conflict with other plugins.

of meetings double-booked when syncing calendars on a delay

Polling every 5–15 minutes leaves a window for conflicts. Real-time FreeBusy checks close it.

How WordPress works with Astrocal

1

You: Add a Custom HTML block with the Astrocal script tag

Paste into any page or post, under 60 seconds

2

Astrocal: Widget loads and fetches real-time availability

Reads your connected calendar on every request

3

Visitor: Picks a time and books directly on your site

No redirect, stays on your WordPress page

4

Calendar: Event created, emails sent, webhooks fired

Confirmation to both you and the visitor

Integration capabilities

CapabilitySupportedNotes
Works with any WordPress themeYesMatches your brand via theme customization
Block Editor (Gutenberg)YesPaste into a Custom HTML block on any page or post
Classic EditorYesSwitch to the Text tab and paste the script tag
Real-time calendar availabilityYesRequires Google Calendar, Outlook, or CalDAV connected in Astrocal
Inline and popup modesYesInline embeds in-page; popup opens as a modal overlay
Theme customisationYesPass colours, border radius, and font family via the theme object
Stripe paymentsYesVisitors pay at the point of booking, no redirect
WordPress pluginNoNo plugin needed. The script tag approach works without one

Available on all plans including Free.

Three steps. No plugin required.

Copy the script tag from your dashboard

Log into Astrocal, go to your event type, and copy the embed code. It's a single script tag and a few lines of JavaScript. Nothing to install on your WordPress server.

Add a Custom HTML block to your page

In the WordPress Block Editor, add a Custom HTML block where you want the booking widget to appear. Paste the embed code. If you're using the Classic Editor, switch to the Text tab and paste it there.

Publish and you're live

Hit Publish. Your visitors can now book directly from your WordPress page. Availability is pulled from your connected calendar in real time. No cron jobs, no server-side sync.

<!-- Paste into a WordPress Custom HTML block -->
<script src="https://cdn.astrocal.dev/widget.js"></script>
<div id="booking"></div>

<script>
  Astrocal.open({
    eventTypeId: 'evt_abc123',
    mode: 'inline',
    target: '#booking'
  })
</script>

Pair WordPress with Google Calendar, Stripe, and more

Google Calendar logo

Google Calendar

Connect your Google Calendar so the widget on your WordPress site shows real-time availability.

Stripe logo

Stripe

Require payment at the time of booking. Visitors pay directly on your WordPress page, no redirect.

Outlook logo

Outlook

Use Microsoft 365? Connect Outlook and the widget checks your Outlook calendar for conflicts.

We tried three different WordPress booking plugins. They all added admin pages, slowed our site down, and conflicted with our theme. The Astrocal widget was one paste. It just worked. Our consultation bookings doubled in the first month.

Laura Mitchell

Founder, Mitchell Design Co.

2xconsultation bookings

Frequently asked questions

No. The Astrocal widget loads via a script tag. Paste it into a Custom HTML block in the WordPress Block Editor (Gutenberg) or the Text tab in the Classic Editor. No plugin to install, no PHP to configure, no database tables added to your WordPress site.
The widget script is lightweight and loads asynchronously from a CDN. It doesn't add PHP processing, database queries, or cron jobs to your WordPress server.
Yes. Any page builder that supports a raw HTML or code block can embed the Astrocal widget. Paste the same script tag into the HTML element.
Yes. The widget renders in a Shadow DOM container (not an iframe), so it won't conflict with your theme's CSS. Customize colors, fonts, and border radius via the theme configuration object.
No. The widget is entirely client-side JavaScript. It talks directly to the Astrocal API. Your WordPress server just serves the page. No server-side processing involved.
Yes. Paste the script tag on as many pages as you like. You can use different event type IDs on each page to offer different booking types.

Add booking to your WordPress site in 60 seconds

One script tag. Real-time availability. No plugin required. Free to start.