• Hi, I’ve tried searching for the solution to this with no success.

    I’ve broken apart my html/css and have everything sorted (header, nav, leftcolumn, rightcolumn, footer)

    When it’s in my index.php with just straight code it works fine, but as soon as I cut out a section and replace it with <?php get_header(); ?> it doesn’t display and the site breaks. Same thing happens with any other get_file(); and I’m clueless and frustrated.

    Any help would be greatly appreciated.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you using the correct file names?

    http://codex.wordpress.org/Theme_Development

    Thread Starter onekea

    (@onekea)

    Yes. Thus far I have the following .php files

    index.php (Main Index Page_
    header.php (all the header info up untill the </div> tag of the header
    nav.php (the navigation section)
    leftcolumn.php
    maincontent.php
    rightcolumn.php
    footer.php

    It simply shows a blank white screen the minute I put in the <?php get_header(); ?> code.

    Sounds like you have an error in header.php. Try placing a copy of that file in the WordPress pastebin and posting the pastebin url here. Someone be able to spot the error and/or suggest a solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘get_header(); not working’ is closed to new replies.