plugin-icon

WP Featherlight – A Simple jQuery Lightbox

Eine sehr leichtgewichtige jQuery-Lightbox für WordPress-Bilder und -Galerien.
Bewertungen
4.9
Zuletzt aktualisiert
December 8, 2020
Version
1.3.4
Aktive Installationen
60K
WP Featherlight – A Simple jQuery Lightbox

WP Featherlight ist ein WordPress-Lightbox-Plugin für das Hinzufügen einer minimalen, leistungsstarken, reaktionsfähigen jQuery-Lightbox zu Ihrer WordPress-Website. Im Kern ist WP Featherlight ein WordPress-Plugin-Wrapper für das Featherlight-jQuery-Lightbox-Plugin. Wenn es installiert ist, zeigt das Plugin automatisch alle Standard-WordPress-Bilder und -Galerien in einem einfachen, minimalistischen Lightbox-Popup an.

Damit WordPress-Bilder und -Galerien in einer Lightbox angezeigt werden können, musst du die Option „Mediendatei“ auswählen, wenn du den Link zu den Vorschaubildern festlegen. Du kannst auch die Option „Individueller Link“ auswählen, wenn du sicherstellen willst, dass du direkt auf eine Bilddatei verlinkst. Dies sollte für jede Bilddatei funktionieren, auch wenn sie auf einer anderen Website gehostet wird.

Es ist auch möglich, Videos, iframes und Ajax-Inhalte mit WP Featherlight in eine Lightbox zu packen, indem du Datenattribute zu deinem Inhalt hinzufügst. Weitere Einzelheiten zum Laden von individuellen Inhalten findest du in der Featherlight-Dokumentation.

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.

Entwickler-Hinweise

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.

Beitragen

Wenn du Code-Patches einreichst oder auf andere Weise beitragen möchtest, lade bitte das Plugin auf GitHub herunter.

Kostenlosmit dem Creator-Tarif
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Aktive Installationen
60K
Getestet bis
5.6.0
Dieses Plugin steht zum Download zur Verfügung, um in deiner selbst gehosteten WordPress-Installation verwendet zu werden.