So I'm working on learning theme development in WordPress I've worked so far with tutorials from various sites claiming boosting tutorials on WP theme development. I am currently working from the WordPress .org site and I just created an index.php page from W.org's site i.e "The worlds simplest index page and I still get a page that doesn't display at all. Even if I go in and set a text widget in the side bar through the admin panel Also I have made post to the site under a different theme so there are post in the database.
So here is the code from WordPress.org's codex page i.e. "Worlds simplest index page.
<?php get_header(); if (have_posts()) : while (have_posts()) : the_post(); the_content(); endwhile; endif; get_sidebar(); get_footer(); ?>
Now if I select one of the themes that come with WP everything works fine SO what's missing from this?