16 reputation
3
bio website olevik.me
location
age
visits member for 2 years, 3 months
seen Jan 13 '12 at 3:15

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