Title: query_posts
Last modified: August 19, 2016

---

# query_posts

 *  Resolved [adz1809](https://wordpress.org/support/users/adz1809/)
 * (@adz1809)
 * [16 years ago](https://wordpress.org/support/topic/query_posts-2/)
 * Hi,
 * I have a review page on my site that displays all post with the tag ‘Review’,
   however is is only show 6 at anytime, which is the same as my settings for total
   number of posts per page. Is there a way of overriding this to show all posts.
 * Here is the page:
 * [Attack from planet B reviews](http://www.attackfromplanetb.com/?page_id=110)
 * Here is my code:
 *     ```
       <?php query_posts('&orderby=title&order=asc&tag=review');?>
   
       	<?php if (have_posts()) : ?>
   
       <ul id="review-list">
       <?php while (have_posts()) : the_post(); ?>
   
       			<li class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Read review for <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
   
       <?php endwhile; ?>
       </ul>
       ```
   
 * Thanks in advance

Viewing 1 replies (of 1 total)

 *  Thread Starter [adz1809](https://wordpress.org/support/users/adz1809/)
 * (@adz1809)
 * [16 years ago](https://wordpress.org/support/topic/query_posts-2/#post-1443655)
 * No worries everyone I’ve sorted it by adding the following to me query:
 * &posts_per_page=-1
 * Cheers anyway

Viewing 1 replies (of 1 total)

The topic ‘query_posts’ is closed to new replies.

## Tags

 * [query_posts](https://wordpress.org/support/topic-tag/query_posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [adz1809](https://wordpress.org/support/users/adz1809/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/query_posts-2/#post-1443655)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
