[WordPress] 外掛分享: WP Featherlight – A Simple jQuery Lightbox

WordPress 外掛 WP Featherlight – A Simple jQuery Lightbox 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「WP Featherlight – A Simple jQuery Lightbox」是 2015-05-30 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 50000 個安裝啟用數。
  • 上一次更新是 2020-12-08,距離現在已有 1607 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 有 95 人給過評分。
  • 論壇上目前有 3 個提問,問題解答率 0%

外掛協作開發者

ozzyr | fatmedia | cipherdevgroup |

外掛標籤

image | jquery | gallery | lightbox | jquery lightbox |

內容簡介

WP Featherlight 是一個 WordPress 外掛,可為您的WordPress 網站添加一個極簡、高效、響應式 jQuery 燈箱。在其核心,WP Featherlight是一個用於 Featherlight jQuery 燈箱外掛的 WordPress 外掛包裝器。安裝後,該外掛將自動在一個簡單的極簡主義燈箱彈出中顯示所有標準 WordPress 的圖片和畫廊 。

為使 WordPress 的圖片和畫廊能夠使用燈箱,您需要在選擇縮略圖應該鏈接的位置時選擇「媒體文件」選項。如果確保直接鏈接到圖像文件,也可以選擇「自定義鏈接」選項。這應該適用於任何圖像文件,即使它托管在另一個網站上。

通過添加數據屬性到您的內容,WP Featherlight 也可以為視頻、iframe 和 ajax 內容提供燈箱。有關自定義內容加載的更多詳細信息,請參閱 Featherlight 文檔。

WP Featherlight 沒有任何設置,因此您應該可以安裝它而無需進行任何配置。如果您不希望在某些頁面或帖子上使用燈箱,則有一個選項可以從帖子編輯屏幕中禁用它。

如果您發現顯示問題,可能與您的主題有關,但請打開支援請求讓我們進行調查。有關 Featherlight 腳本本身的更多信息,請查看他們的GitHub 外掛頁面。

開發者注意事項

雖然外掛中沒有任何選項,但有一些方便的篩檢器可修改默認行為。從 0.3.0 開始,所有使用 WordPress 默認標題的圖像在燈箱模式下也會包含一個標題。要禁用此行為,向篩檢器 wp_featherlight_captions過濾成 false 。

您還可以使用篩檢器在 /includes/class-scripts.php 文件中條件地禁用 CSS 和 JavaScript 的包含。如果您對任何外掛的任何部分的工作方式有疑問,請不要猶豫,在 GitHub 上打開一個問題。

貢獻

如果您想提交代碼補丁或以任何其他方式做出貢獻,請在 GitHub 上 fork 這個外掛。

原文外掛簡介

WP Featherlight is a WordPress lightbox plugin for adding a minimal, high-performance, responsive jQuery lightbox to your WordPress website. At its core, WP Featherlight is a WordPress plugin wrapper for the Featherlight jQuery lightbox plugin. When installed, the plugin will automatically display all standard WordPress images and galleries in a simple, minimalistic lightbox popup.
In order for WordPress images and galleries to be lightboxed, you need to select the “Media File” option when choosing where the thumbnails should link. You can also select the “Custom Link” option if you make sure to link directly to an image file. This should work for any image file, even if it’s hosted on another website.
It’s also possible to lightbox videos, iframes, and ajax content with WP Featherlight by adding data attributes to your content. For more details on custom content loading, check out the featherlight documentation.
There are no settings for WP Featherlight, so you should be able to install it without needing to configure anything. In the event you don’t want a lightbox on certain pages or posts, there is an option to disable it from within the post editor screen.
If you find a display problem, it may be related to your theme but please open an support request about it so we can look into it. For more information about the Featherlight script itself, check out their GitHub plugin page.
Developer Notes
While there are no options in the plugin, there are some handy filters to modify the default behavior. As of 0.3.0 all images which use the default WordPress captions will also include a caption when the image is lightboxed. To disable this behavior, filter wp_featherlight_captions to false.
You can also disable inclusion of the CSS and JavaScript conditionally using filters which can be found in the /includes/class-scripts.php file. If you have questions about how any part of the plugin works, please don’t hesitate to open an issue on GitHub.
Contributing
If you’d like to submit code patches or contribute in any other way, please fork the plugin on GitHub.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Featherlight – A Simple jQuery Lightbox」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1.1 | 0.2.0 | 0.3.0 | 1.0.0 | 1.1.0 | 1.2.0 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | trunk |

延伸相關外掛(你可能也想知道)

  • Image Optimization by Optimole – Lazy Load, CDN, Convert WebP & AVIF, Optimize Images 》, Optimole的獨特之處在哪裡?, , 更小的圖片,同樣的品質, 完全自動化;設定一次就忘記它, 支援所有圖片格式, 支援Retina和WebP圖片, 以機器學習為基礎的自...。
  • Imsanity 》使用 Imsanity,自動調整大型圖片上傳大小。選擇你喜歡的尺寸和品質,讓 Imsanity 完成其餘所有工作。當投稿者上傳大於配置尺寸的圖片時,Imsanity 將自動將...。
  • Firelight Lightbox 》Easy FancyBox WordPress外掛為您的網站提供靈活美觀的光箱解決方案,幾乎適用於網站上的所有媒體連結。Easy FancyBox使用更新的傳統FancyBox jQuery擴展版本...。
  • Simple Lightbox 》Simple Lightbox 是一個非常簡單且可自定義的燈箱,在您的 WordPress 網站上添加它非常容易。, 功能, 自定義燈箱行為的選項位於外觀 > Lightbox 管理員菜...。
  • Robin image optimizer — save money on image compression 》需要專業支援嗎?, 開始免費支援, 開始高級支援, 透過減少圖像大小,讓您的網站加快速度。我們的 WordPress 圖像優化外掛,可以將圖像大小減少80%,而且不損...。
  • Responsive Lightbox & Gallery 》提供完整的 WordPress 相簿外掛所需一切, Responsive Lightbox and Gallery 外掛是一個全功能的 WordPress 相簿外掛,擁有強大的拖放相簿生成器和 Lightbox ...。
  • reSmush.it : The original free image compressor and optimizer plugin 》reSmush.it Image Optimizer 是一個 WordPress 外掛,透過 reSmush.it API 提供圖片優化服務。reSmush.it 使用多種高級演算法對圖像進行大小減小。API 支援最...。
  • Menu Image, Icons made easy 》這個外掛可以輕鬆地在選單項目中加入圖像或圖示,打造更好的網站選單。, 可以控制圖像或圖示的位置以及大小。, 這個 Menu Image 外掛還有其他功能,以下是其...。
  • Image Widget 》Image Widget 是一個簡單的外掛程式,利用 WordPress 原生媒體管理員,為您的網站新增圖片小工具。, 需要新增幻燈片、燈箱或隨機圖像嗎?, 請查看 Image Widg...。
  • Featured Image from URL (FIFU) 》h3>WordPress 外掛 - 用於顯示外部特色圖片、影片、音訊等等, FIFU 自 2015 年來已幫助全球數千個網站節省了儲存空間、處理時間和版權費用。, 如果您已經厭倦...。
  • Default Featured Image 》在媒體設定頁面上新增一個預設的特色圖像。如果沒有設定任何特色圖像,這個預設的特色圖像就會顯示。就這麼簡單。, 查看常見問題以獲取基本問題資訊。, 如果...。
  • All In One Favicon 》查看最新的WordPress交易以優化您的網站。, All In One Favicon為您的網站和管理頁面添加favicon。, 您可以使用您已經上傳的favicon或使用內置的上傳機制將fa...。
  • ImageMagick Engine 》透過讓 WordPress 使用 ImageMagick 而非標準的 GD 圖像庫,大幅提升重新調整大小的圖像品質。, 功能, , 在重新調整大小的圖像中保留嵌入式色彩設定檔, 自動...。
  • Phoenix Media Rename 》通過使用「Phoenix Media Rename」外掛,將您的媒體檔案重新命名,極大地提高您的 SEO。, 在Phoenix Media Rename 官方頁面上提供了完整的使用和設置指南。。
  • LightPress Lightbox 》這個外掛讓你保留了超棒的 Lightbox 2功能,卻移除了Prototype框架和Scriptaculous效果庫的大部分體積。, Warren Krewenki將Lightbox移植到了jQuery,而這個...。

文章
Filter
Mastodon