Yeah, but I listed two! 😛
Okay … call it quits then 😉
I tried to follow the instruction but it doesn’t work. Here’s my code
<?php
function header_graphic() {
$num=rand(0,8);
echo $num."masthead.jpg";
};
?>
<head>
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<style type="text/css" media="screen">
#masthead {
margin: 0 auto;
border: 1px solid #999;
background-image: url("< ?php header_graphic(); ?>");
width: 660px;
height: 211px;
}
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
By the way, I’m using the theme Minimal Plus.
I’m using a different approach for the headers, it uses a fieldname per post and a header file-name. This is the autor’s site;
http://www.holycow.com/joe/archives/2005/01/25/headimage-wordpress-plugin/
See it in action on my site; http://usadutch.com/blips
You have to click on a single post and sometimes it shows a diffeent header-picture and sometimes the standard header.
The per post header is not working right, it breaks the RSS feed so I disabled it again.
BLIPS.