Css to footer
-
The css output from autoptimize is placed in the header…
I’m using GeneratePress which output critical css, but the css from autouptimize is output first..
So how can I output css in the footer..
I have tried:
add_filter(‘autoptimize_filter_css_replacetag’,’te_css_replacetag’,10,1;
function te_css_replacetag($replacetag) {
return array(“</body>”,”before”);
}But it returns a “white page”
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Css to footer’ is closed to new replies.