WordPress.org

Ready to get started?Download WordPress

Forums

WP-LESS
feature request about compilation (4 posts)

  1. banesto
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/wp-less/

  2. saas
    Member
    Posted 1 year ago #

    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)?

  3. oncletom
    Member
    Plugin Author

    Posted 1 year ago #

    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

  4. saas
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.