This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 23rd, 2013  |  syntax: PHP  |  size: 1.80 KB  |  views: 18  |  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
  2. /**
  3.  * @package WordPress
  4.  * @subpackage Adventure_Journal
  5.  */
  6. get_header();
  7. ?>
  8.  
  9. <div class="content" <?php ctx_aj_getlayout(); ?>>
  10.     <div id="col-main">
  11.       <div id="main-content">
  12.       <!-- BEGIN Main Content-->
  13.                  <?php
  14.                 //Start the Loop
  15.                 if (have_posts()) : while (have_posts()) : the_post(); ?>
  16.  
  17.         <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  18.         <?php echo sprintf('<h1 class="storytitle">%s</h1>',get_the_title());?>
  19.             <?php if(has_post_thumbnail()) the_post_thumbnail(); ?>
  20.                 <div class="meta">Posted by <?php the_author_posts_link(); ?> on <?php the_date();?></div>
  21.  
  22.                         <?php edit_post_link(__('Edit')); ?>
  23.  
  24.             <div class="storycontent">
  25.                 <?php the_content(__('(more...)')); ?>
  26.                 <div class="clear"></div>
  27.             </div>
  28.  
  29.             <div class="feedback">
  30.                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'adventurejournal' ), 'after' => '</div>' ) ); ?>
  31.                  <?php _e('Posted under ','adventurejournal'); ?> <?php the_category(',') ?> <?php the_tags(__('and tagged with '), ', ', '  '); ?><br />
  32.                 <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
  33.             </div>
  34.  
  35.          </div>
  36.  
  37.  <?php comments_template(); // Get wp-comments.php template ?>
  38.  
  39.    
  40.         <?php endwhile; else: ?>
  41.         <p><?php _e('Sorry, no posts matched your criteria.','adventurejournal'); ?></p>
  42.         <?php endif; ?>
  43.  
  44.         <?php posts_nav_link(' &#8212; ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>
  45.       <!-- END Main Content-->
  46.  
  47.       </div>
  48.     </div>
  49.         <?php get_sidebar(); ?>
  50.      <div class="clear"></div>
  51. </div>
  52. <?php get_footer(); ?>
clone this paste RAW Paste Data