• Is there a way to automatically disable the lightbox on pages that use the Basic Elementor Gallery? Any JS, php code? When I click on the images they open with two lightboxes.
    I’m looking for some way to disable it only when it “finds” the Elementor gallery. Not on the entire page. Thanks.

    • This topic was modified 4 years, 9 months ago by cjuni.
Viewing 1 replies (of 1 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    Elementor galleries are only supported in the paid “pro” version of Elementor. Since I don’t have that version I would need to buy a license which starts at 49 USD per year. I hope you understand that I won’t buy a license for Elementor just to add some feature in my plugin which is for free.

    The better solution would be to disable the Elementor lightbox and not to disable Photoswipe. The Elementor lightbox can be disabled in the global settings – I just don’t know, if this also affects Elementor galleries. Anyway – see the example of this here with a normal WordPress gallery and an Elementor image widget:

    https://wordpress-demo.arnowelzel.de/example-for-elementor/

    Another option is to add the IDs of the affected pages or posts to the “Excluded pages/posts” settings in Lightbox with PhotoSwipe.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable in Elementor pages’ is closed to new replies.