css.php for dynamic content?
-
I have a series of background images for the top banner of my blog. I’ve created a file, called css.php that poops out the CSS for the page, and includes a switch statement to swap out the URL for the banner each time the page is loaded.
How do I tell WP to point at the .php file instead of the .css file? Do I need to hard-code it into the template? Do I need to go into the database and tinker with the bloginfo settings? The .php file will return the text/css header – but I have no idea how to point WP to the file.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘css.php for dynamic content?’ is closed to new replies.