=== Happy SCSS Compiler - Compile SCSS to CSS & Automatic Enqueue === Contributors: Happy Monkey Donate link: https://mkey.fr Tags: css, scss, sass Requires at least: 4.0 Tested up to: 5.8 Stable tag: 1.0.2 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Compile your SCSS code to CSS files and enqueue them automatically. Choose when and how to compile. == Description == = AUTOMATICALLY COMPILE YOUR SCSS FILES TO CSS FILES = Compile easily your SCSS code to CSS automatically, directly on your server and without installing SASS. You choose when and how to compile. SCSS is a CSS preprocessor language that adds many features like variables, mixins, imports, nesting, color manipulation, functions, and control directives. All theses features are supported in the plugin. = HOW IT WORKS = In the plugin settings page, you can choose the folder which will contain all of your SCSS files, and the folder which will contain generated CSS files. But as everyone has not the same needs, you will be able to set some useful options. = ENQUEUE CSS FILES AUTOMATICALLY = This option let you ask the plugin to automatically include your generated CSS files in your header, thus you won't have to enqueue these files manually. = COMPILATION OPTIONS = Choose when you want the plugin to generate the CSS files: * Always: if you are in development * When SCSS has changed: if you just want to compile if you have edited one of your SCSS files * If logged in: if you want only logged in users to trigger the compilation * If admin logged in: if you want only logged in administrators to trigger the compilation Also, you can choose to generate source map files with your CSS files to better visualize your generated code while debugging. Exemple: main.css will generate the source map main.css.map. = MINIFICATION OPTIONS = Your generated CSS code can be fully, partially or not minified according to your needs. Here are the minification modes available: * Compact * Compressed * Crunched * Debug * Expanded * Nested * OutputBlock = ERRORS DISPLAYING OPTIONS = While errors will always be displayed in your BO to let you debug, choose how to display compiling errors in front office: * Always * If the WP_DEBUG constant of your WordPress installation is true (in wp_options.php) * If Logged In: if you want only logged in users to see compilation errors * If Admin Logged In: if you want only logged in administrators to see compilation errors * Never == Installation == This section describes how to install the plugin and get it working. 1. Install HAPPY SCSS Compiler either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on [how to install a WordPress plugin](https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/)) 2. Activate HAPPY SCSS Compiler from Plugins page. 3. If it is not done yet, create two folders in your (child) active theme: one for your SCSS files, one for the generated CSS files. 3. Navigate to your administration sidebar in Settings > WP SCSS and set the path of the two folders. 4. Eventually set other options. And enjoy! == Frequently Asked Questions == == Screenshots == 1. HAPPY SCSS Compiler main settings page == Changelog == = 1.0.2 = Fix empty paths Fix empty cookie constants for safer pluggable.php include = 1.0.1 = Fix quotes compilation in PHP class = 1.0.0 = First stable version of the plugin.