
Light Modal Block
v1.10.0David Jensen · 2023年6月15日 上架
Lightweight, customizable modal block for the WordPress block editor
- 正在使用
- 2,000+
- 评分
- 5.0 / 5
- 累计下载
- 2.7 万
- 最近更新
- 2026年10月30日
13 条评价需要 WordPress 6.6+已测试到 7.1.5PHP 7.0+
截图
A simple yet robust solution for creating modals within the WordPress block editor.
Features
- Fully customizable using the native block editor style controls
- Trigger modal on click for any element via CSS selector
- Trigger modal on page load after X milliseconds
- Set cookie to not show modal again on page load until X minutes have elapsed
- Option for user interaction within modal triggers cookie to be set
- Custom modal width
- Optional close button
- API enabled
- Only 2kb gzipped
- Accessibility enabled
- Use modals within the query loop block and the WooCommerce Product Template block
Attribution
The Light Modal block uses a modified version of the Micromodal library.




