Gutenberg Block
Block name: SiteTools Calculator (sitetools/tool),
under the SiteTools block category. One block renders any tool in your catalog.
Adding the block
- Open the block inserter (/ or +).
- Search SiteTools or calculator.
- Select SiteTools Calculator, then pick a tool from the sidebar.
Block settings
| Setting | Description |
|---|---|
| Calculator | Dropdown of tools available on your license tier; locked tools show an upgrade hint. |
| Theme | Light, dark, or auto (follows the visitor’s system). |
| Accent color | Hex color for primary actions and highlights. |
| Custom title | Optional heading; leave empty for the tool default. |
| Currency / locale | Symbol and number format for finance tools (e.g. ₹, en-IN). |
| Compact layout | Tighter single-column layout for narrow areas. |
Lead capture (Pro)
On Pro and higher, the block adds a Lead capture panel: enable a form on EMI, GST, or SIP, customize the heading, fields (name / email / phone), consent text, and success message. Submissions land in SiteTools → Leads for filtering and CSV export.
Editor preview
The block loads the same sitetools-tools.js engine as the front end, so the editor preview matches the published page (within editor iframe constraints).
Block inspector (demo)
Calculator
Theme
Accent color
Custom title
Currency
Locale
Compact layout
Enable capture form
Form heading
Submit button
Fields
Require consent
Consent text
Finance pack
EMI, GST, SIP
Shortcode equivalent
Every block saves equivalent shortcode markup for compatibility with classic editors and page builders that parse shortcodes. See the shortcode reference.