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,17 +3,17 @@
<main class="main" role="main">
<div class="container">
<?php while ( have_posts() ) : the_post(); ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?>>
<header class="post__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>
<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>
<?php the_content( __( 'Read More' ) ); ?>
<?php the_content(__('Read More')); ?>
</article>
@ -22,4 +22,4 @@
</div>
</main>
<?php get_footer(); ?>
<?php get_footer(); ?>