Content not being displayed after get_header
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.
- The topic ‘Content not being displayed after get_header’ is closed to new replies.