WordPress.org

Ready to get started?Download WordPress

Forums

Flare
Remove CSS from inactive pages (1 post)

  1. jumbo
    Member
    Posted 1 year ago #

    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.

    Thanks.

    http://wordpress.org/extend/plugins/flare/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.