WordPress.org

Ready to get started?Download WordPress

Forums

Content not being displayed after get_header (3 posts)

  1. astacha
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

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

    http://codex.wordpress.org/Editing_wp-config.php#Debug

    that shold output warnings and error messages...

Topic Closed

This topic has been closed to new replies.

About this Topic