Developers
cipherdevgroup |
ozzyr |
wpsitecare |
Download Stats
Today | 95 |
Yesterday | 220 |
Last Week | 1,329 |
All Time | 126,919 |
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.
Releases (11 )
Version | Release Date | Change Log |
---|---|---|
1.3.4 | 2020-08-08 | |
1.3.3 | 2020-04-30 | This is primarily a maintenance release, but one tweak was made.
|
1.3.2 | 2020-04-13 | Release to downgrade Featherlight verison until all bugs are worked out.
|
1.3.1 | 2020-04-12 | This is primarily a maintenance release, but one new feature has been added. Display the option to disable the lightbox in Gutenberg! Here's a full list of what's changed since the last release:
|
1.3.0 | 2018-08-14 | While primarily a maintenance release, one new feature has been added. WP Featherlight now supports Gutenberg galleries. Here's a full list of what's changed since the last release:
|
1.2.0 | 2017-09-29 | This is primarily a maintenance release, but one new feature has been added. HTML in captions is now supported! Here's a full list of what's changed since the last release:
|
1.1.0 | 2017-01-17 | Thanks to some changes implemented in the core featherlight script, the accessibility of WP Featherlight is now significantly improved. Lightboxed elements now have more appropriate focus management for screen readers and the close button is more accessible. This update also fixes a potential plugin compatibly problem in the WordPress admin. In version 1.0, it was possible under unusual circumstances for the plugin to throw a fatal error when attempting to add the disable checkbox to the publish metabox.
|
1.0.0 | 2016-11-11 | Even though this is a major version change, this is primarily a maintenance release. The reason for the jump to 1.0.0 is because we've changed some code which could break backwards compatibility with custom extensions and integrations. If you're just using the plugin on your site and haven't customized it or paid anyone to customize it for you, you should be able to update without any issues. If you're a developer and have written custom code extending the PHP side of WP Featherlight, be sure to test your code before updating. Under the hood, we've deprecated some internal methods which could potentially break custom code which extends WP Featherlight. The changes are primarily limited to class initialization, so unless you were doing something specific to that, it's unlikely that you'll run into issues.
View the full changelog on GitHub |
0.3.0 | 2016-05-23 | There are quite a few internal changes in the plugin for this release, plus some nice new features and improvements on the front-end. We've streamlined everything as much as possible and also added support for some languages other than English! Here's a breakdown of everything that's changed: New Features - Automatic captioning for WordPress images and gallery items (Including Jetpack Galleries) - Spanish language translation Enhancements
- Updated Featherlight to Bug Fixes - Improved handling of images when certain caching plugins are enabled - Prevented gallery arrows from being hijacked by WP Emoji - Fixed a bug which allowed multiple light boxes to be opened using keyboard commands Developer Stuff
- Reduced overhead by loading language files only when needed (props @toscho)
- Improved the save routine for our admin metabox (props @toscho)
- Added a Added Language Support - German - Spanish - French - Portuguese (Brazil) - Spanish (Peru) |
0.2.0 | 2015-06-02 | The primary feature in this release is the addition of a visual loader and the automatic lightboxing of external images. In prior versions, only images from the WordPress host domain were lightboxed automatically. This caused some problems with people using a CDN as the URLs were treated as external. There have also been a handful of code improvements under the hood including:
|
0.1.1 | 2015-05-31 | Fixed a bug that caused all WordPress galleries to open in a light box. Now only galleries which have been set to link to the media attachment are opened using Featherlight. |