Описание
For use with the popular WordPress plugin MetaSlider allowing slides to be opened in a lightbox, using one of the following supported lightbox plugins:
- Easy FancyBox (300,000+ active installations)
- Simple Lightbox (200,000+ active installations)
- FooBox Image Lightbox (100,000+ active installations)
- WP Featherlight (70,000+ active installations)
- WP Colorbox Lightbox (10,000+ active installations)
- ARI Fancy Lightbox (10,000+ active installations)
- Gallery Manager (6,000+ active installations)
We also support the following WordPress plugins, although they haven’t had recent updates, or sometimes go long periods without the authors fixing issues:
- Responsive Lightbox by dFactory (200,000+ active installations)
Note: Some users are reporting errors with Responsive Lightbox by dFactory (see here). - WP Lightbox 2 (60,000+ active installations)
- WP jQuery Lightbox (50,000+ active installations)
- jQuery Colorbox (30,000+ active installations)
- Fancy Lightbox (1,000+ active installations)
- imageLightbox (800+ active installations)
- WP Lightbox Ultimate
- Lightbox Plus
If you would like to use a lightbox plugin that isn’t supported you can add support by hooking into the metaslider_lightbox_supported_plugins
filter. If you need assistance, please open an issue.
Скриншоты
Установка
Requires:
- MetaSlider 3.0+
and one of the following lightbox plugins:
- Easy FancyBox
- Simple Lightbox
- Responsive Lightbox by dFactory
- FooBox Image Lightbox
- WP Featherlight
- WP ColorBox Lightbox
- Gallery Manager
- ARI Fancy Lightbox – WordPress Popup
- WP Lightbox 2
- WP jQuery Lightbox
- jQuery Colorbox
- Fancy Lightbox
- imageLightbox
- WP Lightbox Ultimate
- Lightbox Plus
If you would like to use a lightbox plugin, you can filter the supported plugin list with the necessary attributes. For example, using Responsive Lightbox Lite
add_filter('metaslider_lightbox_supported_plugins', 'supported_plugins_list'); function supported_plugins_list($supported_plugins_list) { return array( 'Responsive Lightbox' => array( 'location' => 'responsive-lightbox-lite/responsive-lightbox-lite.php', 'settings_url' => 'options-general.php?page=responsive-lightbox-lite', 'rel' => 'lightbox', 'attributes' => array( 'data-lightbox-type' => 'iframe' ) ) ); }
Note that you can use `:url` or `:caption` to retrieve these items from the slides, such as `’data-lightbox-url’ => ‘:url’`
The easy way:
- Go to the Plugins Menu in WordPress
- Search for «MetaSlider Lightbox»
- Click «Install»
The not so easy way:
- Upload the
ml-slider-lightbox
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Manage your slideshows using the ‘MetaSlider’ menu option
Отзывы
Участники и разработчики
«MetaSlider Lightbox» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«MetaSlider Lightbox» переведён на 3 языка. Благодарим переводчиков за их работу.
Перевести «MetaSlider Lightbox» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
The format is based on Keep a Changelog recommendations
and this project adheres to Semantic Versioning.
[1.13.2] — 10 Jul, 2024
- ADDED: metaslider_admin_notices hook, #26;
[1.13.1] — 12 Oct, 2021
- FIXED: Lightbox setting is broken if using MetaSlider v3.27.13, #18;
- CHANGED: Remove Extendify library;
[1.13.0] — 13 Jul, 2021
- CHANGED: Update the library.
[1.12.2] — 7 Jul, 2021
- FIXED: Bug fixes.
- ADDED: Adds option to disable the library.
[1.12.1] — 17 May, 2021
- FIXED: Bug fixes.
[1.12.0] — 28 Apr, 2021
- ADDED: Adds access to the Extendify template and pattern library.
[1.11.3] — 22 Aug, 2020
- CHANGED: Updates readme and team account info.
[1.11.2] — 09 Apr, 2020
- CHANGED: De-prioritizes recommendation for Responsive Lightbox by dFactory due to inactivity.
[1.11.1] — 14 Aug, 2019
- FIXED: Fixes issue where the setting wouldn’t save properly.
[1.11.0] — 8 Jul, 2019
- ADDED: Adds support for Gallery Manager Pro.
[1.10.4] — 30 Apr, 2019
- CHANGED: Adds unique class name to admin notices.
[1.10.3] — 04 Jan, 2019
- FIXED: Fixes a bug where WP-Featherlight would not load as a gallery.
[1.10.2] — 14 Jul, 2018
- CHANGED: Updates settings page for WP Lightbox 2 to match their update.
[1.10.1] — 16 Mar, 2018
- FIXED: Updates how lightbox plugins are checked for activation.
- FIXED: Addresses a bug that checks for previous slider settings.
- FIXED: Removes an incompatible lightbox plugin (duplicate name).
[1.10.0] — 16 Mar, 2018
- ADDED: Adds support for additional lightbox plugins.
- CHANGED: Refactors lightbox to clean up attribute function.
- CHANGED: Refactors various parts of the code to extract supported plugin data.
- CHANGED: Extracts the class MetaSliderLightboxPlugin to its own file.
- CHANGED: Changes the logic for check if the plugin is install and active.
- CHANGED: Adds a CSS class to the container that identifies the active lightbox plugin.
- CHANGED: Adds filters to let users manipulate the plugin use.
- CHANGED: Refactors lightbox to clean up attribute function.
[1.9.3] — 14 Nov, 2018
- CHANGED: Fix checks to slide URL.
- FIXED: FooBox Pro compatibility update.
- FIXED: Updates the FooBox Profile name.
- FIXED: Update Gallery Manager plugin settings.
[1.9.2] — 26 Jan, 2018
- CHANGED: Update translation strings.
- CHANGED: Adds warning message when no lightbox is active.
[1.9.0] — 28 Mar, 2017
- FIXED: Simple lightbox use slide caption instead of attachment caption.
[1.8.0] — 16 Mar, 2017
- FIXED: Update slide image URL to comply with new slide post type.
[1.7.0] — 09 May, 2016
- FIXED: Removes defunct Lightbox Plus plugin link (thanks to @Hendrik57).
[1.6.0] — 01 Apr, 2015
- ADDED: Adds support for FooBox Image Lightbox and WP Lightbox 2 Pro versions.
[1.5.0] — 30 Jan, 2015
- ADDED: Adds support for FooBox Image Lightbox and Responsive Lightbox by dFactory.
[1.4.0] — 15 Dec, 2014
- FIXED: Hides dependency warning in admin if WP Video Lightbox is activated (reported by and thanks to: vfontj).
[1.3.0] — 28 Oct, 2014
- ADDED: Adds support for Fancy Gallery lightbox plugin (suggested by and thanks to: Zim1).
[1.2.0] — 17 Sep, 2014
- ADDED: Support for additional lightbox plugins.
[1.1.0] — 22 Aug, 2014
- FIXED: Array assignment compatibility PHP < v5.4 (reported by and thanks to: andrea_montuori).
[1.0.0] — 15 Aug, 2014
- ADDED: Initial version.