WordPress.org

Forums

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

  1. dancriel
    Member
    Posted 2 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?

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

  2. dancriel
    Member
    Posted 2 years ago #

    Found the answer in the Plugin FAQ

  3. Spencer Hill
    Member
    Posted 1 year ago #

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

  4. yakusa47
    Member
    Posted 1 year ago #

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

    Replace yoursite.com with your real site, after login:
    http://yoursite.com/wp-admin/admin.php?page=w3tc_faq#q41
    http://yoursite.com/wp-admin/admin.php?page=w3tc_faq#q42

  5. Spencer Hill
    Member
    Posted 1 year 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

Tags

No tags yet.