Reply To: How to move the php wp head content to wp_footer

#21594
Daniel Tara
Keymaster

I wish I could help you but you have a poor understanding of how this works. Moving the stylesheet to the footer wouldn’t make any difference since the browser doesn’t display the page before all stylesheets have been parsed. What Google PageSpeed recommends is to add a minimal stylesheet in the head section that renders the fold and load the rest of the styles asynchronously. This is a much too complicated procedure to be discussed here. This article explains the basics of how this is done and you may also find this articlethis article useful.

The only JS that is added to the header is jQuery. It is added by WordPress coreto the head section in order not to break functionality. You could manually move it to the footer but that could break some plugins and core features. my recommendation is to use a plugin like Better WordPress MinifyBetter WordPress Minify.