My LayerSlider popups have suddenly stopped working. The are all correct in editor mode, but when i check the page nothing happens. In console it says that the popup files are missing. But if thatäs so, how can they be ok in the editor?
Thanks for the update, if this started right after updating WP-Optimize to 4.5.0, then it's very likely a caching / minify / combine issue on the front-end.
WP-Optimize can optimize (and sometimes rewrite) JS/CSS file loading, and that can break the links to dynamically loaded assets (like the files used by LayerSlider Popups), which would explain why:
everything looks fine in the editor (different loading context), but
on the public page the browser console complains that popup files are missing.
What to try first
WP-Optimize → Cache
Purge/clear all caches.
WP-Optimize → Minify
Temporarily disable Minify completely and test the popups again.
If that fixes it, re-enable Minify and then:
turn off Combine JavaScript files
turn off Defer / Delay JavaScript
or add LayerSlider scripts to the Exclude list.
Other caching layers
If you use Cloudflare / server cache / another cache plugin, purge those too.
Also do a hard refresh in the browser (or test in an incognito/private window).
I think I found the culprit. It seems that a check in "delay js" in the "Delay JavaScript" section of WP-optimize blocked the popups. Unchecking this fixed it also inte new version of WPO.
My LayerSlider popups have suddenly stopped working. The are all correct in editor mode, but when i check the page nothing happens. In console it says that the popup files are missing. But if thatäs so, how can they be ok in the editor?
Enormously thankful for any help.
/Lars
Further research shows that it is WP-optimise update to 4.5.0 that brakes the link to the popups.
Hi Lars,
Thanks for the update, if this started right after updating WP-Optimize to 4.5.0, then it's very likely a caching / minify / combine issue on the front-end.
WP-Optimize can optimize (and sometimes rewrite) JS/CSS file loading, and that can break the links to dynamically loaded assets (like the files used by LayerSlider Popups), which would explain why:
everything looks fine in the editor (different loading context), but
on the public page the browser console complains that popup files are missing.
What to try first
WP-Optimize → Cache
Purge/clear all caches.
WP-Optimize → Minify
Temporarily disable Minify completely and test the popups again.
If that fixes it, re-enable Minify and then:
turn off Combine JavaScript files
turn off Defer / Delay JavaScript
or add LayerSlider scripts to the Exclude list.
Other caching layers
If you use Cloudflare / server cache / another cache plugin, purge those too.
Also do a hard refresh in the browser (or test in an incognito/private window).
Best Regards,
George | Kreatura Dev Team
I think I found the culprit. It seems that a check in "delay js" in the "Delay JavaScript" section of WP-optimize blocked the popups. Unchecking this fixed it also inte new version of WPO.
Thanks for Your help!
Thank you for the feedback.
Best Regards,
George | Kreatura Dev Team