Filterable gallery buttons not working with caching plugin
-
We are hosted on SiteGround and when using their caching plugin with the “Defer Render-blocking JavaScript” feature enabled the filterable gallery filter buttons don’t work at all. Buttons work fine when this feature is turned off. We’ve used this filterable gallery for about 1.5 years mostly without issue. This began happening sometime between July and November when we updated all plugins. You can see this on our staging site at the given URL.
The buttons are elements of the Essential Addons for Elementor plugin based on my inspection with Developer Tools in Chrome. I did find a few files with references to the classes, styles and widgets found in the code for the buttons, however I couldn’t find which are the exact scripts to exclude to resolve this issue. Can you list the scripts so that I can manually exclude them via functions.php with the following filter?
add_filter( 'sgo_js_async_exclude', 'js_async_exclude' ); function js_async_exclude( $exclude_list ) { $exclude_list[] = 'script-handle'; $exclude_list[] = 'script-handle-2'; return $exclude_list; }
The page I need help with: [log in to see the link]
- The topic ‘Filterable gallery buttons not working with caching plugin’ is closed to new replies.