Scope all css and js
-
We love this plugin, but the fact that all css and js for this plugin is loaded on ALL pages regardless of if this plugin is used on that page is a huge issue for us. Since you also include bootstrap, it overwrites quite a bit of styling on our site and removing your plugin is the only solution. This can be done simply by including this only on posts where the plugin is used and by scoping the css to the plugin elements themselves and not globally.
In fact, after diving deeper into your plugin, I was actually able to comment out every single wp_enqueue_style and wp_enqueue_script from installation.php and the progress bars still worked. This plugin needs some serious refactoring and cleanup, the amount of seemingly needless scripts loaded onto our pages, which heavily affect our google lighthouse scores, is laughable.
The topic ‘Scope all css and js’ is closed to new replies.