Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Theme Styles Issue - using style.php
#5
Doing it like this, as in your original post and how GS backend does it

Code:
<link rel="stylesheet" type="text/css" media="screen" href="<?php get_theme_url(); ?>/style.php">

renders the stylesheet and uses the variables internally and will not be available to other scripts.

So you have a choice of doing it the way GS does it and render the stylesheet with your variables.
Then you could read in the file again in your template to retrieve the variables for your theme.

or

Do it this way and have your stylesheet inline but your variables available to the template/theme.

Hope it helps...
Mike.
My Github Repos: Github
Website: DigiMute
Reply


Messages In This Thread
Custom Theme Styles Issue - using style.php - by n00dles101 - 2012-01-26, 20:51:49



Users browsing this thread: 1 Guest(s)