外掛說明
Simple Lightbox 是非常易用且可自訂、能為 WordPress 網站的圖片加入燈箱效果的外掛。
外掛功能
請前往管理選單的 [外觀] → [燈箱效果] 自訂燈箱效果,或點擊已安裝外掛清單中外掛名稱下方的 [設定] 連結。
- 自動啟用連結 (不需手動撰寫程式碼)
- 自動調整燈箱效果以符合視窗尺寸
- 使用佈景主題自訂燈箱效果
- 包含回應式佈景主題行動裝置最佳化
- 可自訂燈箱效果的動畫
- 可使用附加元件不受限制的自訂
- 支援 WordPress 圖片附件連結
- 支援小工具中的連結
- 鍵盤導覽
- 在燈箱效果中顯示媒體中繼資料 (媒體說明文字及內容說明等)
- 依據頁面類型 (首頁、頁面、彙整頁面等) 啟用燈箱效果
- 將圖片連結組成群組 (投影片輪播方式顯示)
- 依據文章將圖片連結組成群組 (頁面中的每篇文章個別顯示投影片輪播)
使用方式
- 將圖片/圖片附件的連結插入至頁面或文章。
如此便大功告成。圖片會自動 (在使用者點擊後) 顯示燈箱效果。
安裝方式
- 安裝並啟用 Simple Lightbox
- 確認網站上目前啟用的佈景主題使用
wp_head()
、wp_footer()
及the_content()
範本標籤,這是任何佈景主題都該採用的標準。
常見問題集
如需進一步了解,請前往 Simple Lightbox 的官方網站頁面。
使用者評論
2024 年 11 月 27 日
Couldn’t be simpler. Downloaded, installed, activated and now all my post images open in a lightbox.
Brilliant!
2024 年 10 月 17 日
I like the simplicity of the plugin and it works with WP native image block. The ability to automatically group single images on a page or post and browse through them in the model box is great.
2024 年 10 月 8 日
That’s all I can say: just fab! 😀
2023 年 10 月 31 日
So when i first starting using this plugin it was simple (as the title says), i took it further and created a custom gallery using ACF, at first it didnt work but a fast solid response from the developer fixed it all in a few days!! TAHNK YOU!!!
2023 年 7 月 28 日
Did not work when I used it for the first time using Gutenberg blocks. My mistake was I did not place the Gallery into the WP-content block. Fixed it worked like charm.
2023 年 3 月 24 日
I installed it, linked a picture and it worked. I could not find an embed of Google Fonts (using Firefox Inspector) so the GDPR-Complaint seems to be outdated.
參與者及開發者
變更記錄
2.9.4
- Optimize: Escape special characters in DOM attributes.
- Update: Confirm WordPress 6.2-6.8 compatibility.
2.9.3
- Hotfix: WordPress 6.1
wp_rand()
bug (32-bit platforms) (#974) - Update: Confirm WordPress 6.1 compatibility
- Optimize: Media item cache key generation
- Optimize: Prune build tasks
2.9.2
- Optimize: Symbolic link handing for file/directory paths.
2.9.1
- Fix: Validate hook priority values (Let’s Getz Prioritized)
2.9.0
- Add: Support WebP image format
- Add: Support AVIF image format
- Add: Documentation link to readme file
- Optimize: Code cleanup/refactoring
- Optimize: WPCS validation (Phase 1)
- Optimize: Activate links after all other filters
- Optimize: Plugin metadata retrieval
- Update: Confirm WordPress 6.0 compatibility
- Update: Build dependencies
- Update: GitHub issue templates
2.8.1
- Update: PHP 5.6 Compatibility
- Add: PHPCS configuration
- Add: GitHub Issue templates
2.8.0
- Update: WordPress 5.3+ required.
- Update: PHP 7.2+ required.
- Optimize: Link detection up to 2x faster.
- Optimize: Options data handling.
- Optimize: Default title filtering.
- Optimize: Standardize media item data structure to avoid conflicts with third-party data.
- Optimize: Load only necessary media item properties in browser.
- Optimize: Filter all media items (instead of each individual item).
- Filter Removed:
media_item_properties
(single item). - Filter Added:
media_items
(all items).
- Filter Removed:
- Fix:
area
elements included in link detection (This is Jim’s Area).