跳到内容

LMDM Lightbox Gallery Membership

v1.0.0

Nic · 2026年7月10日 上架

Lets standalone core Image blocks join the native lightbox navigation group of a selected core Gallery block.

正在使用
10 以下
评分
暂无
累计下载
298
最近更新
2026年7月10日
需要 WordPress 6.9+已测试到 7.0.9PHP 8.0+

贡献者

截图

Image block inspector with the Lightbox gallery group selector
Image block inspector with the Lightbox gallery group selector
Gallery caption used as readable select label
Gallery caption used as readable select label

WordPress ships with a native Lightbox-Effect for image and gallery blocks. This plugin adds one focused editor option to standalone core Image blocks: Join gallery.

When the native Lightbox-Effect is enabled on an Image block, the block inspector shows all Lightbox-enabled Gallery blocks on the current page. Select one of them and the standalone image becomes part of that gallery’s native lightbox navigation group on the frontend.

The plugin does not replace the core Image or Gallery blocks. It stores a stable internal lightbox group ID on Gallery blocks and a selected group ID on standalone Image blocks. During rendering, it uses the same WordPress Interactivity API context that the core Gallery block uses for native lightbox navigation.

For a more readable editor experience, gallery captions are used as select labels when available. If a gallery has no caption, the plugin falls back to a numbered label with the image count.

Plugin Features

✔ extends the existing core Image and Gallery blocks
✔ adds a Join gallery selector to standalone Image blocks
✔ only shows the selector when the native Lightbox-Effect is active
✔ only lists Gallery blocks whose native Lightbox-Effect is active
✔ uses Gallery captions as human-readable select labels
✔ stores stable internal group IDs on Gallery blocks
✔ wraps selected standalone Image blocks in the required core/gallery interactivity context
✔ keeps the native WordPress lightbox overlay and navigation behavior
✔ ships with English and German PO, MO and JSON translation files
✔ uses no build step and no custom replacement block

Plums

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

导航

说明

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

© 2026 Plums