/ Published in: PHP
Image files are: header_1 , header_2, header_3, header_4
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<div id="header"> <img src="<?php bloginfo('template_url'); ?>/images/header_<?php echo(rand(1,4)); ?>.jpg" width="472" height="136" alt="<?php bloginfo('name'); ?> Reducing the global burden of disease" /> </div>