Comment out example "add_image_size" as it can be easily forgotten
which leaves you with extra unused image size, Add CHANGELOG.MD to
track changes, Tidy up formatting using PHP-CS-Fixer (mostly spacing),
Update README.MD dependencies
This commit is contained in:
Lukas Juhas 2016-08-09 13:22:26 +01:00
parent 585aa37d39
commit 6b6864f7a0
10 changed files with 76 additions and 64 deletions

View file

@ -3,7 +3,7 @@
<main class="main" role="main">
<div class="container">
<?php while ( have_posts() ) : the_post(); ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?>>
@ -14,8 +14,8 @@
<?php the_content(); ?>
<footer class="post__footer">
<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>
<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>
</footer>
</article>
@ -25,4 +25,4 @@
</div>
</main>
<?php get_footer(); ?>
<?php get_footer(); ?>