MetaSlider Lightbox

Description

For use with the popular WordPress plugin MetaSlider allowing slides to be opened in a lightbox, using one of the following supported lightbox plugins:

If you would like to use a lightbox plugin that isn’t supported then let us know and we can look into adding it.

Screenshots

  • Toggle the lightbox in the advanced settings panel

Installation

Requires:

and one of the following lightbox plugins:

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:

  1. Go to the Plugins Menu in WordPress
  2. Search for “MetaSlider Lightbox”
  3. Click “Install”

The not so easy way:

  1. Upload the ml-slider-lightbox folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Manage your slideshows using the ‘MetaSlider’ menu option

FAQ

Installation Instructions

Requires:

and one of the following lightbox plugins:

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:

  1. Go to the Plugins Menu in WordPress
  2. Search for “MetaSlider Lightbox”
  3. Click “Install”

The not so easy way:

  1. Upload the ml-slider-lightbox folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Manage your slideshows using the ‘MetaSlider’ menu option

Reviews

Works well!

Thanks a lot for the plugin! Only have a little problem with the image description with the responsive lightbox plugin, otherwise great plugin!

Read all 7 reviews

Contributors & Developers

“MetaSlider Lightbox” is open source software. The following people have contributed to this plugin.

Contributors

Translate “MetaSlider Lightbox” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

= 1.10.1 – 2018/Mar/16

  • FIX: Updates how lightbox plugins are checked for activation
  • FIX: Addresses a bug that checks for previous slider settings
  • FIX: Removes an imcompatible lightbox plugin (duplicate name)

= 1.10.0 – 2018/Mar/16

  • REFACTOR: Refactors lightbox to clean up attribute function
  • REFACTOR: Refactors various parts of the code to extract supported plugin data
  • REFACTOR: Extracts the class MetaSliderLightboxPlugin to its own file.
  • REFACTOR: Changes the logic for check if the plugin is install and active.
  • TWEAK: Adds a CSS class to the container that identifies the active lightbox plugin
  • TWEAK: Adds filters to let users manipulate the plugin use
  • REFACTOR: Refactors lightbox to clean up attribute function
  • FEATURE: Adds support for additional lightbox plugins

1.9.3 – 2017/Nov/14

  • FIX: FooBox Pro compatibility update
  • FIX: Updates the FooBox Profile name
  • FIX: Update Gallery Manager plugin settings
  • TWEAK: Fix checks to slide URL

1.9.2 – 2018/Jan/26

  • TWEAK: Update translation strings
  • TWEAK: Adds warning message when no lightbox is active

1.9 [28/03/17]

  • Simple lightbox use slide caption instead of attachment caption

1.8 [16/03/17]

  • Update slide image URL to comply with new slide post type

1.7 [09/05/16]

  • Removes defunct Lightbox Plus plugin link (thanks to @Hendrik57)

1.6 [01/04/15]

  • Adds support for FooBox Image Lightbox and WP Lightbox 2 Pro versions

1.5 [30/01/15]

  • Adds support for FooBox Image Lightbox and Responsive Lightbox by dFactory

1.4 [15/12/14]

  • Hides dependancy warning in admin if WP Video Lightbox is activated (reported by and thanks to: vfontj)

1.3 [28/10/14]

  • Adds support for Fancy Gallery lightbox plugin (suggested by and thanks to: Zim1)

1.2 [17/09/14]

  • Support for additional lightbox plugins

1.1 [22/08/14]

  • Fix: Array assignment compatibility PHP < v5.4 (reported by and thanks to: andrea_montuori)

1.0 [15/08/14]

  • Initial version