← Blog

16 June 2026

Add a solar savings calculator to WordPress (no code)

You run a solar install business. Someone lands on your site, wonders what panels would save them, and leaves to find a calculator somewhere else. You want that calculator on your own page, and you do not want to hire a developer to build it.

Here is the whole job. Install one plugin, paste one shortcode, set your key. Three steps and your visitors get a real payback estimate.

1. Install the plugin

In your WordPress admin, open Plugins → Add New, search for Solar Widget, and click Install, then Activate. If your host blocks the plugin directory, download the zip from your dashboard and upload it under Plugins → Add New → Upload Plugin.

2. Paste your key

Open Settings → Solar Widget and paste your API key. A free key works here, so you can ship the calculator before you decide on a plan. Grab a key from your dashboard, or read Authentication first.

3. Drop the shortcode

Edit any page or post, add a Shortcode block, and paste this. Set country to your market so the widget uses the right currency and tariffs.

Shortcode
[solar_widget key="sk_live_U5nxSr6pUR0aBwMPC6F3Mme5ryC59NqlZg0G4_q20KM" country="GB"]

That renders the calculator. A visitor types an address, the widget sizes a system for that roof, and it shows payback, lifetime savings, and CO2. To pin a single location or pick a business preset, add a few attributes:

Shortcode with location
[solar_widget key="sk_live_U5nxSr6pUR0aBwMPC6F3Mme5ryC59NqlZg0G4_q20KM" lat="51.5" lon="-0.12" country="GB" variant="installer"]

What your visitor sees

On a free key the widget carries a small badge and skips the lead form. Upgrade to Pro to remove the badge, set your brand colour, and capture the name, email, and phone of everyone who runs an estimate. The customizing guide lists every attribute you can pass through the shortcode.

Publish the page and you are done. The same widget works in a sidebar, a landing page, or a dedicated calculator page.