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

SCSS-4-WP

外掛說明

Use ScssPhp. to compile scss files on your wordpress install into a single lightweight CSS file. There is an included settings page for configuring directories, error reporting, compiling options, and auto enqueuing.

To keep the page load time to a minimum this plugin only runs the compiler when the scss files have been changed. All compiled files create or alter a matching css file in the chosen directory which remains even if this plugin is disabled so that your site never loses its styles and is always ready for user interaction.

螢幕擷圖

安裝方式

  1. Upload plugin to plugins directory
  2. Active plugin through the ‘Plugins’ menu in WordPress
  3. Configure plugin options through settings page Settings -> SCSS-4-WP.

常見問題集

Can I use a child theme?

Yes.

What version of PHP is required?

PHP 5.6 is required to run SCSS-4-WP

How do I @import subfiles

You can import other scss files into parent files and compile them into a single css file. To do this, use @import as normal in your scss file. All imported file names must start with an underscore. Otherwise they will be compiled into their own css file.

When importing in your scss file, you can leave off the underscore.

@import 'subfile';

Can I use .sass syntax with this Plugin?

This plugin will only work with .scss format.

I’m having other issues and need help

If you are having issues with the plugin, contact us at https://fieldofcode.com

使用者評論

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

參與者及開發者

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

參與者

將〈SCSS-4-WP〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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