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,7 +1,28 @@
<div class="blog-post">
<h2 class="blog-post-title"><?php the_title(); ?></h2>
<p class="blog-post-meta"><?php the_date(); ?> by <a href="#"><?php the_author(); ?></a></p>
<h2 class="blog-post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p class="blog-post-meta">
<?php the_date(); ?> by
<a href="#">
<?php the_author(); ?>
</a> &bull;
<a href="<?php comments_link(); ?>">
<?php
printf( _nx( 'One Comment', '%1$s Comments', get_comments_number(), 'comments title', 'textdomain' ), number_format_i18n( get_comments_number() ) ); ?>
</a>
</p>
<?php the_content(); ?>
<?php if ( has_post_thumbnail() ) {?>
<div class="row">
<div class="col-md-4">
<?php the_post_thumbnail('thumbnail'); ?>
</div>
<div class="col-md-6">
<?php the_excerpt(); ?>
</div>
</div>
<?php } else { ?>
<?php the_excerpt(); ?>
<?php } ?>
</div><!-- /.blog-post -->
</div>
<!-- /.blog-post -->