Page pulling wrong header

  • Unknown's avatar

    Our site is http://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 http://youradminpartners.com/testing/, you’ll see what I mean.

  • Unknown's avatar

    Hi there,
    This is the WordPress.COM support forum. You need to post to the WordPress.ORG support forum for help with your site because it is not hosted by WordPress.COM.

    WordPress.com and WordPress.org are completely separate and have different logins http://support.wordpress.com/com-vs-org/

    If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there and receive advice from WordPress.ORG bloggers.

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