Updates for part 2

This commit is contained in:
Tania 2016-01-14 02:48:43 -06:00
parent fb8eaa1fda
commit 8c83a49a7c
15 changed files with 243 additions and 47 deletions

View file

@ -1,23 +1,18 @@
<?php get_header(); ?>
<div class="row">
<div class="col-sm-8 blog-main">
<?php
if ( have_posts() ) : while ( have_posts() ) : the_post();
get_template_part( 'content', get_post_format() );
endwhile; endif;
?>
</div>
<!-- /.blog-main -->
if ( have_posts() ) : while ( have_posts() ) : the_post();
get_template_part( 'content', get_post_format() );
endwhile; ?>
<nav>
<ul class="pager">
<li><?php next_posts_link( 'Previous' ); ?></li>
<li><?php previous_posts_link( 'Next' ); ?></li>
</ul>
</nav>
<?php endif; ?>
</div> <!-- /.blog-main -->
<?php get_sidebar(); ?>
</div>
<!-- /.row -->
</div> <!-- /.row -->
<?php get_footer(); ?>