WordPress Setup Guide

How to add an Estimate Calculator to a WordPress website with a Custom HTML block.

Adding an Estimate Calculator to WordPress

WordPress makes this easy: you paste one line of code into a Custom HTML block. No plugin needed.

Before you start

  • A published calculator. New here? Follow the 8 minute setup guide first.
  • Your calculator's code, from the Embed tab in the editor:
<script src="https://estimatecalculators.com/embed.js" data-calculator="YOUR_ID" async></script>

Step 1 - Edit your page

In your WordPress admin, go to Pages and open the page where you want your calculator, or create a new one such as "Get a quote".

Step 2 - Add a Custom HTML block

Click the + block inserter, search for Custom HTML and add it where the calculator should go.

Step 3 - Paste your code

Paste your one line of code into the block.

Step 4 - Update and check

Click Update (or Publish), then view the page. Your calculator appears where you placed the block.

Using a page builder?

Elementor, Divi, Beaver Builder and most other builders have an HTML or Code element. Add one and paste the same code into it.

Troubleshooting

  • The calculator isn't showing. Check it's Published in the editor. If you've filled in Allowed websites on the Embed tab, make sure your WordPress site's address is listed.
  • A security or caching plugin strips scripts. Some plugins remove <script> tags or delay them. Exclude estimatecalculators.com/embed.js from "delay JavaScript" or "minify/combine" settings.
  • It says "This calculator is currently unavailable". Publish it in the editor, and check nothing is left on the checklist.