[WordPress] 外掛分享: Lessify WordPress

首頁外掛目錄 › Lessify WordPress
WordPress 外掛 Lessify WordPress 的封面圖片
300+
安裝啟用
★★★★
4.6/5 分(5 則評價)
11 天前
最後更新
問題解決
WordPress 4.4+ PHP 5.4+ v1.2 上架:2013-11-07

內容簡介

Lessify WordPress 外掛讓開發者能夠在 WordPress 中使用 LessCSS,透過動態行為如變數、混合、運算和函數,提升佈景主題的開發效率與靈活性。

【主要功能】
• 支援 LessCSS 語法擴展
• 自動生成對應的 CSS 檔案
• 提供 themeurl 和 lessurl 變數

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Lessify WordPress」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

文章
Filter
Mastodon