First of all, thanks for your work developing this plugin. I’m implementing it on a number of my sites.
However, I’d like to use another plugin for mobile sites (for info : I’m using PhotoSwipe).
For this to work properly, I need to disable the LB+CB scripts, and I’ve done this using WP’s
I’ve implemented this by adding a test for wp_is_mobile() in your lbpFinal() function, from just before the
add_action( wp_enqueue_scripts ...to just after the
add_action( $lightboxPlusOptions ...
Of course, this isn’t upgrade safe, so I’d like a checkbox in the plugin options to allow the test to be switchable.
Sorry, I can’t offer you an iPad for testing, but you can emulate one through user agent switching
- The topic ‘Request – disable for mobile devices’ is closed to new replies.