Clean up
This commit is contained in:
parent
ec269f6128
commit
17ff78b20e
9 changed files with 62 additions and 134 deletions
35
single.php
35
single.php
|
@ -1,35 +0,0 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<div class="content container">
|
||||
|
||||
<div class="main">
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<article <?php post_class(); ?>>
|
||||
|
||||
<header>
|
||||
<h1 class="title"><?php the_title(); ?></h1>
|
||||
<p class="date"><time pubdate datetime="<?php echo $post->post_date; ?>"><?php the_time( get_option( 'date_format' ) ); ?></time></p>
|
||||
</header>
|
||||
|
||||
<?php the_content( __( 'Read More' ) ); ?>
|
||||
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="pagination">
|
||||
<div class="alignleft"><?php previous_posts_link( 'Previous Entries' ) ?></div>
|
||||
<div class="alignright"><?php next_posts_link( 'Next Entries','' ) ?></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<aside class="sidebar">
|
||||
<?php get_sidebar(); ?>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
Loading…
Add table
Add a link
Reference in a new issue