function output_header_css() { if (get_option('k2imagerandomfeature') == '1') { $picture = K2Header::random_picture(); } else { $picture = get_option('k2header_picture'); } ?> <style type="text/css"> <?php if (!empty($picture)) { ?> #header { background: url("<?php echo get_k2info('headers_url') . $picture; ?> "); } <?php } ?> <?php if (function_exists('add_custom_image_header')) { ?> <?php if ('blank' == get_header_textcolor()) { ?> #header h1, #header .description { display: none; } <?php } else { ?> #header h1 a, #header .description { color: #<?php header_textcolor(); ?> ; } <?php } ?> <?php } ?> </style> <?php }