110 posts
    Has been a beta tester for an Envato feature Has collected 10+ items on Envato Market Has been part of the Envato Community for over 4 years Located in Romania
+1 more
cippo says

Hi guys,

I did some research over the web and I couldn’t find a way to get post / page id in a php file that serves as a dynamic stylesheet.

The current config of the file looks like:

header( 'Content-type: text/css; charset: UTF-8' ); [ ... ] define('WP_EXTERNAL', true); require_once( $base .'wp-load.php' );
by
by
by
by
by
by