I am including a particular PHP file as a style sheet using
<link href="<? echo THEME_CSS;?>/styles.php" media="screen" rel="stylesheet" type="text/css">
Recently I reached the point where I needed to use TEMPLATEPATH and various built-in WordPress functions. Alas I am getting
"Warning: require_once(TEMPLATEPATH/framework/theme.php) [function.require-once]: " and similar errors indicating that this file is not taking advantage of the WordPress environment in general.
If WordPress was even working correctly here,
TEMPLATEPATH should be the actual template path. In addition, other functions such as
get_bloginfo(), etc.. are not found.
Is there someway I can initialize WordPress explicitly to let me pull options from the admin panels?