| 开发者 | stoffi222 |
|---|---|
| 更新时间 | 2026年3月19日 15:59 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[slabcalc]
Or specify a calculator type:
[slabcalc type="driveway"]
[slabcalc type="patio" width="400px"]
[slabcalc type="slab" theme="dark"]
Shortcode attributes:
type — Calculator type: slab, driveway, patio, or tube (default set in Settings)width — Widget width, any CSS value (default: 100%)theme — Color theme: light or dark (default: light)slabcalc-calculator folder to /wp-content/plugins/[slabcalc] to any page or posttype (slab, driveway, patio, tube), width (any CSS value), and theme (light, dark).
No. The widget is completely free and requires no account or API key.
The widget script loads asynchronously and only on pages where the shortcode is used. It has no impact on pages without the shortcode.
Yes. Place [slabcalc type="driveway"] and [slabcalc type="patio"] on the same page and both will render. The embed script is loaded only once regardless of how many shortcodes are on the page.
Yes, any page builder that supports WordPress shortcodes (Elementor, Divi, Beaver Builder, Gutenberg shortcode block) will work.
[slabcalc] with type, width, and theme attributes