Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14052

cluster666 on "[Plugin: Autoptimize] custom layout HTML"

$
0
0

Hello Frank,
I was able to move the javascript below wp_head(), by changing the plugin add_action from wp_enqueue_scripts to wp_head so the nonce function is still working ...
I tried to place the autoptimze inline css from above <title> infront of </head> but without success ...
added to function.php

function my_ao_override_css_replacetag($replacetag) {
return array("</head>","before");
}

Ralph


Viewing all articles
Browse latest Browse all 14052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>