Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (have_posts()) : $count = 0; ?>
- <?php if(is_search()) {
- query_posts( $query_string . '&orderby=rand');
- } while (have_posts()) : the_post(); $count++; ?>
- <!-- /.post -->
- <div class="post1">
- <div class="entry">
- <span ><?php _e('Wyszukiwanie', 'woothemes') ?>: <?php printf(the_search_query()); ?></span><br /><br />
- <?php the_content(); ?>
- </div>
- </div>
- <?php endwhile; else: ?>
Advertisement
Add Comment
Please, Sign In to add comment