[wp-hackers] Dynamic Style Sheets
Guy Leech
guyleech at gmail.com
Sun Apr 29 08:05:53 GMT 2007
Yeah, that's what I'm doing now. I just don't like the look of a stlyesheet
link with a query string on it. But such is life.
Thanks for the help everyone, much appreciated.
- Guy
On 4/29/07, Computer Guru <computerguru at neosmart.net> wrote:
>
> Even better:
>
> <?php
>
> if (is_single()) {
> ....
> echo '<link rel="stylesheet" href="mycss.php?test_pass" />';
> }
> ?>
>
> You know, basically do all your testing in the WP php, then pass
> whatever info you need to the CSS file as arguments at the end.
>
> - --
> Computer Guru
> NeoSmart Technologies
> http://neosmart.net/blog/
>
More information about the wp-hackers
mailing list