• Our site is https://youradminpartners.com. My wordpress pages were working fine. I needed to make a header for our root pages and called it header_main.php.

    The WP files have header.php in the same directory as the pages. But they don’t pull in their header. They pull in the root level header. I have checked to make sure header.php is in the theme folder and that it has the correct contents.

    I even specified the name in get_header:
    <?php get_header(header.php); ?>

    And then tried <?php include ‘header.php’;?>. Neither works.

    If you look at https://youradminpartners.com/testing/, you’ll see what I mean.

  • The topic ‘Page pulling wrong header’ is closed to new replies.