How to Prevent Loading WP-DownloadManager’s CSS File

November 13, 2009

in Code, QuickTip, WordPress

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.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • Twitter

Related posts:

  1. How I fixed WP-DownloadManager 404 errors
  2. Constant Contact WordPress Widget – Add a Newsletter Signup Form to your Sidebar
  3. Load time improvements
  4. Auto-Optimize WordPress Database without a Plugin

Leave a Comment

Previous post:

Next post: