Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

wp-less to style.css

View functions.php
1 2 3 4 5 6 7 8 9 10
add_filter( 'wp_less_cache_path', 'my_less_cache_path' );
add_filter( 'wp_less_cache_url', 'my_less_cache_url' )
function my_less_cache_path( $path ) {
return get_stylesheet_directory();
}
function my_less_cache_url( $url ) {
return get_stylesheet_directory_uri();
}

Missing a semi-colon on the second add_filter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.