• Resolved luizargument

    (@luizargument)


    Hello. It’s a great plugin but the option “Display the loading screen as soon as the link on the current page is clicked, and not only when the next page is loaded.”, when it is active, not works on Elementor Image Gallery and Lightbox Elementor Integration (the image URL is displayed instead the Lightbox). Unfortunetely, i need this option (Display the logo screen as soon as the link is clicked…) activated to improve user experience. There’s a way to create an exception based on link class to ignore this option in these cases? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @luizargument

    Could you please indicate the URL to the page where the issue is happening to check it in detail?

    Best regards.

    Thread Starter luizargument

    (@luizargument)

    Hello @codepeople !

    Sorry but the website is on a private server and can’t be access at this moment… so, i recorded a video simulating the incident: https://www.veed.io/view/b90875b6-4a67-468a-ae4e-2e5106bf8466?sharingWidget=true&panel=share

    Thread Starter luizargument

    (@luizargument)

    If there was some way to bypass the “a[data-elementor-open-lightbox=yes]” selector, that would do it for me. 😉

    Plugin Author codepeople

    (@codepeople)

    Hello @luizargument

    Yes, that’s possible. You must edit the “/wp-content/plugins/loading-page/js/links.min.js” file as follows:

    Modify the piece of code:

    /^((javascript:)|(#))/i

    as follows:

    /^((javascript:)|(#)|(jpeg)|(jpg))/i

    Finally, remember to purge your website and browser caches.

    Best regards.

    Thread Starter luizargument

    (@luizargument)

    Hello! Thanks for the tip!

    I modified your code. What you suggested didn’t work because the ^ character on RegExp means the first few characters. To catch the last characters and only the file extension, i made this below and it worked!

    /^((javascript:)|(#))|(\w*((\.jpeg)|(\.jpg))\b)/i

    Of course, if you have a better suggestion, let me know.

    Again, thanks for the great support!

    Plugin Author codepeople

    (@codepeople)

    Hello @luizargument

    My apologies. Please, edit the regular expression as follows:

    /((javascript)|(#)|(\.jpeg)|(\.jpg))/i

    Best regards.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Conflict with Elementor Image Gallery and Lightbox links’ is closed to new replies.