]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyeleven/sidebar-page.php
Wordpress 3.3
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / sidebar-page.php
index d47e4eea3189cd2b56a8cb5723a8675db7b5f300..c10d6285867a89d692b1f598b82d8715ac6b0f53 100644 (file)
@@ -13,11 +13,13 @@ get_header(); ?>
                <div id="primary">
                        <div id="content" role="main">
 
-                               <?php the_post(); ?>
+                               <?php while ( have_posts() ) : the_post(); ?>
 
-                               <?php get_template_part( 'content', 'page' ); ?>
+                                       <?php get_template_part( 'content', 'page' ); ?>
 
-                               <?php comments_template( '', true ); ?>
+                                       <?php comments_template( '', true ); ?>
+
+                               <?php endwhile; // end of the loop. ?>
 
                        </div><!-- #content -->
                </div><!-- #primary -->