SmallSpaceGlow Curtain Size Calculator

外掛說明

SmallSpaceGlow Curtain Size Calculator helps your visitors figure out exactly what they need before buying curtains or rods. Add it anywhere via a shortcode or Gutenberg block.

Stop guessing. Get it right the first time.

Choosing the wrong curtain size is one of the most common and costly home décor mistakes. SmallSpaceGlow Curtain Size Calculator gives your visitors a professional-grade tool right on your website to calculate exactly what they need before they buy.
Whether they are measuring for floor-length drapes, a puddle style, or a near-ceiling mount, this calculator walks them through every decision: panel length, fabric width, rod size, bracket positions, and ring or grommet count all in seconds.

🔗 Curtain Size Calculator Preview

Features:

  • Calculates finished panel length, total fabric width, and recommended panel count
  • Supports inches and centimetres
  • Multiple mount strategies: Standard or Near-Ceiling
  • Seven length styles: Sill, Apron, Floor, Kiss, Break, Puddle 6″, Puddle 10″
  • Three header/fullness styles: Grommet, Rod Pocket, Pinch Pleat
  • Adjustable fullness multiplier
  • Stack-back by percentage or fixed measurement
  • Rod length, rod diameter, and bracket positioning recommendations
  • Ring/grommet count estimate
  • Export results as a .txt file
  • Email results directly to the visitor (uses wp_mail)
  • Gutenberg block + classic shortcode [ssg_curtain_calculator]
  • Responsive — works on mobile and desktop

螢幕擷圖

  • Calculator input form with all fields visible.

適用於區塊編輯器

這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。

  • SmallSpaceGlow Curtain Size Calculator
  • Rug Size Calculator

安裝方式

  1. Upload the smallspaceglow-curtain-size-calculator folder to /wp-content/plugins/.
  2. Activate the plugin from the Plugins screen in WordPress.
  3. Add the shortcode [ssg_curtain_calculator] to any page or post, or insert the SmallSpaceGlow Curtain Size Calculator block in the block editor.

常見問題集

How do I add the calculator to a page?

Use the shortcode [ssg_curtain_calculator] in the classic editor, or search for “SmallSpaceGlow Curtain Size Calculator” in the block inserter.

Does the email feature require any configuration?

No. It uses WordPress’s built-in wp_mail() function. For reliable delivery, install an SMTP plugin such as WP Mail SMTP.

Can I change the default unit to centimetres?

Yes — visitors can toggle between inches and centimetres directly in the calculator. There is no admin setting required.

Is the plugin translation-ready?

Yes. All user-facing strings are wrapped in WordPress i18n functions and the text domain is smallspaceglow-curtain-size-calculator.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈SmallSpaceGlow Curtain Size Calculator〉的開發相關工作。

參與者

變更記錄

1.0.0

  • Initial release.