Skip to content

@noeltock /functions.php
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
wp-less to style.css
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();
}
@cwulff

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.