custom header.php for home page
Hi,
I am trying to set a custom header for my homepage only. In the same way as in the showcase website here
http://www.greenbuildersdirectory.com/
I guess you need to do it via wrapper.php and not in the usual wordpress template way. I cannot get it to work. I have created a second header (header-diff.php) and added the images I wish to show below the search menu, (it works fine in header.php but I only want it on the home page,) but I cannot get it to call and display on the home page.
Any ideas?
I may be way off, what I have done is added the code below to wrapper.php (between <?php appthemes_before_header(); ?> and <?php appthemes_after_header(); ?> )
<?php if(is_front_page()){
<?php include(TEMPLATEPATH.'/header-diff.php'); ?>
}else {
<?php include(TEMPLATEPATH.'/header.php');
}
?>