How to Prevent Loading WP-DownloadManager’s CSS File

Stop loading WP-Downloads CSS File

If you want to disable the WordPress plugin WP-DownloadManager‘s download-css.css file from being loaded, add the following code to your functions.php file:

remove_action('wp_print_styles', 'downloads_stylesheets');

Alternatively, if you would just like to use your own stylesheet, you can add a file named download-css.css to your theme’s directory, and the plugin will automatically load your stylesheet instead.

Related posts:

  1. How to prevent your Google background image from fading in slowly.
  2. 5 Easy Ways to Disable the Gravity Forms CSS Stylesheet
  3. Setting Far Futures Expires in ASP, Using ASP as CSS
  4. Multiple Matte Colors for CSS Sprites
  5. Standards-Compliant Shopping Cart with XHTML & CSS!

This entry was posted in Code, QuickTip, WordPress and tagged , , , , , , . Bookmark the permalink.