
Hi M,
The way you are dequeuing UIkit is correct, but the way you are adding your need LESS file isn't π In your snippet, you are trying to add a fragment to the uikit
compiler, but since you removed it nothing is happening.
Instead, you should create your one compiler as such:
add_action( 'wp_enqueue_scripts', 'example_enqueue' );
/**
* Example enqueue.
*/
function example_enqueue() {
beans_compile_less_fragments( 'example', array(
get_stylesheet_directory_uri() . '/style.less',
// More files if needed...
) );
}
This will create a new compiled file with the ID example
. If you then need to add fragments (files) to the compiler in a specific page for example, you may use the same script as your posted but with example
handle instead of uikit
.
I hope that makes sense, you will find more information in the Compiler API documentation.
Happy coding,

Hi Thierry.
Thanks to your support, this problem has been solved. π