Mega update
This commit is contained in:
commit
109a7741f2
8 changed files with 500 additions and 0 deletions
36
index.php
Executable file
36
index.php
Executable file
|
@ -0,0 +1,36 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<div class="content container">
|
||||
|
||||
<div class="main">
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<article <?php post_class(); ?>>
|
||||
|
||||
<header>
|
||||
<h3 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||
<p class="date"><time pubdate datetime="<?php echo $post->post_date; ?>"><?php the_time( get_option( 'date_format' ) ); ?></time></p>
|
||||
<p class="comments"><?php comments_popup_link( 'No comments yet', '1 comment', '% comments' ); ?></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