I have a dynamic css file that pulls information from the database e.g
header("Content-type: text/css");
require_once('../../../../wp-load.php');
if ( get_option(PREFIX."_theme_base_color") <> "" ){
$default_theme_colour = html_entity_decode(get_option(PREFIX."_theme_base_color"),ENT_QUOTES, "UTF-8");
} else {
$default_theme_colour = 'a3f088';
};
but I really hate using require_once('../../../../wp-load.php'); and there has to be a better way to loat "wp-load" into the file.