Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="post">
- <?php if ( post_password_required() ) { echo "<br /><br /><br /><div class='comment' style='display:none;'>"; } else { echo "<div class='comment'>"; } ?>
- <?php if('open' == $post->comment_status) { ?>
- <?php comments_popup_link(__('( 0 )'), __('( 1 )'), __('( % )')); ?><?php } else { echo "<span class='off'>OFF</span>"; } ?>
- </div>
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <p class="small">Posted On <?php the_time('l, F jS, Y') ?> By <?php $author = get_the_author(); echo $author; ?></p>
- <?php the_content('Read more »'); ?>
- </div>
- <div class="postmetadata">
- <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <?php the_tags('Tags: ', ', ', ' | '); ?>
- <?php the_category(', ') ?> |
- <?php edit_post_link('Edit', '', ' | '); ?>
- </div>
- <?php //comments_template(); ?>
- <div class="navigation">
- <div class="alignleft"><?php next_posts_link('« Back To The Past') ?></div>
- <div class="alignright"><?php previous_posts_link('Onwards To The Future »') ?></div>
- </div>
- <?php else : ?>
- <div class="post">
- <br /><br />
- <h3>Not Found</h3>
- <p>Sorry, you are looking for something that isn't here. Try using the search bar</p>
- </div>
- <?php endif; ?>
- </div> <!-- end content -->
- <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
- <?php include (TEMPLATEPATH . '/sidebartwo.php'); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement