This commit is contained in:
Pedro Reis 2015-10-19 11:54:53 +01:00
parent 05c8670de0
commit 194fc42be3
4 changed files with 29 additions and 18 deletions

View file

@ -7,10 +7,10 @@
<article <?php post_class(); ?>>
<header role="heading">
<h3 class="post__title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p class="post__date"><time><?php echo human_time_diff( strtotime( $post->post_date ) ) . ' ' . __( 'ago' ); ?></time></p>
<p class="post__comments"><?php comments_popup_link( __( 'No comments yet' ), __( '1 comment' ), __( '% comments' ) ); ?></p>
<header class="post__header" role="heading">
<h3 class="post__header__title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p class="post__header__date"><time><?php echo human_time_diff( strtotime( $post->post_date ) ) . ' ' . __( 'ago' ); ?></time></p>
<p class="post__header__comments"><?php comments_popup_link( __( 'No comments yet' ), __( '1 comment' ), __( '% comments' ) ); ?></p>
</header>
<?php the_content( __( 'Read More' ) ); ?>