Guest User

Untitled

a guest
Feb 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <?php include('sidebar.php');?>
  4.  
  5. <div id="container">
  6.  
  7. <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
  8.  
  9. <div class="post" id="post-<?php the_ID(); ?>">
  10.  
  11. <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
  12. <div class="entry">
  13. <div class="byline">
  14. <?php _e('Posted By '); ?> <?php the_author_posts_link(); ?> on <?php the_time(__('F j, Y')); ?>
  15. </div>
  16.  
  17. <?php the_content(); ?>
  18. <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
  19. <div class="postmetadata">
  20. <?php _e('Category&#58;'); ?> <?php the_category(', ') ?> <?php _e('by'); ?> <?php the_author(); ?> <?php edit_post_link('Edit', ' &#124; ', ''); ?> <br />
  21. <span class="tags"><?php _e('Tags: '); ?> <?php the_tags('', ', ', ''); ?></span>
  22. </div>
  23.  
  24. <br />
  25.  
  26. </div>
  27.  
  28. <div class="comments-template">
  29. <h2>Comments</h2>
  30. <?php comments_template(); ?>
  31. </div>
  32.  
  33. </div>
  34.  
  35. <?php endwhile; ?>
  36.  
  37. <div class="navigation">
  38. <?php previous_post_link('&laquo; %link') ?> &nbsp; &nbsp; <?php next_post_link(' %link &raquo;') ?>
  39. </div>
  40.  
  41. <?php else : ?>
  42.  
  43. <div class="post">
  44. <h2><?php _e('Not Found'); ?></h2>
  45. </div>
  46.  
  47. <?php endif; ?>
  48.  
  49. </div>
  50.  
  51. <?php include('bio.php');?>
  52. <?php include('misc.php');?>
  53. <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment