thom4parisot / wp-less

WordPress plugin which seemlessly compiles, caches and rebuilds your LESS stylesheets.
https://wordpress.org/plugins/wp-less/
88 stars 40 forks source link
lesscss wordpress wordpress-plugin

=== WP-LESS === Contributors: fabrizim,oncletom Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=752034 Tags: dev, theme, themes, toolkit, plugin-toolkit, less, lesscss, lessc, lessphp, productivity, style, stylesheet, api Requires at least: 3.2 Tested up to: 5.8 Stable tag: trunk

Implementation of LESS (Leaner CSS) in order to make themes development easier.

== Description == LESS is a templating language based on top of CSS. It provides numerous enhancements to speed up development and make its maintenance easier.

Theme developers can even bundle the plugin without worrying about conflicts: just include the special bootstrap-for-theme.php and read its instructions.

= Features =

The plugin lets you concentrate on what you need: coding CSS. Everything else is handled automatically, from cache management to user delivery. Seriously.

= Documentation =

Advanced topics on how to use the plugin API are available on the Github project documentation.

= Requirements =

The sole requirement is to use WordPress API and LESS convention: the .less extension.

Minimal Requirements: PHP 5.3 and WordPress 3.2. Relies on: Less.php, plugin-toolkit.

Notice: in case you'd like to drop the usage of this plugin, it's safe to do it. You will just need to convert back your stylesheets to CSS.

== Installation ==

= Automatic =

  1. Search for the plugin name (WP-LESS)
  2. Click on the install button
  3. Activate it

= Manual =

  1. Download the latest stable archive of the plugin
  2. Unzip it in your plugin folder (by default, wp-content/plugins)
  3. Activate it through your WordPress plugins administration page

== Upgrade Notice ==

= 1.6.0 =

Warning: this release has some breaking changes. If you the old selector expression syntax (eg. Bootstrap 2.3) then it’s recommended to use 0.3.9.

== Changelog ==

= Version 1.9.0 =

= Version 1.8.0 =

= Version 1.7.6 =

= Version 1.7.5 =

= Version 1.7.4 =

= Version 1.7.3 =

= Version 1.7.0 =

= Version 1.6.0 =

Read the UPGRADE NOTICE carefully as this release contains BC change. Hence the version bump to 1.6.0.

= Version 1.5.4 =

= Version 1.5.3 =

= Version 1.5.2 =

= Version 1.5.1 =

= Version 1.5 =

Mostly issues related to lessphp 0.3.8 features.

= Version 1.4.3 =

= Version 1.4.2 =

= Version 1.4.1 =

= Version 1.4 =

= Version 1.3.1 =

= Version 1.3 =

= Version 1.2.1 =

= Version 1.2 =

= Version 1.1 =

= Version 1.0 =

== Frequently Asked Questions ==

Lots of efforts have been done to write a consistent documentation to address issues you may encounter.

It covers topics like path customization, declaring LESS variables from PHP, creating new LESS functions etc.

== Upgrade Notice ==

= 1.5 =

Some changes in the API may breaks compatibility with your PHP code dealing with wp-less.

Please open issues and describe your technical problems if the usage is not documented.

= 1.4 =

As lessphp has been upgraded to 0.3.0, its behavior changed a little bit.

Please check your LESS syntax according to the document before applying this update.

== Screenshots ==

  1. Sample of LESS to CSS conversion.