WordPress.org

Ready to get started?Download WordPress

Forums

wp-forecast
Wp-forecast-default.css loaded on every page (2 posts)

  1. spabav
    Member
    Posted 1 year ago #

    Hi,
    the plugin calls the stylesheet on every page , even on pages where I am not showing any forecasts.

    wp-content/plugins/wp-forecast/wp-forecast-default.css

    I would like to include the style into my main theme css, and get rid of the wp-forecast-default.css call on every page to reduce the number of stylesheet callups ( e.g. IE limit for CSS stylesheets is 32).

    Where can I prevent the plugin from inserting a wp-forecast-default.css call on every page ?

    Would be great if anybody could help.

    http://wordpress.org/extend/plugins/wp-forecast/

  2. tuxlog
    Member
    Plugin Author

    Posted 1 year ago #

    Hi spabav,

    just search for wp-forecast-default.css in the source. This will lead you to a function in funclib.php called wp_forecast_css.
    In there comment out the line beginning with echo.

    Regards, Hans

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic