Title: SCSS-4-WP
Author: fieldofcode
Published: <strong>2022 年 12 月 15 日</strong>
Last modified: 2023 年 1 月 7 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/scss-4-wp.svg)

# SCSS-4-WP

 作者：[fieldofcode](https://profiles.wordpress.org/fieldofcode/)

[下载](https://downloads.wordpress.org/plugin/scss-4-wp.zip)

 * [详情](https://cn.wordpress.org/plugins/scss-4-wp/#description)
 * [评价](https://cn.wordpress.org/plugins/scss-4-wp/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/scss-4-wp/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/scss-4-wp/#developers)

 [支持](https://wordpress.org/support/plugin/scss-4-wp/)

## 描述

Use [ScssPhp](https://github.com/scssphp/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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ fieldofcode ](https://profiles.wordpress.org/fieldofcode/)

[帮助将「SCSS-4-WP」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/scss-4-wp)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/scss-4-wp/)，查看[SVN仓库](https://plugins.svn.wordpress.org/scss-4-wp/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/scss-4-wp/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/scss-4-wp/)。

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**3 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/scss-4-wp/)
 * 标签
 * [css](https://cn.wordpress.org/plugins/tags/css/)[sass](https://cn.wordpress.org/plugins/tags/sass/)
   [scss](https://cn.wordpress.org/plugins/tags/scss/)[ScssPhp](https://cn.wordpress.org/plugins/tags/scssphp/)
 *  [高级视图](https://cn.wordpress.org/plugins/scss-4-wp/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/scss-4-wp/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/scss-4-wp/reviews/)

## 贡献者

 *   [ fieldofcode ](https://profiles.wordpress.org/fieldofcode/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/scss-4-wp/)