Page not using the correct header

lisa

(@contentiskey)

if your file is named header-landing.php
try something like this: get_header('landing');

(I used this approach recently to conditionally load a special header on for a specific page ID.)

  • This reply was modified 10 hours, 18 minutes ago by lisa.

Thanks Lisa

I will try that in the morning.

Yep, that was it. I didn’t realise you didn’t include the full filename.

Thanks again.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer