W3 Total Cache
[resolved] Controlling where minify CSS is inserted in the head? (5 posts)

  1. dancriel
    Posted 3 years ago #

    W3TC currently inserts my CDN-hosted, minified & combined CSS file immediately after the <head> tag in my HTML.

    I would like to be able to control what the very first element is in the <head> of the document, is it possible to hook in before W3TC inserts this CSS link? If there is a filter being exposed I could use it to prepend my code before W3TC's CSS link...

    Or can I tell W3TC to put the CSS where the wp_head() call is, further down in the <head> block? Anyone know how to do this?


  2. dancriel
    Posted 3 years ago #

    Found the answer in the Plugin FAQ

  3. Spencer Hill
    Posted 2 years ago #

    Can you post the link here (with the anchor)? I looked through their FAQ and don't see anything.

  4. yakusa47
    Posted 2 years ago #

    The link is in your W3 Total Cache Instalation, Especially FAQ#41 & #42

    Replace yoursite.com with your real site, after login:

  5. Spencer Hill
    Posted 2 years ago #

    Thanks for taking the time to reply yakusa, however those links don't seem relevant to what dancriel was referring to. I was expecting information about a Filter not a re-iteration of the fact that JS can be minified and moved around.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.