Changing header.php files?
-
Hi guys,
I have found bits and pieces of things online but not anything extensive for the newbie.
If I have made header files such as:
headercontact.php
headerwork.phpHow can I get them to show up on the pages that display that header?
I found this and modified it online, but each time I try to add it to my functions.php file, I get syntax errors.
if (is_page(‘contact’)){?(TEMPLATEPATH.’/headercontact.php’);?}?elseif (is_page(‘gallery’)){?(TEMPLATEPATH.’/headerwork.php’);?}?else {?(TEMPLATEPATH.’/header.php’);
If theres a plugin that could conceivably rotate header.php files that would be cool, but I cant seem to find this and figure I need to learn this.
Thanks! A
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Changing header.php files?’ is closed to new replies.