Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.80 KB | None | 0 0
  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(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement