• Hello has anyone got any ideas for this problem.

    I am adding a number of JS files to my theme below wp_enqueue_script in my themes header. I wanted to use W3 Total Cache to minify these scripts to improve page load times. I can get everything set up fine and the scripts minifed and loading on the page but I can’t seem to get the following options to work.

    Combine only after <head>
    Combine only after <body>
    Combine only before </body>

    No matter which option I choose the minified scripts are being placed right at the top of the page inside <head>. This is loading all my scripts before the enqueued scripts which is causing all of my JS functions to break.

    Is there a solution to the following options not working in, e.g can I somehow (using a template tag or something) tell W3 Total Cache where to place the minified scripts in my header?

    Combine only after <head>
    Combine only after <body>
    Combine only before </body>

    Thanks

    Andy

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter atelierstudios

    (@atelierstudios)

    Anyone got any ideas on this… would be good to start using minified scripts on my theme?

    Frederick Townes

    (@fredericktownes)

    Try a later release of the plugin which has an auto mode to help simplify the process. Otherwise you have to make sure that your settings contain all of the files and in the proper order for each template.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: W3 Total Cache] Minified Script Position In ,head>’ is closed to new replies.