Updates for part 2
This commit is contained in:
parent
fb8eaa1fda
commit
8c83a49a7c
15 changed files with 243 additions and 47 deletions
29
index.php
29
index.php
|
@ -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(); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue