WordPress.org

Support

Support » Themes and Templates » Content not being displayed after get_header

Content not being displayed after get_header

  • Hi All,

    Having a go at creating my own theme. However when I test it only the header information is being displayed.

    I have the header.php footer.php sidebar.php and index.php files all of which have been filled in.

    The contents of the index.php file is as follows:

    <?php get_header(); ?>
    
    <?php get_siderbar(); ?>
    
    <?php get_footer(); ?>

    However, when I visit my site it only shows the contents of the header. If I view the source then only the code for the header is shown.

    Any advice would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Content not being displayed after get_header’ is closed to new replies.