Guest User

asas

a guest
Aug 7th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. <?php if (have_posts()) : $count = 0; ?>
  2.  
  3.  
  4. <?php if(is_search()) {
  5. query_posts( $query_string . '&orderby=rand');
  6. } while (have_posts()) : the_post(); $count++; ?>
  7.  
  8. <!-- /.post -->
  9. <div class="post1">
  10.  
  11.  
  12. <div class="entry">
  13. <span ><?php _e('Wyszukiwanie', 'woothemes') ?>: <?php printf(the_search_query()); ?></span><br /><br />
  14. <?php the_content(); ?>
  15.  
  16. </div>
  17.  
  18.  
  19. </div>
  20. <?php endwhile; else: ?>
Advertisement
Add Comment
Please, Sign In to add comment