• Resolved Leah

    (@edikitt)


    Hello,

    I’m loving the simplicity and effectiveness of this plugin so far, but I’ve noticed that when I try to minify JavaScript, even when I’ve added my jQuery scripts to the ignore list, they’re still being loaded in the footer. I need my jQuery to load in the header before any other script.

    Is there a way that I can achieve this with this plugin?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi,

    There should be no need to exclude jquery, but if you’re doing it and it’s being shown in the footer… that means that probably your jquery was in the footer from the start.

    Perhaps another plugin or theme, is loading a duplicate jquery file on the footer.

    By default, jquery should be the first one but my plugin will keep the order of the queue as it is, therefore there’s no way that by excluding jquery, our plugin would put it on the footer.

    Please disable our plugin and inspect the site source code to check that indeed, there’s not a duplicate jquery on the footer, or that your jquery itself is not being loaded in the footer by some other plugin or theme option.

    If it’s not, kindly provide me with the url so I can take a look.

    • This reply was modified 8 years, 1 month ago by Raul P..
    Thread Starter Leah

    (@edikitt)

    Hi Paul, thanks for the quick reply.

    It appears to be a conflict with another plugin that I had installed, Scripts to Footer. There’s a setting in that plugin to keep jQuery in the header, which I had enabled, but if I have both plugins active at the same time, it moves jQuery to the footer.

    ˉ\_(ツ)_/ˉ

    I’ve disabled that plugin as it’s no longer necessary and now everything is where it needs to be.

    Thanks again!

    Plugin Author Raul P.

    (@alignak)

    great to know it’s fixed, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘jQuery moved to footer even when added to ignore list’ is closed to new replies.