[WordPress] 外掛分享: WP-LESS

前言介紹

  • 這款 WordPress 外掛「WP-LESS」是 2009-08-13 上架。
  • 目前有 10000 個安裝啟用數。
  • 上一次更新是 2024-11-28,距離現在已有 156 天。
  • 外掛最低要求 WordPress 3.2 以上版本才可以安裝。
  • 有 19 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

fabrizim | oncletom |

外掛標籤

dev | theme | themes | toolkit | plugin-toolkit |

內容簡介

LESS 是一種基於 CSS 的樣板語言。它提供了許多增強功能,以加速開發並使維護更容易。

主題開發人員甚至可以捆綁該外掛而不用擔心衝突:只需包含特殊的 bootstrap-for-theme.php 並閱讀其說明。

功能

變數
Mixins(繼承規則)
嵌套規則(少寫,效果多)
Accessors(繼承特定規則的值)
功能(用於動態結果的邏輯操作)

這個外掛讓您集中精力於您需要的工作:編寫 CSS,其他所有事務都會自動處理,從快取管理到用戶交付。
是真的。

文件

有關如何使用該外掛 API 的高級主題,可在 Github 專案文檔中找到。

要求

唯一的要求是使用 WordPress API 和 LESS 慣例:使用 .less 擴展名。

最低要求:PHP 5.3 和 WordPress 3.2。
依賴於:Less.php、plugin-toolkit。

注意:如果您想放棄使用該外掛,這樣做是安全的。您只需將樣式表轉換回 CSS。

原文外掛簡介

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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP-LESS」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.3.1 | 1.4.1 | 1.4.2 | 1.9.2 | 1.9.3 | 1.9.4 | 1.9.5 | 1.9.3-2 | 1.9.3-3 |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon