-
Notifications
You must be signed in to change notification settings - Fork 1
/
entry.multiple.php
17 lines (17 loc) · 1.14 KB
/
entry.multiple.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php include 'header.php'; ?>
<?php foreach ( $posts as $post ) { ?>
<div class="post<?php if($post->status == Post::status('draft')) { echo ' draft'; } ?>" id="post-<?php echo $post->id; ?>">
<p class="post_date"><span><?php $post->pubdate->out(); ?> | <strong><?php echo $post->author->displayname; ?></strong></span></p>
<h2 class="post_title"><a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h2>
<div class="post_content">
<?php echo $post->content_out; ?>
</div>
<p class="post_meta"><span><?php if ( count( $post->tags ) ) { ?>Tags: <?php echo $post->tags_out; ?> | <?php } ?><a href="<?php echo $post->permalink; ?>#comments" title="Comments to this post"><?php echo $post->comments->approved->count; ?>
<?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a></span></p>
</div>
<?php } ?>
<div class="page_navigation">
<p><?php $theme->prev_page_link(); ?> <?php $theme->page_selector( null, array( 'leftSide' => 2, 'rightSide' => 2 ) ); ?> <?php $theme->next_page_link(); ?></p>
</div>
<?php include 'sidebar.php'; ?>
<?php include 'footer.php'; ?>