跳到内容

WP Featherlight Disabled

v1.0.4

treeflips · 2020年6月24日 上架

The most lightweight WordPress lightbox plugin...and the featherlight CSS/JS (only 7kb) is automatically disabled unless you manually enable within ea …

正在使用
2,000+
评分
5.0 / 5
累计下载
2.1 万
最近更新
2025年5月14日
3 条评价需要 WordPress 4.0+已测试到 6.8.13

截图

A view of the (clicked) image displaying in jQuery lightbox.
A view of the (clicked) image displaying in jQuery lightbox.
Manual checkbox on post setting (unchecked by default).
Manual checkbox on post setting (unchecked by default).
Add original image media link into image element.
Add original image media link into image element.
Group multiple images as a gallery by adding "gallery" class into wrapper element.
Group multiple images as a gallery by adding "gallery" class into wrapper element.

This minimal WordPress lightbox plugin adds high performance, responsive jQuery lightbox functionality to your images. When standard WordPress images/galleries are clicked, the background fades out into black as images display in lightbox popup. Galleries can be navigated with on-screen arrows, touchscreen swipes, or pressing arrows keys.

In order for WordPress images and galleries to be lightboxed:
– You must select the “Media File” option when choosing where thumbnails should link. You can also select the “Custom Link” option if it links directly to an image file. This should work for any image file, even if it’s hosted on another website.
– Enable on each post by checking “Enable lightbox” on the WP Featherlight settings.
– You can also lightbox videos, iframes, and ajax content by adding data attributes to your content. For more details on custom content loading, check out the featherlight documentation.

My plugin is simply a forked version of the original WP Featherlight plugin. Only difference is the original loads the featherlight CSS/JS on every page whereas mine only loads when you manually enable. Big thanks to Yin and Walter for contributing.

Features:

  • Ultra-lightweight – even more lightweight than the original WP Featherlight since the lightbox CSS/JS is not loaded automatically.
  • Manual activation – to enable lightbox functionality, simply click the checkbox in your post settings.
  • Retains WP Featherlight features – has all the same features and filters as the original WP Featherlight plugin (up to version 1.3.3)
  • Supports WEBP image format.

Plums

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

导航

说明

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

© 2026 Plums