Advertisement
chelseyr

Untitled

Jan 15th, 2012
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. <style type="text/css">
  2.  
  3. <!--
  4.  
  5. @import url("http://www.baronvaughn.com/wholenother/wp-content/themes/bad-mojo/deeps.css");
  6.  
  7. -->
  8.  
  9. </style>
  10.  
  11.  
  12. <div id = "nav"><div class = "nav_letters">HOME | BLOG | SCHEDULE | PICS | VIDEO | AUDIO | CONTACT </div></div>
  13.  
  14.  
  15. <div id = "header"><div class="featured-img"></div>
  16.  
  17. <?php /* end of FEATURED-IMG */ ?> </div> <?php /*end of HEADER div */ ?>
  18.  
  19. <div class = "content-posts">
  20.  
  21.  
  22. <?php
  23. $temp = $wp_query;
  24. $wp_query= null;
  25. $wp_query = new WP_Query();
  26. $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
  27. $wp_query->query("posts_per_page=2&cat=3&paged=$paged");
  28. while ($wp_query->have_posts()) : $wp_query->the_post();
  29. ?>
  30.  
  31.  
  32. <div class="post" id="post-<?php the_ID(); ?>">
  33.  
  34.  
  35. <div class="entry">
  36.  
  37.  
  38. <?php the_content('Read the rest of this entry &raquo;'); ?>
  39.  
  40. </div>
  41.  
  42.  
  43. <div class="date"><small><?php the_time('F jS, Y') ?> </small></div>
  44.  
  45. <div class="postmetadata">
  46.  
  47. <?php the_tags( '<p style="border-top:none;">Tags: ', ', ', '</p>'); ?>
  48.  
  49. </div>
  50.  
  51. </div>
  52.  
  53.  
  54. <?php endwhile; ?>
  55.  
  56.  
  57. <div class="alignleft"><?php next_posts_link('<span class="back"></span><span class="backnext">Older Entries</span>')?>
  58.  
  59. </div>
  60.  
  61.  
  62. <div class="alignright"><?php previous_posts_link('<span class="next"></span><span class="backnext">Newer Entries</span>')?> </div>
  63.  
  64. </div>
  65.  
  66.  
  67.  
  68. <?php $wp_query = null; $wp_query = $temp;?>
  69.  
  70.  
  71.  
  72. </div>
  73.  
  74.  
  75.  
  76. </div>
  77.  
  78.  
  79.  
  80. </div> <?php /* end CONTENT-POSTS div */ ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement