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 Jan 19th, 2013  |  syntax: None  |  size: 1.15 KB  |  views: 33  |  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 get_header(); query_posts( 'posts_per_page=-1&cat=' . $cat ) ?>
  2.  
  3. <!-- catgory.php -->
  4. <!-- Start of AdSense -->
  5.  
  6. <!-- end of AdSense -->
  7.  
  8. <div id="clear"></div>
  9.  
  10. <div class="postcontainer">
  11. <div id="shadow-container">
  12.         <div class="shadow1">  
  13.                 <div class="shadow2">  
  14.                         <div class="shadow3">  
  15.                                 <div class="shadow4">  
  16.                                         <div class="container">  
  17.                                                 <div class="post">
  18.  
  19. <h2><?php single_cat_title(); ?></h2>
  20. <p><?php echo category_description(); ?> </p>
  21. <ul>
  22.         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  23.                         <li class="gridlist"><a href="<?php the_permalink() ?>"><img src="<?php echo get_post_meta($post->ID, "thumbnailLocation", $single = true); ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>"></a></li>
  24.         <?php endwhile; else: ?>
  25.  
  26.         <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
  27.         <?php endif; ?>
  28. </ul>
  29. </div> <!-- end of post -->
  30.                                         </div>  
  31.                                 </div>  
  32.                         </div>  
  33.                 </div>  
  34.         </div>
  35. </div>
  36. <!-- <?php posts_nav_link(' &#8212; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?> -->
  37. </div>
  38. <?php get_sidebar(); ?>
  39. <?php get_footer(); ?>
  40. <!-- END CATEGORY.PHP -->
clone this paste RAW Paste Data