plugin-icon

WP-LESS

作者:thom4·
Implementation of LESS (Leaner CSS) in order to make themes development easier.
评级
4.6/5
版本
1.9.8
活跃安装
10K
最后更新
May 14, 2025

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

  • Variables
  • Mixins (inheritance of rules)
  • Nested Rules (write less, do more)
  • Accessors (inherit a value from a specific rule)
  • Functions (logic operations for dynamic results)

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

文档

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.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.8.12
这个插件是可用的下载,适用于您的站点。