How to output wp_enqueue_style() in HTML head instead of footer
Question
I added some actions to wp_enqueue_scripts to load my custom css and js files in the header section by using wp_head(); right before the closing </head> tag.
function mytheme_scripts(){
// Load our main stylesheet
wp_enqueue_sty
0
theme-development, wp-enqueue-style, wp-head
3 years
0 Answers
52 views