Advertisement
Guest User

Untitled

a guest
Sep 15th, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="content">
  4.  
  5. <?php if (have_posts()) : ?>
  6. <?php while (have_posts()) : the_post(); ?>
  7.  
  8. <div <?php post_class(); ?>>
  9.  
  10. <div class="post-full-image">
  11. <img src="<?php bloginfo('template_directory'); ?>" alt="image" /><?php the_title(); ?>
  12. </div><!--end post-full-image-->
  13.  
  14. <h2 class="title"><?php the_title(); ?></h2>
  15. <p class="data"><span class="post-details">Posted in <a href=""><?php the_category(', , '); ?></a><span class="data"><?php the_time('jS F Y'); ?></span><span class="comment-count"><?php comments_number( $zero, $one, $more ); ?> <a href="<?php comments_link(); ?>">Comments</a></span></p>
  16.  
  17. <?php the_content(''); ?>
  18.  
  19. </div><!--end post-->
  20.  
  21. <div id="pagenav">
  22. <div class="pagenav">
  23. <ul>
  24. <li><a href="#" class="prevnext disablelink">« previous<?php next_posts_link ('Older articles'); ?></a></li>
  25. <li><a href="#" class="currentpage">1</a></li>
  26. <li><a href="#">2</a></li>
  27. <li><a href="#">3</a></li>
  28. <li><a href="#">4</a></li>
  29. <li><a href="#" class="prevnext">next »<<?php previous_posts_link ('Newer articles'); ?></a></li>
  30. </ul>
  31. </div><!--end pagenav-->
  32. </div>
  33.  
  34. <?php endwhile; ?>
  35.  
  36. <?php else : ?>
  37. <div class="nothing">
  38. <h2>Nothing Found</h2>
  39. <p>Sorry, but you are looking for something that isn't here.</p>
  40. <p><a href="<?php echo get_option ('blog'); ?>">Return to blog page</a></p>
  41. <?php include (TEMPLATEPATH . '/searchform.php'); ?>
  42. </div>
  43. <?php endif; ?>
  44.  
  45. <?php comments_template(); ?>
  46.  
  47. </div><!--end content-->
  48.  
  49. <?php get_sidebar(); ?>
  50. </div><!--end container-->
  51. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement