133 posts
  • Beta Tester
  • Collector Level 2
  • 5 Years of Membership
  • 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