Remove CSS from inactive pages
This is an interesting plugin. I’ve noticed a flaw/omission:
Settings allow Flare to show on posts, pages, and media, but the CSS style sheets are loaded for all pages, regardless of the settings.
I know I can edit the “wp_print_styles()” function within the plugin source to exclude certain page types, but it would be nice if the plugin removed these unnecessary footprints directly. There’s not much point in loading the CSS file on the homepage and pages, if only “posts” are enabled.
In the meantime, is there a way to remove your call to “wp_print_styles” within a theme’s functions.php to override the plugin’s core code, without hacking it?
I’d also like to remove the Oswald google font style sheet entirely, if possible.
- The topic ‘Remove CSS from inactive pages’ is closed to new replies.