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
thom4
(@oncletom)
Hello,
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 🙂
> https://github.com/oncletom/wp-less
Hi,
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.