Exclude from JavaScript Combination feature possible Bug

[ad_1]

Hello @ivicad,

You can exclude the external sources from the combination using the following filter:

add_filter( 'sgo_javascript_combine_excluded_external_paths', 'js_combine_exclude_external_script' );
function js_combine_exclude_external_script( $exclude_list ) {
    $exclude_list[] = 'https://platform.illow.io';

    return $exclude_list;
}

This way all scripts loaded from this domain will be excluded from the combination.

I  suggest you apply the code into the theme functions.php file, clear the cache of the website and verify the results on your end.

Best Regards,
Elena

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer