Changeset 503375
- Timestamp:
- 02/10/2012 08:22:16 PM (14 years ago)
- Location:
- bw-less-css/trunk
- Files:
-
- 2 edited
-
bw_less_css.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bw-less-css/trunk/bw_less_css.php
r503326 r503375 3 3 Plugin Name: #BW LESS-CSS 4 4 Plugin URI: http://support.briteweb.com/plugins/bw-less-css/ 5 Version: 1. 5.35 Version: 1.6 6 6 Description: Helper plugin to compile and include LESS CSS files. 7 7 Author: #BRITEWEB -
bw-less-css/trunk/readme.txt
r503326 r503375 34 34 function lesscss_include() { 35 35 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 ); 37 37 } 38 38 … … 41 41 Files are relative to the theme root, and the less compiler will save the .css to the same path as the .less file. 42 42 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. 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. If manually including less files using bw_less_css(), set 'force' => true argument. 44 44 45 45 == Frequently Asked Questions == … … 60 60 61 61 = 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 63 64 64 65 = 1.5.3 =
Note: See TracChangeset
for help on using the changeset viewer.