Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 17th, 2012  |  syntax: None  |  size: 0.61 KB  |  views: 41  |  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. Template Name: Arkiv
  4. */
  5. ?>
  6.  
  7. <?php get_header(); ?>
  8.  
  9. <div id="content">
  10.  
  11. <?php include ('sidebar2.php'); ?>
  12.  
  13. <div class="entry-single">
  14. <?php wp_reset_query(); ?>
  15. <?php query_posts('cat=6'); ?>
  16. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  17.  
  18. <div class="post-title">
  19. <h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
  20.  
  21. <span class="post-info"><p><?php the_time(' F j, Y'); ?><?php the_category(', ') ?></p></span>
  22.  
  23. </div>
  24.  
  25. <?php the_content(); ?>
  26. <?php endwhile; endif; ?>
  27. </div>
  28. <?php get_footer();?>
  29. </div>
clone this paste RAW Paste Data