Linux 软件免费装

WP-LESS

开发者 fabrizim
oncletom
更新时间 2025年5月14日 21:36
捐献地址: 去捐款
PHP版本: 3.2 及以上
WordPress版本: 5.8
版权: Apache-2.0

标签

styles stylesheet toolkit lesscss lessphp

下载

1.0 1.1 1.2 1.3 1.3.1 1.4 1.4.1 1.4.2 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8

详情介绍:

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.

安装:

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

升级注意事项:

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.
  • Add support for ; as argument delimiter
  • Add support for passing arguments by name to mixin
  • Remove old selector expression syntax ("hello")
  • Remove ability to skip arguments by repeating delimiter
  • Add built in functions: sin, cos, tan, asin, acos, atan, pow, pi, mod, sqrt, extract
  • Fix bug where @arguments was not getting values from ...
  • Selector interpolation works inside of brackets in selector
  • Fix bug when resolving mixin that has same name as enclosing class
  • Duplicate properties are now removed from output
== 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.

更新日志:

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