跳到内容

WP-LESS

v1.9.8

thom4 · 2009年8月14日 上架

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

正在使用
1 万+
评分
4.6 / 5
累计下载
24 万
最近更新
2025年5月14日
19 条评价需要 WordPress 3.2+已测试到 5.8.20

贡献者

截图

Sample of LESS to CSS conversion.
Sample of LESS to CSS conversion.

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.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums