1. Justin Kopepasah

    Thanks for the plug! Also, imagining you typing my name and thinking “How the hell do you pronounce that?” made me chuckle. :D


  2. Anh Tran

    FYI, this is another plugin (hosted on Github only) which auto parse .less file into .css without worrying anything https://github.com/sanchothefat/wp-less. Just install and enqueue .less file just like normal .css.

    I’ve been using it in my projects and feel it’s much easier to work with than the plugin introduced in this post.


  3. rudwolfblack

    Sorry but, I still a bit confused about this, does it processes LESS styles automatically? So it transforms into CSS live? Does it compiles my CSS and then enqueues it on wordpress each time someone loads any page on my site? I don’t get it… help? Someone? (I guess its a noob question but please help me out here =/ )


    • Justin Kopepasah

      The plugin itself does not compile the style.less file automatically into style.css file. Compiling is safest using the command line (whether with a compiler or manually), otherwise problems may occur (depending on the version of Less used). For example, if I am were to use version 1.7.0 of Less.js and tried to compile these with a non-compatible version of LessPHP, some features may not exist and the compile will fail. I personally ran into this problem (quite a while ago) and found that the safest route is to compile Less.js from the command line, when I am ready for production.

      This plugin is made primarily for development, as it will not push the styles live until they are converted using the command line (e.g. when you are ready). The plugin enqueues the necessary JavaScript to convert the style.less file into styles within the browser.

      I use nearly all the features of Less.js (some of which do not exist in LessPHP) and this is why I prefer Less.js over LessPHP (also why I don’t use plugins like the one mentioned above).

      This plugin enables theme developers to develop with Less.js, then convert into CSS for production when ready.


Comments are closed.

%d bloggers like this: