Roots Discourse

Soil not showing improvements

Hi all,

I recently bought Soil and activated the plugin.

I also checked setup.php and the following rules are already defined:

add_theme_support('soil-clean-up');
add_theme_support('soil-jquery-cdn');
add_theme_support('soil-nav-walker');
add_theme_support('soil-nice-search');
add_theme_support('soil-relative-urls');

But I don’t see any improvements. For example Jquery CDN is not placed on the website.
When I run Google audits you can see it still uses old Jquery.

This is the website: digitaalvoorallemaal.nl

Help is appreciated!

I’m seeing all the features except for the jQuery CDN one activated on the site you screenshotted

Regarding jQuery — you might be having a conflict with another plugin

I see that all the features are indeed working except for the jQuery CDN.
I installed a fresh Sage website with Local By Flywheel and only activated the Soil plugin.

But still same error on Google Audits. I fixed it with a workaround:

if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11);
function my_jquery_enqueue() {
wp_deregister_script('jquery');
wp_register_script('jquery', "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js", false, null);
wp_enqueue_script('jquery'); }

Anyways, thanks for the reply!

This topic was automatically closed after 42 days. New replies are no longer allowed.