Day: December 2, 2010

code example

text1 text2 <?php // 1. Load the library (skip this if you are loading the library as a plugin) require_once ‘wp-dynamic-css/bootstrap.php’; // 2. Enqueue the stylesheet (using an absolute path, not a URL) wp_dynamic_css_enqueue( ‘my_dynamic_style’, ‘path/to/my-style.css’ ); // 3. Set the callback function (used to convert variables to actual values) function my_dynamic_css_callback( $var_name ) {…

Read the full article