Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

page.php

By: a guest on Sep 27th, 2010  |  syntax: None  |  size: 1.01 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?> 
  2. <div id="container">
  3. <div id="left-div">
  4.  
  5. <?php if (have_posts()) : ?>
  6. <?php while (have_posts()) : the_post(); ?>
  7.  
  8. <!--Start Post-->
  9. <div class="post-wrapper">
  10. <h1 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  11.  
  12. <div style="clear: both;"></div>
  13. <?php the_content(); ?>
  14. </div>
  15.  
  16. <?php endwhile; ?>
  17.  
  18. <!--End Post-->
  19.  
  20. <p class="pagination"><?php next_posts_link('&laquo; Previous Entries') ?> <?php previous_posts_link('Next Entries &raquo;') ?></p>
  21.  
  22. <?php else : ?>
  23.  
  24.  
  25. <!--If no results are found-->
  26. <h1>No Results Found</h1>
  27. <p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p>
  28. <!--End if no results are found-->
  29. <?php comments_template( '', true ); ?>
  30. <?php endif; ?>
  31. </div>
  32.  
  33. <!--Begin Sidebar-->
  34. <?php get_sidebar(); ?>
  35. <!--End Sidebar-->
  36.  
  37. <!--Begin Footer-->
  38. <?php get_footer(); ?>
  39. <!--End Footer-->
  40.        
  41. </body>
  42. </html>