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

Single Post

By: STATEDLIGHT on Jan 21st, 2013  |  syntax: None  |  size: 3.48 KB  |  views: 4  |  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. <div id="content">
  3.   <?php the_post(); ?>
  4.   <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  5.     <h1 class="entry-title">
  6.       <?php the_title(); ?>
  7.     </h1>
  8.     <div class="entry-meta"> <span class="meta-prep meta-prep-author">
  9.       <?php _e('By ', 'tiger'); ?>
  10.       </span> <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>" title="<?php printf( __( 'View all articles by %s', 'tiger' ), $authordata->display_name ); ?>">
  11.       <?php the_author(); ?>
  12.       </a></span> <span class="meta-sep"> | </span> <span class="meta-prep meta-prep-entry-date">
  13.       <?php _e('Published ', 'tiger'); ?>
  14.       </span> <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>">
  15.       <?php the_time( get_option( 'date_format' ) ); ?>
  16.       </abbr></span>
  17.       <?php edit_post_link( __( 'Edit', 'tiger' ), "<span class=\"meta-sep\"> | </span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>
  18.     </div>
  19.     <div class="entry-content">
  20.       <?php the_content(); ?>
  21.       <div class="clear-floats"></div>
  22.       <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'tiger' ) . '&after=</div>') ?>
  23.     </div>
  24.     <div class="entry-utility"> <?php printf( __( 'This article was posted in %1$s%2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow comments with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>. ', 'tiger' ),
  25. get_the_category_list(', '),
  26. get_the_tag_list( __( ' and tagged ', 'tiger' ), ', ', '' ),
  27. get_permalink(),
  28. the_title_attribute('echo=0'),
  29. get_post_comments_feed_link() ) ?>
  30.       <?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // ?>
  31.       <?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>.', 'tiger' ), get_trackback_url() ) ?>
  32.       <?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // ?>
  33.       <?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for post" rel="trackback">Trackback URL</a>.', 'tiger' ), get_trackback_url() ) ?>
  34.       <?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // ?>
  35.       <?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a Comment">Post a Comment</a>.', 'tiger' ) ?>
  36.       <?php elseif ( !('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // ?>
  37.       <?php _e( 'Both comments and trackbacks are closed.', 'tiger' ) ?>
  38.       <?php endif; ?>
  39.       <?php edit_post_link( __( 'Edit', 'tiger' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
  40.     </div>
  41.   </div>
  42.   <div id="nav-below" class="navigation">
  43.     <div class="nav-previous">
  44.       <?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ) ?>
  45.     </div>
  46.     <div class="nav-next">
  47.       <?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ) ?>
  48.     </div>
  49.   </div>
  50.   <div class="clear-floats"></div>
  51.   <?php comments_template('', true); ?>
  52. </div>
  53. <div id="sidebar">
  54.   <?php dynamic_sidebar('right'); ?>
  55. </div>
  56. <?php get_footer(); ?>