I copied TwentyEleven and used all its resources to start, I've done all the steps, added my own widgets, menus, css, js and all but I'm stuck with this issue:
I set the front page to be static and set a page for it (it has content in it), also set a blank page for the blog posts. The theme just shows the pages as blank for both in all situations unless I specify a wrong file name in which it will show the 'Not found' text.
I'm sure I'm doing something horribly wrong, but what?
Here's the part that loads the content in index.php:
<?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php else : ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1> </header><!-- .entry-header --> <div class="entry-content"> <p><?php _e( 'Page not found.', 'twentyeleven' ); ?></p> </div><!-- .entry-content --> </article><!-- #post-0 --> <?php endif; ?>