[WordPress] 外掛分享: ReformBox

首頁外掛目錄 › ReformBox
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
36 天前
最後更新
問題解決
WordPress 6.4+ PHP 7.4+ v0.3.3 上架:2026-03-24

內容簡介

ReformBox 擴展了 WordPress 的 Lightbox 功能,不僅支援圖片,還支援群組、段落和影片區塊。此外掛簡化了無需編碼的 Lightbox 創建,並與 WordPress 核心功能無縫整合。

【主要功能】
• 支援群組、段落和影片區塊的 Lightbox
• 無需編碼的 Lightbox 創建
• 與 WordPress 核心圖片功能整合
• 可自訂全局覆蓋背景顏色和不透明度
• 支援鍵盤導航和可及性功能
• 延遲加載資源以提高效能

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ReformBox」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon