Beschrijving
If your WordPress site is overloaded with an excessive amount of styles and scripts,
and you’re aware that those elements are redundant, this plugin is for you.
Just decide which styles and scripts you want to remove, disable them in the plugin settings and enjoy!
Besides, after removing redundant styles and scripts, you can specify the critical CSS.
Easy Scripts Optimizer will automatically defer all the style elements, making your site loading really fast!
Schermafdrukken
FAQ
-
How can I find the script or style ID?
-
- Go to the home page.
- Right mouse click -> View page source.
- Find the CSS you want to remove.
- Get the value of the id and paste it into the plugin settings
Example:In this case ID is “contact-form-7-css”.
Side note: ‘-css’ is added by WordPress, so the real style ID (the ID that used for style enqueue) is ‘contact-form-7’.
You can provide both short and long form.
-
Is it safe to remove style or script?
-
First of all, this plugin doesn’t physically remove any files. It just dynamically unregisters them from the WordPress queue.
So it’s safe to add/remove script IDs and experiment with them.
But please be careful – removing styles can break some visual parts of your site, and removing scripts can break some functionality.
The best approach is to try it first on development or staging site. -
I saved settings but styles were not removed
-
Do you use any cache plugins? Please try to clear the cache.
If you use services like Cloudflare, it may take some time to see the changes to be showed.
Try to add some GET parameter to your page and check if you see changes after that.
Example:
Your site is https://mysite.com, – go to https://mysite.com/?v=2 and check the page source.
Beoordelingen
Bijdragers & ontwikkelaars
“Easy Speed Optimizer” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Easy Speed Optimizer” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.3.0
- 2023-08-27
- Settings refactoring: settings for registered style
- Tabs: added CSS and JS tabs
- Added option to enable/disable the plugin
- Updated supported WordPress version
1.2.0
- 2023-08-06
- Possibility to remove emoji script and style from the page
- Updated supported WordPress version
1.1.2
- 2022-01-26
- Conflict with Elementor preview fixed
1.1.1
- 2022-01-12
- Settings save process hotfix
1.1.0
- 2022-01-12
- Critical CSS settings
1.0.1
- 2022-01-06
- Escape echo variables
1.0.0
- 2021-12-24
- Plugin release, possibility to remove styles and scripts