Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package xxxxx
- * @author xxxxx
- * @link xxxxx
- */
- header( 'Content-type: text/css;' );
- $url = dirname( __FILE__ );
- $strpos = strpos( $url, 'wp-content' );
- $base = substr( $url, 0, $strpos );
- require_once( $base .'wp-load.php' );
- ?>
- /*Example of the CSS/PHP that follows:*/
- #some_element {
- background-color: <?php some_function( 'some_element', '#000119' ) ?>;
- }
Advertisement
Add Comment
Please, Sign In to add comment