nu3cion

index

Aug 16th, 2011
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1.  
  2. <?php get_header(); ?>
  3.  
  4. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  5.  
  6.  
  7. <?php if (function_exists("post_class")) { // for pre-WordPress 2.7 ?>
  8. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  9. <?php } else { ?>
  10. <div id="post-<?php the_ID(); ?>">
  11. <?php } ?>
  12.  
  13.  
  14.  
  15. <div class="post-meta post-top-meta">
  16. <span class="categories-above-post">
  17. <?php the_category(', '); ?>
  18. </span>
  19. <span class="comments-above-post">
  20. <?php comments_popup_link(__(' No comments yet', 'pressplay'), __(' 1 comment', 'pressplay'), __(' % comments', 'pressplay'), 'comments-link', __(' Comments turned off', 'pressplay')); ?>
  21. </span>
  22. </div>
  23.  
  24. <div class="post-heading">
  25. <h2 class="post-title">
  26. <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?> permalink">
  27. <?php the_title(); ?>
  28. </a>
  29. </h2>
  30. <p class="post-byline">
  31. <?php _e('By', 'pressplay'); ?> <?php the_author_posts_link(); edit_post_link(__('Edit', 'pressplay'), ' (', ')'); _e(' on ', 'pressplay'); the_time('F jS, Y'); ?>
  32. </p>
  33. </div><!-- .post-heading -->
  34.  
  35. <div class="top-post-body"></div>
  36.  
  37. <div class="post-body">
  38. <?php the_content(__("Continue reading ", 'pressplay') . the_title('', '', false) . " &rarr;"); ?>
  39. <?php wp_link_pages(); ?>
  40. <div class="divclear"></div>
  41. </div><!-- .post-body -->
  42.  
  43. </div><!-- #post-ID .post_class -->
  44.  
  45. <?php endwhile; ?>
  46.  
  47. <?php if(get_next_posts_link() || get_previous_posts_link()){ ?>
  48. <div class="pagination">
  49. <?php include(TEMPLATEPATH . '/library/page-navigation.php'); if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
  50. </div>
  51. <?php } ?>
  52.  
  53. <?php endif; ?>
  54.  
  55. <?php get_sidebar(); ?>
  56. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment