wp_enqueue_style adding stylesheet to footer
-
Any way around this ? I want to enqueue a stylesheet in my theme BELOW the main mass of stylesheets output by wp_head(). So I register it, and then in the head of the template file put wp_enqueue_style where I want the stylesheet to appear, but it’s output in the footer.
As this is a theme and has to go through theme approval I have no choice but to use wp_enqueue_style but basically (whisper it) it doesn’t work.
Or at least not how I want it to – it works in a limited way.
Am I allowed to use wp_enqueue_script instead? Haven’t tried it but that MIGHT work, though I’ve read elsewhere that there’s exactly the same problem.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘wp_enqueue_style adding stylesheet to footer’ is closed to new replies.