Reputation
Top tag
Next privilege 20 Rep.
Talk in chat
Badges
3
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jan
28
awarded  Popular Question
Jul
5
awarded  Teacher
Jul
5
awarded  Student
Jan
13
answered Combining media queries with image sizes
Jan
12
comment Combining media queries with image sizes
I really want to avoid the wp-load method due to the increase in server load (ottopress.com/2010/dont-include-wp-load-please). A temporary solution I've applied is hooking <style></style> into wp_head, but I am hoping for some better solution.
Jan
12
comment Combining media queries with image sizes
Hmmm, having some issues with getting generated data into the file. Basically, I need the php file that generates the CSS to get hold of some variables from functions.php, but how do I pass variables to the file when it is enqueued using wp_enqueue_style?
Jan
12
comment Combining media queries with image sizes
That's a great idea! Few errors in the PHP above (that's an array, not an object), but I made it into a working example, will post result in a few minutes.
Jan
11
asked Combining media queries with image sizes