Page not using the correct header
-
I’m revisiting a site I worked on a few years ago and adding a new landing page. I’ve created the page template and want to load in a different header (a simpler one).
I’ve duplicated the header and saved it as header-landing.php. Then in my landing page template I’ve change the get header call to;
get_header('header-landing');I’ve created the page in admin and selected the landing page template, but it loads in the main header.
Looking around at threads online, this should work, so I can’t work out what I’m doing wrong. I’ve disabled all plugins as a test (same result), there are no caching plugins installed and I’ve cleared by browser cache.
Any help greatly received.
Thanks
Wayne
The topic ‘Page not using the correct header’ is closed to new replies.