Guest User

Untitled

a guest
Mar 20th, 2013
244
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2. <div id="main-content">
  3.     <section id="primary">
  4. <!--    <h2 class="cat-title">Latest news</h2> -->
  5.         <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  6.        
  7.         <article class="post">
  8.             <img src="">
  9.             <h2 class="post-title"><?php the_title(); ?></h2>
  10.             <?php the_content('Read More...'); ?>
  11.             <div class="post-info">
  12.                 by <?php the_author(); ?>,
  13.                 at <?php the_time('l F d, Y'); ?></a>
  14.             </div>
  15.             <?php previous_post_link(); ?> / <?php next_post_link(); ?>
  16.             <ol class="commentlist">
  17.                 <?php wp_list_comments(); ?>
  18.             </ol>
  19.         </article>
  20.  
  21.         <?php endwhile; else: ?>
  22.             <p><?php _e('No posts were found. Sorry!', 'magaziner'); ?></p>
  23.         <?php endif; ?>
  24.        
  25.         <?php comment_form(); ?>
  26.     </section>
  27.    
  28.     <?php get_sidebar(); ?>
  29. </div>
  30. <?php get_footer(); ?>
RAW Paste Data