Advertisement
Guest User

Untitled

a guest
Jan 10th, 2011
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.07 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3.     <div id="content">
  4.    
  5.                 <div id="nav-above" class="navigation">
  6.      <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&laquo;</span> %title' ) ?></div>
  7.      <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&raquo;</span>' ) ?></div>
  8.     </div><!– #nav-above –>
  9.    
  10.        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  11.                                         <h1 class="entry-title"><?php the_title(); ?></h1>
  12.                                        
  13.                                         <div class="entry-meta">
  14.                                                 <span class="meta-prep meta-prep-author"><?php _e('By ', 'your-theme'); ?></span>
  15.                                                 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_link( false, $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'your-theme' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
  16.                                                 <span class="meta-sep"> | </span>
  17.                                                 <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'your-theme'); ?></span>
  18.                                                 <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr></span>
  19.                                                 <?php edit_post_link( __( 'Edit', 'your-theme' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>                                              
  20.                                         </div><!-- .entry-meta -->
  21.                                        
  22.                                         <div class="entry-content">
  23. <?php the_content(); ?>
  24. <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'your-theme' ) . '&after=</div>') ?>
  25.                                         </div><!-- .entry-content -->
  26.                                        
  27.                                         <div class="entry-utility">
  28.                                         <?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' ),
  29.                                                 get_the_category_list(', '),
  30.                                                 get_the_tag_list( __( ' and tagged ', 'your-theme' ), ', ', '' ),
  31.                                                 get_permalink(),
  32.                                                 the_title_attribute('echo=0'),
  33.                                                 comments_rss() ) ?>
  34.  
  35. <?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Comments and trackbacks open ?>
  36.                                                 <?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() ) ?>
  37. <?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Only trackbacks open ?>
  38.                                                 <?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() ) ?>
  39. <?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Only comments open ?>
  40.                                                 <?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'your-theme' ) ?>
  41. <?php elseif ( !('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Comments and trackbacks closed ?>
  42.                                                 <?php _e( 'Both comments and trackbacks are currently closed.', 'your-theme' ) ?>
  43. <?php endif; ?>
  44. <?php edit_post_link( __( 'Edit', 'your-theme' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
  45.                                         </div><!-- .entry-utility -->                                                                                                  
  46.                                 </div><!-- #post-<?php the_ID(); ?> -->    
  47.  
  48.                <div id="nav-below" class="navigation">
  49.      <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&laquo;</span> %title' ) ?></div>
  50.      <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&raquo;</span>' ) ?></div>
  51.     </div><!– #nav-below –>
  52.         <?php comments_template('', true); ?>
  53.     </div>
  54.  
  55. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement