跳到内容

Modal Builder Block

v1.1.0

Rodrigo · 2021年8月26日 上架

Build a modal with the power of WordPress' block editor. Anything you can do with the editor works inside of the modal content window or the moda …

正在使用
700+
评分
5.0 / 5
累计下载
7,921
最近更新
2025年3月23日
2 条评价需要 WordPress 5.8+已测试到 6.7.12PHP 7.0+

贡献者

截图

Modal Builder block in action. Adding a trigger.
Modal Builder block in action. Adding a trigger.
Adding a button block inside the trigger block.
Adding a button block inside the trigger block.
Add another Builder block and change "content type" to content. Add your modal content (like an image).
Add another Builder block and change "content type" to content. Add your modal content (like an image).

This small plugin allows you to create a modal / popup / lightbox with WordPress’ default Block editor (Gutenberg). The plugin provides you with a block that can be used for the modal’s trigger and the modal’s window contents. Anything you can do with the block editor, you can use for the modal trigger or the contents.

  • Multiple trigger methods. Use the power of the Block Editor to create your trigger (buttons, images, covers, and more).
  • Flexible modal content. Similarly to the trigger, use the Block Editor to define the content inside your modal content.
  • Supports multiple modals on the same page.
  • More to come.

To create a modal, simply use the Modal Builder block to create a trigger. Use another Modal Builder block to create the content (make sure you select the appropriate content type under the modal settings). On both instances, set the “Content ID” to whatever you want as long as both instances match. You are set.

Donations

If you like the plugin, consider leaving a donation to support further development of the plugin. Click here. If you would like custom solutions or the like, please visit HTR.Design.

Plums

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

导航

说明

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

© 2026 Plums