Shortcode Reference
The [sitetools] shortcode renders any tool from your SiteTools catalog using the
same engine as the Gutenberg block. Add it in a Shortcode block, the Classic editor, a widget,
or anywhere shortcodes run.
Basic usage
The only required attribute is tool:
[sitetools tool="emi-calculator"] Themes & colors
Match your brand with theme, accent, and a custom title:
[sitetools tool="gst-calculator" theme="dark" accent="#0ea5e9" title="GST Calculator"] Pre-fill field values
Any attribute that isn’t a presentation option is passed to the tool as a default field value.
For the EMI calculator you can pre-fill principal, annual_rate, and
tenure_months — handy for landing pages targeting a specific loan:
[sitetools tool="emi-calculator" currency="₹" locale="en-IN" principal="1000000" annual_rate="8.5" tenure_months="60"] Use compact for sidebars and narrow columns:
[sitetools tool="sip-calculator" compact="true" theme="auto"] All attributes
| Attribute | Values | Description |
|---|---|---|
tool | required | Tool slug, e.g. emi-calculator, gst-calculator, sip-calculator, bmi-calculator, word-counter. |
theme | light | dark | auto | Color scheme. Defaults to your site-wide setting (SiteTools → Settings). |
accent | hex color | Accent for buttons, sliders, and highlights, e.g. #5b2cff. |
title | text | Custom heading shown above the tool. |
currency | symbol | Currency symbol for finance tools, e.g. ₹ or $. |
locale | BCP-47 | Number formatting locale, e.g. en-IN or en-US. |
compact | true | false | Tighter single-column layout for narrow areas and sidebars. |
hide_branding | true | false | Removes the “Powered by Tools.Town” link (Starter plan and above). |
Branding
Free installs show a small “Powered by Tools.Town” link below the tool. The shortcode’s
hide_branding attribute only takes effect on Starter and higher —
on the free tier the attribution is enforced by your license, not the markup.
Locked tools
If a tool slug isn’t included in your plan, the shortcode renders a friendly upgrade note instead of the calculator — never a blank space. See Tiers & Limits for what each plan unlocks.