跳到内容

ReformBox

v0.3.5

Tsubu · 2026年3月25日 上架

Universal Lightbox for WordPress – lightbox support for Group, Paragraph, Video blocks with poster images, and core Image workflows.

正在使用
10+
评分
5.0 / 5
累计下载
575
最近更新
2026年9月17日
1 条评价需要 WordPress 6.4+已测试到 7.1.5PHP 7.4+

贡献者

ReformBox extends WordPress Lightbox functionality beyond images. It currently supports Group, Paragraph, and Video blocks with poster images directly, while delegating Image lightbox behavior to WordPress core. For core/image, ReformBox only syncs the sidebar toggle with core lightbox settings.

This plugin is developed on GitHub.

Supported Blocks:

  • Image Block – Uses WordPress core lightbox behavior (ReformBox panel toggles core lightbox.enabled)
  • Video Block – Opens in a lightbox when a poster image is set (poster acts as the click trigger)
  • Group Block – Supports both same mode (same content in page + modal) and split mode (separate Preview/Modal direct child Group slots)
  • Paragraph Block – Click to open itself in a lightbox

Features:

  • No-code lightbox creation via block editor controls
  • Core-first image lightbox integration (core/image)
  • Core-aligned overlay markup for custom lightboxes
  • Core-aligned zoom animation
  • ESC key and overlay click to close
  • Accessible (ARIA attributes, focus management, keyboard navigation)
  • Group split mode with Preview/Modal slot mapping
  • Safe split fallback: if no Modal slot is assigned, Preview content is used
  • Lazy-loaded assets (CSS/JS only loaded when needed)
  • Self-lightbox videos defer preload/autoplay until opened
  • Core image workflow integration without overriding core image rendering
  • Global overlay background color and opacity controls in Settings > ReformBox
  • Plugin list row includes a Settings action link for quick access
  • Lightweight and performant

Plums

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

导航

说明

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

© 2026 Plums