📅 How to Add the Scheduler Widget to Your WordPress Site (Elementor)

📅 How to Add the Scheduler Widget to Your WordPress Site (Elementor)

Follow these simple steps to add the DC Bookings Scheduler Widget to your WordPress site using Elementor.


โœ… What Youโ€™ll Need:

  • A WordPress website with Elementor installed.

  • Access to the Elementor > Custom Code section.

  • Your DC Bookings domain and shop ID


๐Ÿ›  Step-by-Step Instructions

1. Open the Elementor Custom Code Panel

  • In your WordPress admin panel, go to the left sidebar.

  • Navigate to: Elementor โ†’ Custom Code


2. Create a New Custom Code Snippet

  • Click the "New Code" button

  • Name your custom code snippet something like: DC Bookings.


3. Paste the Following Code

In the code editor, paste the following snippet:

<iframe class="dc-bookings" id="dc-bookings" src="https://bookings.d14e.io?domain=YOUR_DOMAIN&shopId=YOUR_SHOP_ID" data-overflow="" style="border: 0px; position: fixed; z-index: 2147483647; width: 100vw; height: 100%; inset: 0px; transition: opacity 0.38s ease 0s; opacity: 0; visibility: hidden;"></iframe> <script src="https://bookings.d14e.io/dcPortal.js"></script> <script type="text/javascript"> var dcButtons = document.querySelectorAll('.DC-Bookings-Button'); dcButtons.forEach(function(dcButton) { dcButton.addEventListener('click', function(){ DCBookings.show(); }); }); </script>

โœ… Donโ€™t forget to replace:

  • YOUR_DOMAIN with your domain

  • YOUR_SHOP_ID with your shop ID


4. Set Code Location & Priority

  • Under Location, select: </body> - End

  • Set Priority to: 1

  • Then click Publish

5. Add the CSS class to your Buttons

To make buttons (or any element) launch the widget:

  • Open the page with Elementor.

  • Select any element (button, image, text, etc.)

  • Under the Advanced tab โ†’ CSS Classes, add:

This will link that element to the scheduler pop-up.


๐ŸŽ‰ Done!

Your DC Bookings scheduler is now embedded on your site and ready to go! Any element with the DC-Bookings-Button class will now open your widget.

    • Related Articles

    • How to block time slots from the online scheduler

      This guide provides a straightforward method for effectively managing your online schedule by blocking specific time slots. It offers step-by-step instructions that simplify the process, ensuring that you can easily prevent bookings during designated ...
    • Scheduler Integration

      Scheduler for a Single Site on a Single Page Code snippets are found in the Scheduler Edit modal and are already populated with the site Id of you site you select in step 2 Choose the site that you will want to implement the Scheduler for Click the ...
    • Integrating Online Scheduler Custom Events with Google Tag Manager

      Our online scheduler triggers the following custom GTM events: dc-service-scheduler-hit: Indicates a user has interacted with the scheduler. dc-service-option: Captures the service option selected. dc-service-wait_or_drop: Tracks user decision on ...
    • Configuring The DC Scheduler

      &lt;br&gt;
    • Close Site Early

      You may need to close a bit sooner. There is a handy feature that allows you to let your customers know about your business already being closed for the day. Here's how to use it. 1. Go to the Calls screen and out of the Calling Tools, pick Close ...