Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div id="content">
  3. <?php if (have_posts()) : ?>
  4. <?php while (have_posts()) : the_post(); ?>
  5.  
  6. <div class="post">
  7. <?php if ( post_password_required() ) { echo "<br /><br /><br /><div class='comment' style='display:none;'>"; } else { echo "<div class='comment'>"; } ?>
  8. <?php if('open' == $post->comment_status) { ?>
  9. <?php comments_popup_link(__('( 0 )'), __('( 1 )'), __('( % )')); ?><?php } else { echo "<span class='off'>OFF</span>"; } ?>
  10. </div>
  11. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  12. <p class="small">Posted On <?php the_time('l, F jS, Y') ?> By <?php $author = get_the_author(); echo $author; ?></p>
  13. <?php the_content('Read more &raquo;'); ?>
  14. </div>
  15.  
  16. <div class="postmetadata">
  17. <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  18. <?php the_tags('Tags: ', ', ', ' | '); ?>
  19. <?php the_category(', ') ?> |
  20. <?php edit_post_link('Edit', '', ' | '); ?>
  21. </div>
  22.  
  23. <?php //comments_template(); ?>
  24.  
  25. <div class="navigation">
  26. <div class="alignleft"><?php next_posts_link('&laquo; Back To The Past') ?></div>
  27. <div class="alignright"><?php previous_posts_link('Onwards To The Future &raquo;') ?></div>
  28. </div>
  29.  
  30. <?php else : ?>
  31. <div class="post">
  32. <br /><br />
  33. <h3>Not Found</h3>
  34. <p>Sorry, you are looking for something that isn't here. Try using the search bar</p>
  35. </div>
  36. <?php endif; ?>
  37. </div> <!-- end content -->
  38. <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
  39. <?php include (TEMPLATEPATH . '/sidebartwo.php'); ?>
  40. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement