layouts/default/templates/page.php in marv-0.2.0 vs layouts/default/templates/page.php in marv-0.2.1
- old
+ new
@@ -1,14 +1,19 @@
<?php get_header(); ?>
- <?php the_post(); ?>
- <div id="page-<?php the_ID(); ?>">
- <?php if ( has_post_thumbnail() ) { ?>
- <div>
- <?php the_post_thumbnail(); ?>
- </div>
- <?php } ?>
- <h1><?php the_title(); ?></h1>
- <?php the_content(); ?>
+
+ <div class="content-wrap">
+ <div class="content content-area">
+ <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
+
+ <?php get_template_part( 'content', 'page' ); ?>
+
+ <?php endwhile; endif; ?>
</div>
- <?php comments_template( '', true ); ?>
-<?php get_sidebar(); ?>
-<?php get_footer(); ?>
\ No newline at end of file
+
+ <div class="site-sidebar widget-area">
+
+ <?php get_sidebar(); ?>
+
+ </div>
+ </div>
+
+<?php get_footer(); ?>