]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentytwelve/page.php
Wordpress 3.5
[autoinstalls/wordpress.git] / wp-content / themes / twentytwelve / page.php
diff --git a/wp-content/themes/twentytwelve/page.php b/wp-content/themes/twentytwelve/page.php
new file mode 100644 (file)
index 0000000..dcda990
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+/**
+ * The template for displaying all pages.
+ *
+ * This is the template that displays all pages by default.
+ * Please note that this is the WordPress construct of pages
+ * and that other 'pages' on your WordPress site will use a
+ * different template.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Twelve
+ * @since Twenty Twelve 1.0
+ */
+
+get_header(); ?>
+
+       <div id="primary" class="site-content">
+               <div id="content" role="main">
+
+                       <?php while ( have_posts() ) : the_post(); ?>
+                               <?php get_template_part( 'content', 'page' ); ?>
+                               <?php comments_template( '', true ); ?>
+                       <?php endwhile; // end of the loop. ?>
+
+               </div><!-- #content -->
+       </div><!-- #primary -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>
\ No newline at end of file