Adding your calculator to a WordPress website
Have you built an interactive web calculator and want to integrate it into your WordPress website? It's really easy! All you have to do is copy your calculator’s code snippet and paste it in a specific place of you WordPress website. Follow the instructions below to do this.
And if you don't have a custom interactive calculator yet, learn how to create your first interactive calculator by following our step-by-step tutorial.
Step 1 | Retrieve your calculator’s code snippet:
- Sign in to your CALCONIC account.
- Click My Calculators.
- Choose the calculator you want to embed to your Squarespace website.
- Make sure that the calculator is activated. If it isn’t, click the Inactive label to activate it.
- Click the Embed button.
- (Optional) Click the + New Website button and add your website’s address to whitelist it. Note, website address whitelisting doesn't work with iFrame embedding.
to learn more about the whitelisting.
- Click Next.
- Copy your calculator’s code snippet.
Step 2 | Embed the snippet code to your website:
- Sign in to your WordPress admin panel.
- Click Pages.
- Click the page you want to embed your calculator.
- Hover your mouse over the place you want to add your calculator and click the + Add Block icon.
- Click Custom HTML.
- Paste your code snippet.
- Click Preview to check if the calculator has been successfully embedded.
- Click the Update button to publish your page with the embedded calculator.