Advertisement
Guest User

panduzee

a guest
Apr 24th, 2012
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.48 KB | None | 0 0
  1. <?php if ( ! have_posts() ) : ?>
  2.     <div id="post-0" class="post error404 not-found">
  3.         <h1 class="entry-title"><?php _e( 'Not Found', 'imbalance2' ); ?></h1>
  4.         <div class="entry-content">
  5.             <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'imbalance2' ); ?></p>
  6.             <?php get_search_form(); ?>
  7.         </div><!-- .entry-content -->
  8.     </div><!-- #post-0 -->
  9. <?php endif; ?>
  10.  
  11. <?php $imbalance2_theme_options = get_option('imbalance2_theme_options') ?>
  12.  
  13. <div id="boxes">
  14.  
  15. <!--So lets set our category to only show fashion-->
  16. <?php query_posts($query_string . '&cat=8'); ?>
  17. <!--Start the loop-->
  18. <?php while ( have_posts() ) : the_post(); ?>
  19. <!--Inside the loop-->
  20. <div class="box">
  21.  
  22.     <!--The post title-->
  23.     <?php the_title(); ?>
  24.     <!--The post image-->
  25.     <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('homepage-thumb', array('alt' => '', 'title' => '')) ?></a>
  26.  
  27. </div> 
  28. <?php endwhile; ?>
  29.  
  30.  
  31. </div>
  32.  
  33. <?php rewind_posts(); ?>
  34.  
  35. <div id="boxes2">
  36. <!--So lets set our category to only show fashion-->
  37. <?php query_posts($query_string . '&cat=9'); ?>
  38. <!--Start the loop-->
  39. <?php while ( have_posts() ) : the_post(); ?>
  40. <!--Inside the loop-->
  41. <div class="box">
  42.  
  43.     <!--The post title-->
  44.     <?php the_title(); ?>
  45.     <!--The post image-->
  46.     <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('homepage-thumb', array('alt' => '', 'title' => '')) ?></a>
  47.  
  48. </div> 
  49. <?php endwhile; ?>
  50.  
  51. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement