跳到内容

Less Theme Support

v1.0.2

Justin Kopepasah · 2014年4月20日 上架

Enables support feature for using Less in a theme.

正在使用
10+
评分
暂无
累计下载
2,649
最近更新
2014年4月20日
需要 WordPress 3.4+已测试到 3.9.40

Using Less when developing a theme can both enhance the code and speed development. However, setting up Less in a every theme (not to mention updating Less for each theme) can make any saved time saved.

This plugin solves that issue by setting up Less for the theme.

Usage

  1. Add style.less at the root of the theme.
  2. Add the following to the after_setup_theme hook.

    add_theme_support( 'less', array(
            'enable' => true
        ) );
    

For more information on advanced usage, other options or to join development, visit the Github repo.

Plums

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

导航

说明

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

© 2026 Plums