Theme SCSS Compiler
Compile SCSS to CSS in the WordPress admin. No Node.js, no npm, no build step. Several file pairs, per-file cache busting, rebuild on change.
Mit Vorsicht verwenden
Theme SCSS Compiler works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites and was last updated 3 months ago, and scores 58/100 on our health check.
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (100+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Benötigt PHP 8.1 oder neuer
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Theme SCSS Compiler stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| compiler | #3 |
| css | >100 |
| sass | #23 |
| scss | #4 |
| Thema | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About Theme SCSS Compiler
Aus der offiziellen Readme · V1.0.8Beschreibung
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.
Merkmale
- 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_srcfilter. - 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.
- Configuration from PHP constants instead of the database, for
wp-config.php, a theme, or Bedrock. - Administrators only by default, with a capability filter.
- PHP 8.1+, accessible admin UI, German translation included.
Umfang
The whole plugin works inside one theme, the active one. Both paths of a pair resolve against it, and that is also the write boundary: a path containing .. is refused, and nothing is ever written outside the theme. An @import inside your SCSS can still read a file elsewhere on the server, and output built from one is refused before it reaches disk. With a child theme active, the child is that theme.
That keeps the tool small on purpose. One theme, its stylesheets, nothing else to configure.
Where the compiled CSS goes
Compiling writes into your theme. It writes the CSS target of each pair, plus a short-lived temporary file beside it that is renamed onto the target when the compile finishes, and it creates the directory for the target if it is missing. Nothing else in the theme is touched: sources are only read, and a target that is not a .css file is refused before the write, so a mistyped path cannot land on functions.php.
Commit those CSS files or add them to .gitignore. Both work, because auto-compile rebuilds anything missing.
Privatsphäre
No external HTTP requests, no cookies, no telemetry, no tracking. Everything happens on your server. The plugin bundles scssphp and its dependencies (league/uri, scssphp/source-span, symfony/filesystem, the symfony ctype and mbstring polyfills, and the PSR HTTP interfaces). All are MIT licensed and GPL-compatible, and their source sits in the plugin’s vendor/ directory.
Installation
- Upload the
theme-scss-compilerfolder to/wp-content/plugins/, or install the ZIP through Plugins → Add New. - Activate it.
- Open Tools → Theme SCSS Compiler and set the SCSS source, the CSS target and the context for each pair.
- Click Save settings. Compiling builds the saved configuration, so Compile now stays locked while there are unsaved changes.
- Click Compile now. After that, saving a SCSS file and loading any admin page is enough.
If your theme has no assets/scss/style.scss, replace the default pair in step 3 with your own paths. Auto-compile skips a pair whose source does not exist; Compile now reports the missing source.
Configuration can also live in code. See the FAQ entries on TSCSSCOMPILER_PAIRS.
Änderungsprotokoll
Constants now work one at a time: a lone define() finally takes effect and locks just that setting, so check any you already have. The bundled German translation now loads everywhere. Atomic CSS writes, an accessibility pass, tested with WordPress 7.1.
1.0.8
- Compatibility: tested with WordPress 7.1.
- Changed: every
TSCSSCOMPILER_*constant now works on its own and locks the setting it supplies. Until now all of them exceptTSCSSCOMPILER_PAIRSwere ignored unless that one was defined as well.TSCSSCOMPILER_PAIRSalso switches version bumping off and locks it, because the versions live in the constant. - Changed: a setting that a constant supplies keeps its stored database value when you save.
- Fixed: the bundled German translation now loads on every supported WordPress version, and file sizes follow the site language.
- Fixed: compiled CSS is written beside the target and renamed onto it, so a visitor is never served a half-written stylesheet. The file keeps its permissions, and the compile lock is no longer released by a request that does not hold it.
- Fixed: the “Settings saved” confirmation is no longer shared between administrators — one admin’s message could be shown to, and swallowed by, another. A screen reader now announces it.
- Security: the theme’s own style.css is refused as a CSS target — WordPress reads the theme header from it, and a compile would overwrite it. An array submitted where a path belongs no longer raises a PHP warning.
- Accessibility: a WCAG 2.1 AA pass over the settings page. Labels on file pairs added in the browser, named pair groups, a pause button for the countdown, contrast on borders, focus rings and text, a reflow fix for the stylesheet table, plus forced-colors and right-to-left support.
- Documentation: Description and FAQ rewritten.
1.0.7
- Added: optional auto-recompile timer that runs only on the plugin’s own settings page (Tools → Theme SCSS Compiler) – while that page is open it rebuilds on an interval you set (default 30 seconds), and only when a source actually changed. Off by default.
- Changed: the settings page is reorganised – Auto-compile and Compiler settings each get their own card and Save button, and Compile now sits with the file pairs.
- Changed: Compile now is locked while there are unsaved changes, so it always builds the saved configuration – save first, then compile.
- Fixed: change detection refreshes file timestamps on each run, so an edit is not missed when the host keeps a warm stat cache.
1.0.6
- Added: “Theme CSS status” now lists every stylesheet in the active theme, frontend and admin – each marked as a compiler pair, enqueued, or a theme file.
- Security: compiling an
@importthat resolves outside the active theme is now blocked – the CSS target must be a.cssfile, and server paths are stripped from error messages. - Fixed: lock contention during a concurrent compile is no longer reported as a “last compile error” – the CSS was compiled correctly.
- Fixed: two pairs whose CSS files share a filename in different folders now both enqueue – the per-file version filter also keeps any existing query arguments.
- Fixed: constant-locked config no longer removes rows or reports an unsaved version bump – uninstall now clears options on every site of a multisite network.
- Accessibility: removing a file pair moves focus to a neighbouring control – it no longer drops to the page body.
1.0.5
- Fixed: “Compile now” could trigger a fatal FTP error (“ftp_nlist(): … null given”) on servers where WordPress falls back to the FTP/SSH filesystem without stored credentials. This is common on nginx/php-fpm where the web server user does not own the theme files. The plugin now writes compiled CSS directly, and an unwritable target shows a clear error instead of crashing.
1.0.4
- Fixed: fatal error on PHP 8.1 that stopped the plugin from loading. A bundled library now ships in its PHP 8.1-compatible version.
- Added: a “Settings” link in the plugin’s row on the Plugins screen.
- Fixed: settings-page input fields rendered at uneven heights on WordPress 7.
1.0.3
- Compatibility: tested with WordPress 7.0. No code or behaviour changes.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Theme SCSS Compiler alternatives
All compiler plugins →Fragen und Antworten
Theme SCSS Compiler: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Theme SCSS Compiler free?
Yes. Theme SCSS Compiler is free to download and use from the official WordPress.org plugin directory.
Is Theme SCSS Compiler safe to use in 2026?
Theme SCSS Compiler works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites and was last updated 3 months ago, and scores 58/100 on our health check.
How many websites use Theme SCSS Compiler?
Theme SCSS Compiler is active on 100+ WordPress websites and has been downloaded 1,339 times since it launched in May 2026. It was downloaded 225 times in the last 30 days.
Does Theme SCSS Compiler work with WordPress 7.1?
Yes. The developer has tested Theme SCSS Compiler up to WordPress 7.1.5, the latest release. It requires WordPress 6.3 or newer.
What PHP version does Theme SCSS Compiler need?
Theme SCSS Compiler requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Theme SCSS Compiler last updated?
The latest version, 1.0.8, was released on August 22, 2026 (3 months ago).
Who makes Theme SCSS Compiler?
Theme SCSS Compiler is developed and maintained by Simon Mista.
What are the best alternatives to Theme SCSS Compiler?
The most popular alternatives to Theme SCSS Compiler are Less PHP Compiler (2K+ installs), Lenix scss compiler (700+ installs) and Sass To CSS Compiler (10+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte


