Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Delay Print CSS

Prevent your print stylesheets from delaying rendering of your website

Upload delay-print-css to the /wp-content/plugins/ directory of your install.

Activate the plugin through the 'Plugins' menu in WordPress

In your theme or plugin, use wp_register_style and/or wp_enqueue_style to load your CSS. This requires you to remove any html tags you have in your theme and add the following code to your functions.php file:

function mytheme_enqueue_css(){
  if (!is_admin()){
    wp_enqueue_style (
      'mytheme-print', /* handle */
      '/path-to/print.css', /* source */
      null, /* no requirements */
      '1.0', /* version */
      'print' /* media type */
add_action('wp_print_styles', 'mytheme_enqueue_css');

To wrap your stylesheet in conditional tags, add the following below the wp_enqueue_style call in your new function

global $wp_styles;
$wp_styles->registered['mytheme-print']->extra['conditional'] = 'IE 6'

Requires: 2.8 or higher
Compatible up to: 3.0.5
Last Updated: 6 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.