Plugin Directory

Changeset 503375


Ignore:
Timestamp:
02/10/2012 08:22:16 PM (14 years ago)
Author:
briteweb
Message:

version 1.6

Location:
bw-less-css/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bw-less-css/trunk/bw_less_css.php

    r503326 r503375  
    33Plugin Name: #BW LESS-CSS
    44Plugin URI: http://support.briteweb.com/plugins/bw-less-css/
    5 Version: 1.5.3
     5Version: 1.6
    66Description: Helper plugin to compile and include LESS CSS files.
    77Author: #BRITEWEB
  • bw-less-css/trunk/readme.txt

    r503326 r503375  
    3434function lesscss_include() {
    3535    bw_less_css( 'style.css' );
    36     bw_less_css( 'css/print.css', array( 'media' => 'print', 'minify' => 'true', 'mobile' => 'false' );
     36    bw_less_css( 'css/print.css', array( 'media' => 'print', 'minify' => true, 'mobile' => false, 'force' => false );
    3737}
    3838
     
    4141Files are relative to the theme root, and the less compiler will save the .css to the same path as the .less file.
    4242
    43 If you are using @import to compile multiple stylesheets into a single file, such as Twitter's Bootstrap, turn on developer mode while developing to force the stylesheets to recompile every time the page is loaded. If developer mode is off, imported stylesheets will not be recompiled unless you re-save the main stylesheet.
     43If you are using @import to compile multiple stylesheets into a single file, such as Twitter's Bootstrap, turn on developer mode while developing to force the stylesheets to recompile every time the page is loaded. If developer mode is off, imported stylesheets will not be recompiled unless you re-save the main stylesheet. If manually including less files using bw_less_css(), set 'force' => true argument.
    4444
    4545== Frequently Asked Questions ==
     
    6060
    6161= 1.6 =
    62 * Added
     62* Added option to hide non-mobile stylesheets on mobile devices
     63* Added developer mode to force recompile of less files
    6364
    6465= 1.5.3 =
Note: See TracChangeset for help on using the changeset viewer.