Advertisement
jithinsmmb

Untitled

Apr 2nd, 2013
2,369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2.  
  3. <div id="content">
  4.    
  5.     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  6.        
  7.         <div class="post-header">
  8.        
  9.             <h2 class="post-title"><?php the_title(); ?></h2>
  10.                        
  11.             <p class="post-date">
  12.                 <em><?php _e('Posted by', 'themejunkie'); ?> <?php the_author_posts_link(); ?> <?php _e('on', 'themejunkie'); ?> <?php the_time('F j, Y'); ?>, <?php _e('filed in', 'themejunkie'); ?>: <?php the_category(', ')?></em>
  13.             </p> <!--end .post-date-->
  14.        
  15.         </div> <!--end .post-header-->
  16.        
  17.         <div class="comment-cloud">
  18.             <?php comments_popup_link('0', '1', '%', 'comments-link', ''); ?>
  19.         </div> <!--end .comment-cloud-->
  20.        
  21.         <div class="clear"></div>
  22.  
  23.  
  24.  
  25.            
  26.         <div class="entry">
  27.            
  28.             <?php the_content(); ?>
  29.            
  30.             <div class="clear"></div>
  31.            
  32.             <div class="tags">
  33.                 <?php the_tags(); ?>
  34.                 <?php edit_post_link('('.__('Edit', 'themejunkie').')', '', ''); ?>
  35.             </div> <!--end .tags-->
  36.            
  37.         </div> <!--end .entry-->
  38.        
  39.         <div class="postnavi">
  40.        
  41.             <div class="left">
  42.             <?php previous_post_link('%link', '<p>&laquo; Previous</p>%title', TRUE);  ?>
  43.             </div>
  44.        
  45.             <div class="right">
  46.                 <?php next_post_link('%link', '<p>Next &raquo;</p>%title', TRUE); ?>
  47.             </div>
  48.        
  49.             <div class="clear"></div>
  50.            
  51.         </div> <!--end .postnavi-->
  52.        
  53.         <?php comments_template(); ?>
  54.        
  55.     <?php endwhile; else: ?>
  56.    
  57.         <h2 class="pagetitle"><?php _e('Not Found', 'themejunkie') ?></h2>
  58.        
  59.         <div class="entry">
  60.             <p><?php _e('Sorry, no posts matched your criteria.', 'themejunkie') ?></p>
  61.         </div> <!--end .entry -->
  62.    
  63.     <?php endif; ?>
  64.    
  65. </div> <!--end #content-->
  66.    
  67. <?php get_sidebar(); ?>
  68.  
  69. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement