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.
- 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.
- Upload the folder wp-featherlight-disabled to the `/wp-content/plugins/` directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
Does this plugin work with the newest WP version and also older versions?
Yes, this plugin works perfect with the latest version of WordPress! It also works with older versions as well but you should always run the latest WordPress and PHP version for best security and performance. This plugin is used in my critical sites so you can be assured it works perfect.
Will this plugin slow down my site?
No. It’s the most lightweight lightbox plugin possible. It does only the essential function and nothing more. No heavy PHP processing or database queries. I’m an absolute speed fanatic.
Do you plan to add more features?
Probably not. This was intended as a free community plugin and to be as lightweight as possible. You’re welcome to fork it and make your own. Or if you need a more full-featured image gallery, I love Jordy’s [Meow Gallery] plugin(https://wordpress.org/plugins/meow-gallery/). That WP Featherlight and Meow Gallery are the 2 most lightweight and developer-grade image/gallery plugins IMO. I wouldn’t use anything else.
What if I have a display problem?
Display problems can be related to your theme. You can open a support request or see more information on the official Featherlight script GitHub page.
What filters are available?
Plugin has no GUI options. Some handy filters are available to modify default behavior. All images using default WordPress captions will also include a caption when the image is lightboxed. To disable this behavior, filter
Contributors & Developers
“WP Featherlight Disabled” is open source software. The following people have contributed to this plugin.Contributors
Translate “WP Featherlight Disabled” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Starting fork off of the official WP Featherlight version 1.3.3. (Only thing changed was the default load behavior, and checkbox wording in post setting.) For older changes, see the official WP Featherlight changelog on GitHub
.webp format is supported.
The official WP Featherlight plugin uses same meta value name for each post as our plugin. To avoid the same meta parameter name usage, we decided another meta name “zeroneit_featherlight_disable”.