跳到内容

Rug Size Calculator by SmallSpaceGlow

v1.1.4

smallspaceglow · 2026年3月27日 上架

Free rug size calculator with live room visualizer. Instantly recommends the perfect rug for any room. Shortcode + Gutenberg block included.

正在使用
10 以下
评分
暂无
累计下载
363
最近更新
2026年3月27日
需要 WordPress 5.8+已测试到 6.9.12PHP 7.2+

贡献者

截图

Living room calculator with top-down canvas visualizer.
Living room calculator with top-down canvas visualizer.

Rug Size Calculator with Visualizer helps your visitors instantly find the right rug size for any room in their home. No guesswork, no measuring confusion — just clear, accurate recommendations based on proven interior design rules.

Built for interior design bloggers, home decor shops, and furniture retailers who want to add real value to their audience.

What it does:

  • Recommends standard rug sizes based on room dimensions and furniture
  • Shows a live top-down canvas visualizer of the room, rug, and furniture to scale
  • Covers 4 room types: Living Room, Bedroom, Dining Room, Entry/Hallway
  • Switches between Imperial (inches/feet) and Metric (cm/m)
  • Snaps recommendations to real-world standard rug sizes
  • Lets visitors copy the result, copy size only, or download a PNG
  • Sends the recommendation to any email address via wp_mail()
  • Includes a Gutenberg block with brand-color controls in the Inspector panel
  • Shortcode: [ssg_rug_calculator]
  • Outputs Schema.org structured data (WebApplication) for SEO

Room-specific logic:

  • Living room — calculates based on sofa width, layout (front legs vs all legs), and wall clearance preference
  • Bedroom — supports Twin through Cal King; handles partial-under, full-under, and side runner layouts
  • Dining room — rectangle and round tables; always adds 24″ for chair pull-out clearance
  • Entry/Hallway — recommends runner sizes with wall clearance options

Shortcode

[ssg_rug_calculator]

All attributes are optional. Use them to match your brand colors:

[ssg_rug_calculator primary="#d96b5b" accent="#6f9e8d" bg="#faf7f2" text="#1f1f1f" border="#e7e2dd"]

Attribute
Default
Description

primary
#d96b5b
Button / highlight color

accent
#6f9e8d
Rug color in visualizer

bg
#faf7f2
Calculator background

text
#1f1f1f
Body text color

border
#e7e2dd
Border / card color

SEO features

  • Outputs Schema.org WebApplication JSON-LD structured data on any page the shortcode is used on
  • Clean, semantic HTML with ARIA roles and labels for accessibility
  • Lightweight — one CSS file, one JS file, no external dependencies

Privacy

This plugin does not collect, store, or share any personal data. The optional email feature uses wp_mail() to send a result to a visitor-supplied address. No data is retained by the plugin after the email is dispatched. No third-party services are contacted.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums