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

johnburn

By: a guest on Jul 22nd, 2010  |  syntax: PHP  |  size: 1.10 KB  |  views: 270  |  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. global $wp_theme_options;?>
  3. <!--page.php-->
  4.  
  5.         <div id="container" class="clearfix">
  6.  
  7.                 <div id="content">
  8.    
  9. <?php if(have_posts()):while(have_posts()):the_post();
  10. // the loop?>
  11.  
  12.                         <!--post title-->
  13.                         <h1 class="pagetitle" id="post-<?php the_ID();?>"><?php the_title();?></h1>
  14.  
  15.                         <div class="entry">
  16.                                 <!--post text with the read more link-->
  17.                                 <?php the_content();?>
  18.                                 <?php edit_post_link('(Edit this page)','<br />','');?>
  19.                                 <!--for paginate posts-->
  20.                                 <?php link_pages('<p><strong>Pages:</strong> ','</p>','number');?>
  21.                         </div>
  22.  
  23.                         <?php //comments_template(); // uncomment this if you want to include comments template?>
  24.        
  25. <?php endwhile;
  26. // end of one post?>
  27. <?php else:// do not delete?>
  28.        
  29.                         <h3><?php _e("Page not Found");?></h3>
  30.                         <p><?php _e("We're sorry, but the page you're looking for isn't here.");?></p>
  31.                         <p><?php _e("Try searching for the page you are looking for or using the navigation in the header or sidebar");?></p>
  32.  
  33. <?php endif;
  34. // do not delete?>
  35.  
  36.                 </div><!--end content div-->
  37.  
  38. <?php get_sidebar();?>
  39.  
  40. <?php get_footer();?>