• Resolved pamtbaau

    (@pamtbaau)


    For performance reasons it is advised to defer loading jscripts to the footer of the page (if possible). However, when jQuery is loaded in the footer of the page, Easing Slider doesn’t work anymore because its scripts are loaded in the header and require jQuery to be loaded.

    This can easily be fixed (on my site at least https://www.trouwautopurmerend.nl) in easingsliderlite.php by changing lines 933 and 934 by adding true as last parameter to wp_register_script. This will defer the loading of the scripts to the footer.

    Suggestions:
    – If possible, defer loading of the scripts to the footer by default
    – If not possible to load the scripts at the footer, at least update the FAQ topic “My slider continually loads. What’s wrong?” and explain that jquery must currently be loading in the header.

    https://www.ads-software.com/plugins/easing-slider/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MatthewRuddy

    (@matthewruddy)

    Hi @pamtbaau, there is an option for this in the “Settings” Easing Slider admin panel.

    We load it in the header by default for compatibility reasons. The earlier it’s loaded, the less chance it will fail due to errors loaded thereafter by other plugins.

    Loading it in the footer is ideal and faster, but more prone to fail if a jQuery error has already occurred before the slideshow loads. This is extremely common as the quality of WordPress plugins can vary greatly!

    Regardless, there is an option for it ??

    Thread Starter pamtbaau

    (@pamtbaau)

    Hi @matthewruddy, the setting is an oversight on my part.
    Thanks for your swift response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not loading when jQuery loaded in footer’ is closed to new replies.