Support » Plugin: wp-forecast » Dequeue/Remove Default CSS

  • Resolved InHouse


    Hello, can you provide a function that will dequeue or remove the default CSS that the plugin inserts? I know I can comment out the link in funclib.php; however, this is a bit messy since it would need to be done each time the plugin updates. Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tuxlog


    just copy wp-forecast.default.css to wp-forecast.css and leave it an empty file will do the trick or you can add the opposite of

    add_action('wp_enqueue_scripts', 'wp_forecast_css');

    to your functions.php which is

    remove_action('wp_enqueue_scripts', 'wp_forecast_css')

    Beautiful! Thanks a lot for the support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dequeue/Remove Default CSS’ is closed to new replies.