• I’m attempting to drop this into a pre-existing theme and convert my styles to sass.

    I followed the instructions and am not getting any errors, just no compiling. I’m thinking that it probably doesn’t know to generate the first .css file??

    In my theme directory, I have an empty style.css (except for the commented head), a core.sass and an empty core.css

    In functions.php I have:
    // SASS/SCSS Stylesheet Definition
    function generate_css() {
    if(function_exists(‘wpsass_define_stylesheet’)) {
    wpsass_define_stylesheet(“core.sass”, true);
    }
    }
    add_action( ‘after_setup_theme’, ‘generate_css’ );

    Your help is greatly appreciated, I would love to use sass again!

    https://www.ads-software.com/extend/plugins/wordpress-sass/

  • The topic ‘Nothing compiling’ is closed to new replies.