The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Content not being displayed after get_header (3 posts)

  1. astacha
    Posted 4 years ago #

    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.

  2. astacha
    Posted 4 years ago #

    Sorry, may fault, Just noticed the spelling mistake in the get_sidebar()

  3. Michael
    Forum Moderator
    Posted 4 years ago #

    consider, at least during the development and customisation phase, to set 'debug' to 'true':


    that shold output warnings and error messages...

Topic Closed

This topic has been closed to new replies.

About this Topic