Title: LESS Compiler
Author: WebMaestro.Fr
Published: <strong>2014 年 5 月 11 日</strong>
Last modified: 2014 年 10 月 10 日

---

搜尋外掛

![](https://ps.w.org/less-compiler/assets/banner-772x250.jpg?rev=919739)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/less-compiler/assets/icon-256x256.png?rev=1004214)

# LESS Compiler

 由 [WebMaestro.Fr](https://profiles.wordpress.org/webmaestrofr/) 開發

[下載](https://downloads.wordpress.org/plugin/less-compiler.1.6.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/less-compiler/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/less-compiler/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/less-compiler/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/less-compiler/#developers)

 [技術支援](https://wordpress.org/support/plugin/less-compiler/)

## 外掛說明

Write LESS, edit your variables and compile your stylesheet from your dashboard.

[Read the documentation](http://webmaestro.fr/less-compiler-wordpress/)

 * Register and enqueue your LESS sheets the same way you would do for your CSS.
 *     ```
       `
       ```
   
 * wp_enqueue_style( ‘my-less-handle’, ‘http://example.com/css/mystyle.less’, $deps,
   $ver, $media );
    `
 * Configure the plugin with the `less_configuration` filter.
 * Configuration of the plugin is optional, but you should at least register your
   variables if you are using a CSS framework.
 * Set a LESS variable value
 *     ```
       `
       ```
   
 * less_set( $variable, $value );
    `
 * Get a LESS variable value
 *     ```
       `
       ```
   
 * less_get( $variable );
    `

You will most likely use these functions in your theme’s `functions.php`.

The plugin uses [the Less.php Compiler](http://lessphp.gpeasy.com/).

## 螢幕擷圖

 * [[
 * The ‘Compiler’ page
 * [[
 * The ‘Variables’ page after configuration

## 安裝方式

 1. Upload `less-compiler` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Find the plugin’s pages under the new ‘LESS’ menu

## 常見問題集

  No question asked

No answer to give.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈LESS Compiler〉的開發相關工作。

參與者

 *   [ WebMaestro.Fr ](https://profiles.wordpress.org/webmaestrofr/)

[將〈LESS Compiler〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/less-compiler)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/less-compiler/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/less-compiler/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/less-compiler/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/less-compiler/)。

## 變更記錄

#### 1.6

 * Added search box for variables
 * Use tabs
 * Parse sources only on admin side

#### 1.5

 * Uses filter for config
 * Better use of cache
 * Updated dependencies
 * Cleaner UI

#### 1.3

 * “wp_enqueue_style” support
 * Moved cache directory to wp-content/cache

#### 1.2.2

 * Menu icon and cache warning

#### 1.2

 * Minor fixes (typo, dependences)

## 中繼資料

 *  版本 **1.6**
 *  最後更新 **12 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.9 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.0.38**
 *  語言
 * [English (US)](https://wordpress.org/plugins/less-compiler/)
 * 標籤:
 * [compiler](https://tw.wordpress.org/plugins/tags/compiler/)[less](https://tw.wordpress.org/plugins/tags/less/)
 *  [進階檢視](https://tw.wordpress.org/plugins/less-compiler/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/less-compiler/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/less-compiler/reviews/)

## 參與者

 *   [ WebMaestro.Fr ](https://profiles.wordpress.org/webmaestrofr/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/less-compiler/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://webmaestro.fr/less-compiler-wordpress/)