Add a Booking Form to WordPress
Add the Avenue booking form to WordPress in a few minutes: paste the embed script with the Simple Custom CSS and JS plugin or Elementor Custom Code.
Add Avenue's booking form to WordPress by pasting the short script Avenue emailed you into your site's header, with a free plugin or with Elementor's Custom Code. The Book Online button then appears on every page.
What you'll need
- Access to your WordPress admin dashboard.
- Permission to install plugins, or an existing Elementor Pro install.
- Your Avenue embed code, sent to you by email when your form was set up.
How it works
The embed code is one line of script. It goes in your site's header so it loads on every page, and the Book Online button appears in the corner once it's there. Pick whichever of the two options fits your site: the plugin works on any WordPress site, and Elementor's Custom Code saves installing anything if you already have Elementor Pro.
Option 1: the Simple Custom CSS and JS plugin
The simplest route for most WordPress sites.
Install the plugin
- Log in to your WordPress admin and go to Plugins.
- Click Add New Plugin.
- Search for "Simple Custom CSS and JS".
- Click Install Now, then Activate.
Add the embed code
- In the admin menu, go to Custom CSS & JS > All Custom Code.
- Click Add HTML Code.
- Delete any template code already in the editor.
- Paste your Avenue embed code.
- Change the title at the top to "Avenue Form".
- Click Publish.
Check your site
- Click Visit Site or open your website in a new tab.
- Refresh the page.
- The Book Online button appears in the corner.
Option 2: Elementor Custom Code
If your site runs Elementor Pro, use its Custom Code feature instead of adding another plugin.
Open Custom Code
- In the admin menu, go to Elementor > Custom Code.
- Click Add New.
Add the embed code
- Give it a title, such as "Avenue Form".
- Set the location to Head.
- Paste your Avenue embed code into the code editor.
- Under display conditions, select Entire Site.
- Click Publish.
Check your site
- Open your website in a new tab.
- Refresh the page.
- The Book Online button appears in the corner.
What happens next
- The Book Online button sits in the corner of every page of your site, on desktop and on phones.
- Open your site and make a test booking so you can see it land in your dashboard.
- The other quick actions, Request a quote, Text us and Call us, come with it wherever your form has them switched on. The embed buttons explain each one.
If the button doesn't show
- A caching plugin, or your host's cache, is serving the old page. Clear it and refresh.
- The code was placed in the footer or body instead of the header. Check the location setting and move it to Head.
- The script was pasted twice, once in each option, or once in your theme as well. Keep one copy and remove the rest.
Good to know
- Changing themes. The plugin and Elementor both keep the code outside your theme, so it stays in place when you switch themes.
- Your own Book Now button. Any button or link on your site can open the form. Give it the class
open-avenueand it works like the Book Online button. The embed buttons explain how.
Support
Contact Avenue support at info@avenue2.au if you need help adding the embed to your WordPress site.
Overview
Paste one script and a Book Online button appears on every page, with Request a quote, Text us and Call us beside it. Guides for WordPress, Wix and more.
Wix
Add the Avenue booking form to a Wix site by pasting the embed script into Custom Code under Settings. Needs a Premium Wix plan with a connected domain.