Instant Quote / Install guides

Add Instant Quote to a WordPress website

Add the side tab to every page of a WordPress site, put the estimator on one page, or add your link to the menu.

What you need

  • You can sign in to your WordPress dashboard as an administrator.
  • On WordPress.com, a plan that allows plugins.

Side tab on every page

  1. In DeckBuild, open Settings, then Instant Quote. Under Put it on your website, find One line of code and click Copy code under the first line (the side tab).
  2. In WordPress, go to Plugins, then Add New Plugin, search for WPCode, click Install Now and then Activate.
  3. Open Code Snippets, then Header & Footer. Paste the line into the Footer box and click Save Changes.
<script src="https://quote.deckbuild.com/embed.js" data-quote="your-name" async></script>

Estimator on one page

  1. In DeckBuild, open Settings, then Instant Quote. Under Put it on your website, click Copy code under the second line (the estimator inside one page).
  2. Open the page in the editor, click the + to add a block, pick Custom HTML, paste the line into it and click Update.
<script src="https://quote.deckbuild.com/embed.js" data-quote="your-name" data-mode="inline" async></script>

Link in your menu

  1. In DeckBuild, open Settings, then Instant Quote, and click Copy next to Your link.
  2. With a block theme, go to Appearance, then Editor, then Navigation, add a Custom Link and paste your link.
  3. With a classic theme, go to Appearance, then Menus, open Custom Links, paste the link, type Price your deck as the text, click Add to Menu and then Save Menu.

Check it worked

  1. Open your live website in a private (incognito) browser window and look for the tab, or open the page with the estimator. Code you add often does not run in the site builder's own editor or preview.

Good to know

  • A caching plugin can keep showing the old page. Clear its cache after saving.
  • WP Rocket's Delay JavaScript execution setting holds the tab back until the visitor first scrolls, taps or moves the mouse. That is fine. To show it straight away, add embed.js to that setting's list of excluded files.
  • Cloudflare's Rocket Loader can do the same. If the tab never shows, add data-cfasync="false" to the line, as shown below.
<script data-cfasync="false" src="https://quote.deckbuild.com/embed.js" data-quote="your-name" async></script>

The lines above show your-name where your own name goes. Copy your own lines from DeckBuild.