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

Untitled

By: a guest on Apr 18th, 2012  |  syntax: None  |  size: 0.96 KB  |  views: 70  |  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. <?php query_posts($query_string . '&cat=6'); ?>
  9. <div id="content">
  10.  
  11. <?php include ('sidebar2.php'); ?>
  12.  
  13.  
  14.         <?php if (have_posts()) : ?>
  15.  
  16.                 <?php while (have_posts()) : the_post(); ?>
  17.  
  18.                 <div class="entry-past">
  19.  
  20.                         <h2><?php the_title(); ?></h2>
  21.                                 <?php the_meta(); ?>
  22.                                 <div class="read-more"><a href="<?php the_permalink(); ?>">Les mer her!</a></div>
  23.                                 <div id="post-thumbnail">
  24.                                 <?php the_post_thumbnail( array (250,150) );?>
  25.                                 </div>
  26.                         </div>
  27.                                                        
  28.                
  29.  
  30.                 <?php endwhile; ?>
  31.  
  32.         <?php else : ?>
  33.  
  34.                 <h2>Not Found</h2>
  35.                 <p>Sorry, but you are looking for something that isn't here.</p>
  36.  
  37.         <?php endif; ?>
  38.  
  39. <div class="clear"></div>
  40.         </div>
  41.         <!--/content -->
  42.  
  43. <div class="credit">
  44. <p>Siden er designet og kodet av Heidi T. Skinningsrud og Helene V. Christensen. || <a href="http://www.wordpress.org"> Proudly powered by WordPress. </a></p>
  45. </div> 
  46.        
  47.  
  48. </div>