Advertisement
Guest User

Single

a guest
Sep 22nd, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.15 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3.         <div id="container">
  4.             <div id="content">
  5.  
  6.                 <div id="nav-above" class="navigation">
  7.                     <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&laquo;</span> %title' ) ?></div>
  8.                     <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&raquo;</span>' ) ?></div>
  9.                 </div><!-- #nav-above -->
  10.  
  11.                 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  12.                     <h1 class="entry-title"><?php the_title(); ?></h1>
  13.                    
  14.                      <div class="entry-utility">
  15.                         <?php printf( __( 'This entry was posted in %1$s%2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'your-theme' ),
  16.                             get_the_category_list(', '),
  17.                             get_the_tag_list( __( ' and tagged ', 'your-theme' ), ', ', '' ),
  18.                             get_permalink(),
  19.                             the_title_attribute('echo=0'),
  20.                             comments_rss() ) ?>
  21.      
  22.     <?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Comments and trackbacks open ?>
  23.                             <?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'your-theme' ), get_trackback_url() ) ?>
  24.     <?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Only trackbacks open ?>
  25.                             <?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'your-theme' ), get_trackback_url() ) ?>
  26.     <?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Only comments open ?>
  27.                             <?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'your-theme' ) ?>
  28.     <?php elseif ( !('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Comments and trackbacks closed ?>
  29.                             <?php _e( 'Both comments and trackbacks are currently closed.', 'your-theme' ) ?>
  30.     <?php endif; ?>
  31.     <?php edit_post_link( __( 'Edit', 'your-theme' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
  32.                     </div><!-- .entry-utility -->
  33.                
  34.                     <div class="entry-content">
  35.                     <?php the_content(); ?>
  36.                     <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'your-theme' ) . '&after=</div>') ?>  
  37.                     </div><!-- .entry-content -->
  38.                 </div><!-- #post-<?php the_ID(); ?> -->          
  39.                
  40.              
  41.             </div><!-- #content -->
  42.         </div><!-- #container -->
  43.  
  44. <?php get_sidebar(); ?>
  45. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement