Support » Plugin: Facebook Album » De-Activate or Change Lightbox JS?

  • Resolved Joelle


    This plugin is a great and does just what I need quite easily, so thank you. BUT…

    Is there a way to deactivate the lightbox feature or possibly use a *different* lightbox? Unfortunately, the lightbox feature conflicts with other jquery running on the page, so if possible, I’d like to use my own lightbox jquery with it so I can position the jquery in my markup where it won’t conflict.

    Thoughts on this? 🙂 Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mglaman


    That can be done, I wish I saw this before I just pushed the latest update.

    For now, open the plugin editor and find the “_enqueue_resources”. Comment out the Lightbox lines using //, like in the example below

    public static function _enqueue_resources() {
    			//wp_enqueue_script('lightbox-js', plugins_url( '/lightbox/lightbox.js', __FILE__ ));
    			//wp_enqueue_style('lightbox-style', plugins_url( 'lightbox/lightbox.css', __FILE__ ));
    			wp_enqueue_style('fbalbum-style', plugins_url( '/fbalbum.css', __FILE__ ));

    Me,too! But thank you for replying anyway. 🙂 Thanks for your help!

    Plugin Author mglaman


    I’ll get a new update out within next few days that adds option to disable built in Lightbox

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘De-Activate or Change Lightbox JS?’ is closed to new replies.