Theme SCSS Compiler
Your theme has a .scss file. Your site needs a .css file. Theme SCSS Compiler does that one conversion, on your server, from Tools → Theme SCSS Compiler. You give it a source and a target, for example assets/scss/style.scss and assets/css/style.css . Save the SCSS, open any admin page, and the CSS i
Your theme has a .scss file. Your site needs a .css file. Theme SCSS Compiler does that one conversion, on your server, from Tools → Theme SCSS Compiler.
You give it a source and a target, for example assets/scss/style.scss and assets/css/style.css . Save the SCSS, open any admin page, and the CSS is rebuilt. No Node.js, no npm install , no Gulp task, no CI step: the Sass compiler (scssphp) ships inside the plugin. SCSS is the Sass syntax that looks like CSS. Every valid CSS file is already valid SCSS, and you get nesting, variables, mixins and @import on top.
It is built for the case that keeps coming up: a theme with one or two stylesheets, hosting where a build pipeline is not going to happen, and someone who wants to change a variable and see the result.
Features
- As many SCSS to CSS pairs as the theme needs. Both paths are relative to the active theme.
- A Frontend or Admin context per pair, enqueued on the matching hook.
- A cache-busting version per pair, applied to the stylesheet URL through the style_loader_src filter.
- Versions move only when that pair’s compiled CSS really came out different.
- Import tracking. Edit a partial and the next admin page load rebuilds.
- Compressed output for production, expanded when you need to read it.
- Auto-compile on missing or stale CSS, so a deploy does not leave the site unstyled.
- An optional recompile timer on the settings page. Off by default.
- Auto-enqueue that steps aside when a stylesheet URL is already registered.
- A Theme CSS status table listing the stylesheets it finds in the active theme.
- Compile button with live feedback and a persistent error panel.
- Compiled CSS is swapped into place atomically, so a visitor is never served a half-written stylesheet.
- A compile lock, so two administrators pressing Compile at the same moment do not build the same CSS twice.