Different headers coding.
-
Hi guy’s,
I’ve been trying to develop a wordpress template to use different header images on each page. I have found several closed topics which have been helpful but I’m at a sticking point where I think the code is correct but the images are not displaying.
The topic I have used for reference is: http://ww.wp.xz.cn/support/topic/different-headers-for-each-page
The coding I have placed into my Main Index Template.php is:
get_header(); ?> <?php if (is_home()) get_header(); ?> <?php if (is_page(wh-casino()) include(get_template_directory() . 'http://techbunny.net/wp-content/uploads/2012/12/Sturgeons-078.jpeg'); ?>I’m wondering if using the page name (wh-casino) or the image url is what’s causing the code to fail, please can someone point me in the right direction?
Thanks 🙂
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Different headers coding.’ is closed to new replies.