Skip to content

@WebMaestroFr WebMaestroFr released this Oct 7, 2014 · 9 commits to master since this release

  • Added a search box to filter variables
Assets 3
Oct 4, 2014


Updated readme files

@WebMaestroFr WebMaestroFr released this Oct 4, 2014 · 16 commits to master since this release

  • Uses filter for config
  • Better use of cache
  • Updated dependencies
  • Cleaner UI
Assets 3

@WebMaestroFr WebMaestroFr released this Jul 6, 2014 · 26 commits to master since this release

  • "wp_enqueue_style" support
  • Moved cache directory to wp-content/cache
Assets 3

@WebMaestroFr WebMaestroFr released this May 9, 2014 · 48 commits to master since this release

A LESS compiler for WordPress ! This is a plugin that will allow you to write and compile LESS, and to edit style variables straight into your WordPress dashboard.

It uses leafo's LESS compiler written in PHP.


  1. Download and unzip the last release
  2. Move it into your wp-content/plugins directory
  3. Activate the plugin in WordPress


The plugin comes with few useful functions. You will most likely use these in your theme's functions.php.

  • Import any LESS files to compile prior to the main stylesheet.

    less_import( $files_array );
  • To edit variables from the WordPress dashboard, you will have to define the absolute path to your variables definition file(s).

    register_less_variables( $source );
  • Set a LESS variable value

    less_set( $variable, $value );
  • Get a LESS variable value

    less_get( $variable );
  • Define path to the CSS file to compile (relative to your theme's directory).

    less_output( $stylesheet );

    The default output is : wm-less-[BLOG-ID].css.

    Do not set your theme's style.css as output ! You silly.


Contributors are more than welcome !


WTFPL – Do What the Fuck You Want to Public License

Assets 3
You can’t perform that action at this time.