Hi, I am trying to figure out the same thing, but using a modified version of a different 3 column blank theme template. I am trying to get a different header image on to each of the main pages(header1.jpg, header2.jpg, etc., there are 5). I would like the header image to be carried through the child pages of each main page, but at this point I'd be happy just to have the main pages with different images.
This one has the header info in the Theme Functions file, which reads:
<?php
if ( function_exists('register_sidebars') )
register_sidebars(2,array(
'before_widget' => '',
'after_widget' => '',
'before_title' => '<h2>',
'after_title' => '</h2>',
));
?>
<?php
define('HEADER_TEXTCOLOR', '');
define('HEADER_IMAGE', '%s/images/header.jpg'); // %s is theme dir uri
define('HEADER_IMAGE_WIDTH', 800);
define('HEADER_IMAGE_HEIGHT', 235);
define( 'NO_HEADER_TEXT', true );
function blankthemes_admin_header_style() {
?>
<style type="text/css">
#headimg {
background: url(<?php header_image() ?>) no-repeat;
}
#headimg {
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
}
#headimg h1, #headimg #desc {
display: none;
}
</style>
<?php
}
function blankthemes_header_style() {
?>
<style type="text/css">
#header {
background: url(<?php header_image() ?>) no-repeat;
}
</style>
<?php
}
if ( function_exists('add_custom_image_header') ) {
add_custom_image_header('blankthemes_header_style', 'blankthemes_admin_header_style');
}
?>
I probably don't have to point out I am a php nub, but I have tried to go through the input here and piece together something from that that would work here, but I am just borking the whole site.
Any direction would be greatly appreciated!