Plugin Author
Guido
(@guido07111975)
Hi,
There was another user who requested to load my stylesheet only when a page or widget is displayed that contains my form. Unfortunately that was quite difficult because it’s not easy to determine when the widget is displayed. It’s easy to determine if widget is active somewhere at your site or not, but that isn’t enough in this case.
Did not think about adding an option to disable entire stylesheet.
Please note my plugin is build to support bootstrap. So it might also use your theme stylesheet, in case this contains bootstrap CSS as well. In that case disabling my CSS can cause unexpected behaviour.
Regarding page load: CSS file is a single KB so loading time should be close to none 😉
Guido
Guido,
I know it’s a very small file but it is still an extra server request. Good practices according to Google is to have a few requests as possible. I could simply dequeue the styles and add the CSS to my theme style.css file but I think it’s a good idea to have the option in the plugin.
What do you think?