BroOf
says
ThemeBlvd said
This is one way to include the wp-load.php file as unisphere said. You’d just do something like this at the top of your style PHP file.<?php //Setup location of WordPress $absolute_path = __FILE__; $path_to_file = explode( 'wp-content', $absolute_path ); $path_to_wp = $path_to_file[0]; //Access WordPress require_once( $path_to_wp.'/wp-load.php' ); //Now continue with any WordPress suff... ?> #your-custom-thing { color: #<?php echo get_option(‘color’); ?>; }
Exactly what I was looking for! Thanks so much!
unisphere
says
ThemeBlvd said
unisphere saidHave at it.
Man those 3 first lines of code are much better than the way I’m doing it, hope you don’t mind I use them, they’re delicious![]()
What are forums for, right?
Thanks man, appreciate it 

What are forums for, right?