• I have no programming knowledge at all but am trying to create a page on my blog that has no sidebars and a header with no navigation bar.

    I have the default header.php file on my blog.

    I made a second header-2.php file that has no navigation bar.

    I have a page-nosidebar.php file which I created to have a blog page with no sidebars and a header.

    Instead of the default header I want to call the second header
    header-2.php to use only on the no sidebar page.

    But I don’t know how to do it (modify the code)

    Here is the link to the code for the page-nosidebar.php file:

    http://pastebin.com/Z69fZGwd

    I’m guessing I have to modify Line 7
    <?php get_header(); ?>
    but I don’t know exactly what to change.

    Any help would be greatly appreciated!

    Thanks.

    Robert

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to call for an alternative header file’ is closed to new replies.