Dynamic CSS File in WordPress

I’ve created a theme options panel which works fine. My issue is that I can’t use get_option() within in a css file.

I’m loading this into the head

Read More
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/lib/display/dynamic-css.php" />

i’ve set header('Content-type: text/css'); to the dynamic-css.php file but there is know what to use the options set.

Anyone have a solution.

Thanks

Related posts

Leave a Reply

1 comment