Wp Less Compile
A lessphp preprocessor plugin for Wordpress
by Julien Zerbib, Sylvain Gogel <sgogel@ecedi.fr> · github.com/ecedi/wp-less-compile · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ecedi/wp-less-compile/archive/refs/heads/devel.zipFrom the readme
Less Compile a plugin to bring less preprocessor to Wordpress
by Agence Ecedi
Installation
prerequis
php 5.4.\ or Up (tested on PHP 5.5.17)
Wordpress 4.01 or more (should work on older versions)
From Github
Go to github Agence Ecedi and download master or latest tag archive
ex: wp-less-compile.master.zip
And extract it to your wp-content/plugins folder and rename the folder less-compile
With Composer
In your composer.json file add the following
then run
Usage
Just enable the plugin, it should do the work:
- Find all enqueued .less files and compile them when needed
- From Admin you can force compilation of active theme .less (beta)
To enqueue a .less file, do as usual for any styles