Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 28th, 2011  |  syntax: None  |  size: 1.32 KB  |  hits: 41  |  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.  
  3. <div id="container">
  4.  
  5.  
  6.         <?php if(have_posts()): ?><?php while(have_posts()):the_post(); ?>
  7.    
  8.     <div class="post">
  9.    
  10.         <h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  11.        
  12.                 <div class="entry">
  13.        
  14.                 <?php the_content(); ?>
  15.            
  16.             <?php link_pages('<p><strong>Pages:</strong>','</p>','number'); ?>
  17.            
  18.                                         <p class="postmetadata">
  19.  
  20.                                                                 <?php _e('Filed under&#58;'); ?> <?php the_category(', ') ?> <?php _e('by'); ?> <?php  the_author(); ?>
  21.                                
  22.                                 <?php edit_post_link('Edit', ' &#124; ', ''); ?>
  23.  
  24.                                                         </p>
  25.            
  26.             </div>
  27.            
  28.             <div class="comments-template">
  29.             <?php comments_template(); ?>
  30.             </div>
  31.            
  32.             </div>
  33.    
  34.     <?php endwhile; ?>
  35.    
  36.         <div class="navigation">
  37.                 <?php previous_post_link('&laquo;%link') ?> <?php next_post_link('%link&raquo;') ?>
  38.         </div>
  39.    
  40.     <?php else: ?>
  41.    
  42.            <div class="post" id="post-<?php the_ID(); ?>">
  43.                 <h2><?php_e('Not Found'); ?></h2>
  44.        </div>
  45.    
  46.     <?php endif; ?>
  47.    
  48. </div>
  49.  
  50. <?php get_sidebar(); ?>
  51.  
  52. <?php get_footer(); ?>
  53.