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

Lesser

外掛說明

Lesser helps you manage custom CSS for your site using LESS. Lesser is compatible with all WordPress caching because Lesser uses WordPress’s built-in script management features to output the final CSS.

Lesser keeps your custom styling out of your themes and plugins. That means theme and plugin updates and changes won’t overwrite your LESS. You can even switch themes and add/remove plugins without fear of losing the custom responsive CSS styling you worked so hard to debug on all the mobile device formats.

Benefits:

  • Independent of any WordPress theme or plugin
  • Switch themes without losing custom styling
  • Add/Remove plugins without losing custom styling
  • Efficiently organize CSS
  • Ideal for managing responsive design customizations

Features:

  • Use LESS instead of CSS
  • Edit directly from your admin
  • Compatible with popular WordPress caching extensions
  • Easily migrate your changes using popular plugins like WP Clone
  • Fast – Lesser compiles your LESS once and saves the result for super-fast load times

Lesser Pro adds the following features:

  • Separate editors for both admin and public CSS changes, as well as changes common to both
  • Minification – speed up your production site with compact files
  • Test mode – expanded CSS output and cache-busting for easy development even through caching proxies

螢幕擷圖

安裝方式

To install Lesser:

  1. Go to your WordPress admin and choose Plugins > Add New.
  2. Search for lesser and install.
  3. Activate the plugin
  4. Go to Settings > Lesser to add your LESS code

常見問題集

What is LESS?

LESS is a more efficient type of CSS language to use for customizing your themes and plugins. LESS has a lot of advanced features, but the biggest gain is that LESS allows you to nest CSS constructs so your CSS is more efficient and readable.

How does Lesser inject CSS?

Lesser uses WordPress’s built-in script management functions. Lesser Pro includes cache-busting techniques for development mode and cache-preserving minified output for production mode.

Does it work with the WordPress admin too?

Yes, you can include admin stylings too if you desire. However, Lesser PRO makes this a lot easier by providing 3 separate LESS inputs: public, admin, and common.

I’m hardcore, I want manage my own LESS files

Me too. Your only LESS statement in the WordPress admin should be:

@import url(/url/to/less/files) 

Can I do a custom version of Bootstrap using Lesser?

Yes. It looks like this:

@import url(/path/to/bootstrap.less) 

Are you available for customizations or custom WordPress programming?

Yes, developing custom WordPress applications is my full-time occupation and has been for the last 15 years. Please contact ben at benallfree.com

使用者評論

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

參與者及開發者

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

參與者

將〈Lesser〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial version