brendanu
Forum Replies Created
-
Hi Sajjad
I changed the enqueue setup to direct
wp_enqueue_styleinstead ofwp_register_stylethenwp_enqueue_stylebut still having problem.// Enqueue the styles directly
wp_enqueue_style('googlefonts', 'https://fonts.googleapis.com/css?family=Open+Sans:ital,wght@0,300;0,600;1,300;1,600', array(), 'v1.0.0');
wp_enqueue_style('normalize', get_template_directory_uri() . '/assets/css/normalize.min.css', array(), 'v8.0.0');
wp_enqueue_style('main', get_template_directory_uri() . '/assets/css/src/main.scss', array('normalize'), '1.0');Here’s the settings:

Still no errors showing up in logs, and the old SCSS-Library plugin still works.
Perplexing.
Hi Sajjad, yes I have. Matched the same settings I have running locally where the plugin is working with exactly the same setup – obviously with different hosting (MAMP Pro locally, WordPress.com in production).
Sorry if my last message was misunderstood. I installed v2.0.6, but there was no change – the SCSS file configured in the settings still isn’t being processed. My local version continues to work however.
With the updated version, I’m no longer seeing an error in the WordPress.com hosting logs for PHP, just the plugin is still not working as expected.
Note this is how I’m setting the enqueued styles:
// Set stylesheets
wp_register_style('googlefonts', 'https://fonts.googleapis.com/css?family=Open+Sans:ital,wght@0,300;0,600;1,300;1,600', array(), 'v1.0.0');
wp_register_style('normalize', get_template_directory_uri() . '/assets/css/normalize.min.css', array(), 'v8.0.0');
wp_register_style('main', get_template_directory_uri() . '/assets/css/src/main.scss', array('normalize'), '1.0');
// Enqueue the stype
wp_enqueue_style('googlefonts');
wp_enqueue_style('normalize');
wp_enqueue_style('main');Hi Sajjad, unfortunately there was no difference…except I’m not seeing the log error anymore. No errors logged for the plugin now though 🙁
Strangely looking at your repo I only see that the readme.txt was updated in the latest release – am I reading that correctly.
Many thanks, we’re attempting to move from “SCSS-Library”, given its security problems, to your plugin.