Tagged: LayerSlider
-
AuthorPosts
-
February 17, 2021 at 11:33 pm #1281890
Hi,
as reported by others I also have the problem that LayerSlider is not showing anything.
What I tried so far (which didn’t work)
– deactivate loading JQuery in footer
– install “Enable jQuery Migrate Helper” plugin, set it to older version
– deactivate lazy loadingI do not use any CDN.
Please find details in PC.
Additionally: when will there be an Enfold update? Last one was apparently in October, is it possible that stuff is getting outdated?
Thanks in advance
Patrick
- This topic was modified 3 years, 10 months ago by BierPlus. Reason: I deleted the layerslider from the main page for performance reasons - and because blank looks shitty, but on the subsite mentioned I left it still visible
February 22, 2021 at 12:25 am #1282688Hey BierPlus,
Sorry for the very late reply, it looks like the layerslider is loading before jQuery, I tried many settings except for disabling your plugins, did you try this?
I also note that your theme editor is disabled so I’m unsure if your child theme is causing this, did you try enabling your parent theme?
I also exported your current slide to my localhost with a new install of v4.7.6.4 and it works correctly.
What is the “Raidbox” plugin? It has a “purge cache” dropdown but it doesn’t seem to work.Best regards,
MikeFebruary 22, 2021 at 1:19 am #1282690Hey Mike,
Thanks for your reply.
Regarding Raidboxes: This is my hoster. They also block specific files so one cannot mess up their site. However, the hoster was never the problem so far and there were no significant changes in the past few weeks. The “purge cache” should … well … purge the cache :D but you’d need to refresh with the link. Apparently it only sets the addition to the link, nothing else.I deactivated all plugins (in staging mode) and nothing changed – so it’s not any plugin.
Anyway thanks for the hint with the child theme. This was the main problem.
I added this code to the functions.php – I think for PageSpeed reasons:// Defer Javascripts // Defer jQuery Parsing using the HTML5 defer property if (!(is_admin() )) { function defer_parsing_of_js ( $url ) { if ( FALSE === strpos( $url, '.js' ) ) return $url; if ( strpos( $url, 'jquery.js' ) ) return $url; // return "$url' defer "; return "$url' defer onload='"; } add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 ); }
Do you have any idea why this problem just occured this week and never before? It doesn’t really make sense to me …
Thanks you very much!
Cheers
PatrickFebruary 22, 2021 at 4:47 am #1282719Hi,
It could have been a plugin or other type of update in the chain which could have lead to this being called out now.
Best regards,
Jordan ShannonFebruary 22, 2021 at 11:33 pm #1282933But then again – how would this happen if I turn any plugins off? It seems logical to me that by turning all plugins off there shouldn’t be any problems!?
February 25, 2021 at 1:23 pm #1283648Hi,
Thank you for the update.
The solution or snippet that we provided in the following thread might help.
// https://kriesi.at/support/topic/layer-slider-not-works/#post-1283647
Please add it in the functions.php file, then purge the cache.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.