Support » Plugin: MetaSlider Lightbox » beTheme magnific popup lightbox

Viewing 1 replies (of 1 total)
  • Plugin Contributor kbatdorf

    (@kbat82)

    Hi @megaflowadmin,

    Sorry for the late response. You can follow the code example in the readme to add support for another lightbox plugin:

    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'
                )
            )
        );
    }

    Add to functions.php or as an mu-plugin

    See the actual code for more examples from each lightbox in the plugin file itself. Basically you need to figure out what beTheme requires to be set, and additionally you can link to the settings page. the example above here requires rel=’lightbox’ and data-lightbox-type=’iframe’.

    We thought about adding the lightbox plugin to the main plugin but not enough people use it. If we were to add it at this point it would be as a pro add-on.

    Let me know if you have any questions

Viewing 1 replies (of 1 total)
  • The topic ‘beTheme magnific popup lightbox’ is closed to new replies.