Title: query_posts, Custom Fields, Custom Post Types
Last modified: August 20, 2016

---

# query_posts, Custom Fields, Custom Post Types

 *  [en3r0](https://wordpress.org/support/users/en3r0/)
 * (@en3r0)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/query_posts-custom-fields-custom-post-types/)
 * Trying to figure out why this query is only showing ~50 posts and wont show more.
   I have set the reading option to higher than 50 posts, as well as set options
   in the query to display unlimited posts on one page from all authors. Here is
   the code, any ideas?
 * [http://pastebin.com/FJyGkVeR](http://pastebin.com/FJyGkVeR)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Andrew Bartel](https://wordpress.org/support/users/andrew-bartel/)
 * (@andrew-bartel)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/query_posts-custom-fields-custom-post-types/#post-3169353)
 * Did you try using WP_Query()?
 *  Thread Starter [en3r0](https://wordpress.org/support/users/en3r0/)
 * (@en3r0)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/query_posts-custom-fields-custom-post-types/#post-3169377)
 * I just did, it did not seem to fix the issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘query_posts, Custom Fields, Custom Post Types’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [en3r0](https://wordpress.org/support/users/en3r0/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/query_posts-custom-fields-custom-post-types/#post-3169377)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
