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

Untitled

By: a guest on May 21st, 2010  |  syntax: None  |  size: 1.86 KB  |  views: 310  |  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="content">
  4.  
  5.         <div id="entry_content">
  6.  
  7.  
  8.         <?php if (have_posts()) : ?>
  9.  
  10.                 <?php while (have_posts()) : the_post(); ?>
  11.                                 <?php if(is_home()) { if ( function_exists('wp_list_comments') ) { ?> <div <?php post_class(); ?>> <?php }} ?>
  12.                                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  13.                                 <p class="date"><?php the_time('F jS, Y') ?> <?php comments_popup_link('&sect; <span class="commentcount">0</span>', '&sect; <span class="commentcount">1</span>', '&sect; <span class="commentcount">%</span>'); ?></p>
  14.                                
  15.                                
  16.                                 <div class="entry">
  17.                                         <?php the_content('&raquo; Read the rest of this entry &laquo;'); ?>
  18.                                         <?php wp_link_pages(array('before' => '<p>Page: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  19.                                        
  20.                                         <p class="tags"><?php the_tags('<strong>Tagged:</strong> ', ', ', ''); ?></p>
  21.                                         <?php comments_template(); ?>
  22.                                                
  23.                                 </div>
  24.                                 <?php if(is_home()) { if ( function_exists('wp_list_comments') ) { ?></div><!-- close post_class --><?php }} ?>
  25.                                
  26.                 <?php endwhile; ?>
  27.  
  28.                 <div class="navigation">
  29.                         <p class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></p>
  30.                         <p class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></p>
  31.                 </div>
  32.                
  33.        
  34.                        
  35.  
  36.         <?php else : ?>
  37.  
  38.                
  39.                 <div class="entry">
  40.                 <span class="error"><img src="<?php bloginfo('template_directory'); ?>/images/mal.png" alt="error duck" /></span>
  41.                 <p>Hmmm, seems like what you were looking for isn't here.  You might want to give it another try - the server might have hiccuped - or maybe you even spelled something wrong (though it's more likely <strong>I</strong> did).</p>
  42.                 </div>
  43.  
  44.  
  45.         <?php endif; ?>
  46.        
  47.        
  48. </div> <!-- close entry_content -->
  49.  
  50.  
  51.  
  52. <?php get_sidebar(); ?>
  53.  
  54. <?php get_footer(); ?>
clone this paste RAW Paste Data