跳到内容

Light Modal Block

v1.10.0

David 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+

截图

Block editor modal settings
Block editor modal settings
Show Modal block control enabled under the Advanced panel for various blocks
Show Modal block control enabled under the Advanced panel for various blocks
Native block styling enabled for modals
Native block styling enabled for modals
Custom panel reveals all modals enabled on page
Custom panel reveals all modals enabled on page
Modal in list view
Modal in list view

A simple yet robust solution for creating modals within the WordPress block editor.

🚀 View Demo

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.

Plums

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

导航

说明

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

© 2026 Plums