• Resolved DerRudi2

    (@derrudi2)


    I’ve got an error that jquery was not defined when i used a plugin that combines js and css files and puts them in the header for better page speed.

    Turned out that the remedy was fairly simple to do. In float-to-top-button.php change the lines that enqueue the scripts (around line 33) to not have ‘false’ for dependency but to array(‘jquery’).

    After this my site worked both with and without combining js/css files.

    Hope it helps someone!

    https://www.ads-software.com/plugins/float-to-top-button/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix for combining js with this plugin’ is closed to new replies.