107 posts
  • Has been a member for 4-5 years
  • Romania
  • Envato Studio (Microlancer) Beta Tester
  • Bought between 10 and 49 items
  • Exclusive Author
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