Load different header.php files on different pages?
-
Hi all,
I wondered if it’s possible to create a duplicate of my header.php, make some minor changes and load the amended header file on certain pages (just the homepage in this instance).. All other pages would load the default header.php.
So:
<?php get_header(); ?>
would load the usual header…and:
<?php get_header_new(); ?>
would load my tweaked file…would this work, or something similar?
Any advice appreciated!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Load different header.php files on different pages?’ is closed to new replies.