前言介紹
- 這款 WordPress 外掛「Lessify WordPress」是 2013-11-07 上架。
- 目前有 400 個安裝啟用數。
- 上一次更新是 2025-04-18,距離現在已有 16 天。
- 外掛最低要求 WordPress 4.4 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.4 以上。
- 有 5 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
magnigenie | sagarseth9 |
外掛標籤
less | less wp | wp less | less wordpress | lessify wordpress |
內容簡介
LessCSS
LESS 將 CSS 拓展為具備變數、混合、操作和函數等動態功能的樣式表,本外掛實現了 LessCSS,以為主題開發提供了許多有趣的功能。
使用方法:
只需像通常對待 CSS 檔案一樣引入 LESS 檔案(附有 .less 副檔名),相對應的 CSS 檔案將自動生成並添加到網站上。
重要注意事項:
1. 本外掛基於 Leaf Corcoran 的 lessphp。
2. 本外掛會在「/wp-content/uploads/lessify-cache」產生 CSS 檔案,因此您需要使用此外掛提供的 themeurl 變數定義圖像和任何外部連結,若使用相對 URL,將無法正常運作,因檔案會儲存在不同位置。
3. 為了使用 themeurl 變數以使用圖像,您可以像這樣進行設定:
`
body{ background-image: url(@{themeurl}/images/bg.png); }“`
此外掛還提供另一個名為 lessurl 的變數,提供 Less 檔案所在的 URL。
原文外掛簡介
LessCSS
LESS extends CSS with dynamic behaviour such as variables, mixins, operations and functions.Implements LessCSS in order to provide lots of interesting features for the theme development.
How to use ?
Just enqueue the LESS files (with .less extension) as it is usually done for the CSS ones, and the corresponding CSS files will automatically be generated and added to the site.
Important Notes
1.This plugin is based on lessphp by Leaf Corcoran
2.This plugin generates the css file under “/wp-content/uploads/lessify-cache” and therefore you need to define your images and any external links on you less file using the themeurl variable available with this plugin and if you use relative url then it will not work as we are saving the css file in a different location.
3.In order to use themeurl variable with the images you can do something like this
body{ background-image: url(@{themeurl}/images/bg.png); }
the plugin also comes with
another variable lessurl which provides the url where the less file is present.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Lessify WordPress」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。