I want to use two different header files how do I do this?
-
Ok I want to use two different header.php files, one for my index.php and one for everything else. I have tried just creating a second header.php and calling it header2.php and then inserting get_header2() blah into the index.php but it breaks the site if I do that. I tried looking in functions.php to see if it had somewhere to define a new get_header….. function but couldn’t see anything that looked useful. I am also hoping to be able to do this for the footer too if anyone can help I’d really appreciate it. my site is https://blog.purpleflower.co.nz just in case you need to see it. thanks
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘I want to use two different header files how do I do this?’ is closed to new replies.