Support » Plugin: WP-LESS » feature request about compilation

  • Don’t know about rest of the users, but I would find it very useful it there would be admin panel with a button to force compile all themes or possibility to select which less files to recompile.

    I added this kind of button to my theme admin page, but it would be more useful as plugin-related admin page. What do you think?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I agree with @banesto, it would be good if we can have backend where we can pass / configure *.less files path (input,output), file names (input,output)?

    Plugin Author oncletom



    yes it would be great. I’m lacking of time until the end of May to work on that.
    Anyway, you can still contribute a pull-request to add this feature, even if it’s “just” a button to clear the whole cache — and especially as you already coded such a feature for your own needs 🙂


    I will be happy to contribute myself (I am able to build a simple plugin for my needs, and I call it on frontend via ajax call, and in that call I invoke filter hook, and in my parent and child theme I pass my less files (there uri and path) to this filter, and then run a loop on each file and compile it), but I am not sure if I will be able to merge it into your plugin, as I tried to extend your classes and I end up spending at least 3 hours but no being able to make it work, anyway, I can share my plugin wit you if you like and you can see the idea and guide me how I can merge it into your plugin as a backend option (or frontend for development purposes only), and I lack github pullrequests knowledge, I have tried it on several occasions and failed :(, still trying to learn how I can send my own pull requests to original repo of project (not my fork) :(.

    Let me know what you think and if interested in reviewing my plugin and if you like the idea then I would be happy to contribute to your project.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘feature request about compilation’ is closed to new replies.