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 May 14th, 2012  |  syntax: None  |  size: 0.95 KB  |  views: 31  |  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: Filter */
  4.  
  5. get_header(); ?>
  6.  
  7. <div class="category_choice">
  8. <h2>Choose from the following templates.</h2>
  9. <div class="hspan"></div>
  10. <div class="sort">Sort:</div>
  11. <?php filters_generate(); ?></div>
  12.  
  13.    <div id="container">
  14.  
  15.        <div id="content" role="main">
  16.  
  17.            <?php get_template_part( 'loop', 'page' ); ?>
  18.  
  19.            <?php $temp_query = $wp_query; ?>
  20.            <?php query_posts('category_name=&showposts=400'); ?>  
  21.  
  22.            <?php while (have_posts()) : the_post(); ?>  
  23.  
  24.         <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>
  25.  
  26. <h2></h2>
  27. <div class="csc_post2">
  28. <div class="csc_post_title">
  29. <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><h2><?php the_title(); ?></h2></div>
  30.  
  31. <div class="entry-summary">
  32.  
  33. <?php the_excerpt(); ?>
  34. </div>
  35. </div>
  36. </div>
  37.  
  38. <?php endwhile; ?>  
  39.  
  40. </div><!-- #content -->
  41.                 </div><!-- #primary -->
  42.  
  43. <?php get_footer(); ?>