Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $theme->display( 'header'); ?>
- <?php $theme->display( 'sidebar'); ?>
- <!-- home -->
- <div id="content">
- <!--begin primary content-->
- <!--begin loop-->
- <?php foreach ( $posts as $post ) { ?>
- <!--display title, date, and author-->
- <h1><a href="<?php echo $post->permalink; ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h1>
- <h2><?php _e('Posted on '); ?> <?php echo $post->pubdate->text_format('<span>{M}</span> <span>{d}</span>, <span>{Y}</span>'); ?> in
- <?php if ( count( $post->tags ) > 0 ) { ?><?php echo $post->tags_out; ?></h2>
- <!--display title, date, and author-->
- <!--display content-->
- <?php echo $post->content_out; ?>
- <!--display tags and comments-->
- <div class="meta">
- <?php } ?><a href="<?php echo $post->permalink; ?>" title="<?php _e('Comments on this post'); ?>"><?php echo $post->comments-
- >approved->count; ?> <?php echo _n( 'Comment', 'Comments', $post->comments->approved->count ); ?></a></div>
- <?php } ?>
- <!--end loop-->
- <!--pagination-->
- <center>
- <?php $theme->page_selector( null, array( 'leftSide' => 2, 'rightSide' => 2 ) ); ?>
- <br><br>
- </center>
- <!--end primary content-->
- <!-- /home -->
- <?php $theme->display ('footer'); ?>
Add Comment
Please, Sign In to add comment