-
Notifications
You must be signed in to change notification settings - Fork 0
/
entry.multiple.php
18 lines (18 loc) · 1.22 KB
/
entry.multiple.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php include 'header.php'; ?>
<div id="content">
<?php foreach ( $posts as $post ) { ?>
<div id="post-<?php echo $post->id; ?>" class="<?php echo $post->statusname; ?> post">
<h2 class="title"><a href="<?php echo $post->permalink; ?>" rel="bookmark" title="Permanent Link to <?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h2>
<div class="entry">
<?php echo $post->content_out; ?>
</div>
<p class="meta">
<?php echo $post->pubdate_out; ?> <?php if ( ! $post->info->comments_disabled ) { ?> | <a href="<?php echo $post->permalink; ?>#comments" title="Comments on this post"><?php echo $post->comments->approved->count; ?> <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a><?php } ?><?php if ( $user->loggedin ) { ?> | <a href="<?php URL::out( 'admin', 'page=publish&id=' . $post->id); ?>" title="Edit post">Edit</a><?php } ?><br>
<?php if ( count($post->tags) ) { ?> Tagged: <?php echo $post->tags_out; ?><?php } ?>
</p>
</div>
<?php } ?>
<div class="paging">
<?php $theme->prev_page_link(); ?> <?php $theme->page_selector( null, array( 'leftSide' => 2, 'rightSide' => 2 ) ); ?> <?php $theme->next_page_link(); ?>
</div>
<?php include 'footer.php'; ?>