Title: Topic Tag: query_posts | WordPress.org

---

# Topic Tag: query_posts

1 [2](https://wordpress.org/support/topic-tag/query_posts/page/2/?output_format=md)
[3](https://wordpress.org/support/topic-tag/query_posts/page/3/?output_format=md)…
[33](https://wordpress.org/support/topic-tag/query_posts/page/33/?output_format=md)
[34](https://wordpress.org/support/topic-tag/query_posts/page/34/?output_format=md)
[35](https://wordpress.org/support/topic-tag/query_posts/page/35/?output_format=md)
[→](https://wordpress.org/support/topic-tag/query_posts/page/2/?output_format=md)

    - Topic
    - Participants
    - Replies
    - Last Post
 *  -  [[Relevanssi - A Better Search] Problem with search function and latest posts on homepage (query_posts?)](https://wordpress.org/support/topic/problem-with-search-function-and-latest-posts-on-homepage-query_posts/)
    -  Started by: [Geert Plovie](https://wordpress.org/support/users/icsolutions/)
    - 2
    - 2
    -  [1 year, 2 months ago](https://wordpress.org/support/topic/problem-with-search-function-and-latest-posts-on-homepage-query_posts/#post-18315501)
    -  [Geert Plovie](https://wordpress.org/support/users/icsolutions/)
 *  -  [[Relevanssi - A Better Search] post__in argument to get assigned post object](https://wordpress.org/support/topic/post__in-argument-to-get-assigned-post-object/)
    -  Started by: [zweisteindesign](https://wordpress.org/support/users/zweisteindesign/)
    - 2
    - 5
    -  [2 years, 5 months ago](https://wordpress.org/support/topic/post__in-argument-to-get-assigned-post-object/#post-17252751)
    -  [Mikko Saari](https://wordpress.org/support/users/msaari/)
 *  -  [Quering array of post types & pagination](https://wordpress.org/support/topic/quering-array-of-post-types-pagination/)
    -  Started by: [dozerua](https://wordpress.org/support/users/dozerua/)
    - 2
    - 10
    -  [3 years, 6 months ago](https://wordpress.org/support/topic/quering-array-of-post-types-pagination/#post-16165929)
    -  [bcworkz](https://wordpress.org/support/users/bcworkz/)
 *  -  [[WP Custom Fields Search] Query_posts or get_posts](https://wordpress.org/support/topic/query_posts-or-get_posts/)
    -  Started by: [MrNikolsh](https://wordpress.org/support/users/mrnikolsh/)
    - 2
    - 11
    -  [5 years, 8 months ago](https://wordpress.org/support/topic/query_posts-or-get_posts/#post-13362301)
    -  [don benjamin](https://wordpress.org/support/users/dondon-benjamincouk/)
 *  -  [Avoid showing same text in multiple loops](https://wordpress.org/support/topic/avoid-showing-same-text-in-multiple-loops/)
    -  Started by: [taghaboy](https://wordpress.org/support/users/taghaboy/)
    - 2
    - 5
    -  [6 years, 7 months ago](https://wordpress.org/support/topic/avoid-showing-same-text-in-multiple-loops/#post-12010800)
    -  [taghaboy](https://wordpress.org/support/users/taghaboy/)
 *  -  [[The Events Calendar] query_posts](https://wordpress.org/support/topic/query_posts-7/)
    -  Started by: [tonybbb](https://wordpress.org/support/users/tonybbb/)
    - 2
    - 2
    -  [7 years, 11 months ago](https://wordpress.org/support/topic/query_posts-7/#post-10391905)
    -  [Ed](https://wordpress.org/support/users/erishel/)
 *  -  [Combine tax_query and meta_query in query_posts()](https://wordpress.org/support/topic/combine-tax_query-and-meta_query-in-query_posts/)
    -  Started by: [roissya24](https://wordpress.org/support/users/roissya24/)
    - 3
    - 4
    -  [8 years, 8 months ago](https://wordpress.org/support/topic/combine-tax_query-and-meta_query-in-query_posts/#post-9441190)
    -  [Denis B](https://wordpress.org/support/users/fortisthemes/)
 *  -  [Should I replace query_posts on my index page?](https://wordpress.org/support/topic/should-i-replace-query_posts-on-my-index-page/)
    -  Started by: [Tanath Fedo](https://wordpress.org/support/users/tanath-fedo/)
    - 2
    - 4
    -  [9 years, 6 months ago](https://wordpress.org/support/topic/should-i-replace-query_posts-on-my-index-page/#post-8421639)
    -  [Tanath Fedo](https://wordpress.org/support/users/tanath-fedo/)
 *  -  [[Geo Mashup] Solution: use a WP_Query to get objects for contextual maps](https://wordpress.org/support/topic/solution-use-a-wp_query-to-get-objects-for-contextual-maps/)
    -  Started by: [jhotadhari](https://wordpress.org/support/users/jhotadhari/)
    - 1
    - 0
    -  [9 years, 7 months ago](https://wordpress.org/support/topic/solution-use-a-wp_query-to-get-objects-for-contextual-maps/)
    -  [jhotadhari](https://wordpress.org/support/users/jhotadhari/)
 *  -  [WordPress Posts Id from query_posts](https://wordpress.org/support/topic/wordpress-posts-id-from-query_posts/)
    -  Started by: [nosferas](https://wordpress.org/support/users/nosferas/)
    - 1
    - 0
    -  [9 years, 11 months ago](https://wordpress.org/support/topic/wordpress-posts-id-from-query_posts/)
    -  [nosferas](https://wordpress.org/support/users/nosferas/)
 *  -  [Get Post Thumbnails from X category to display in flexslider](https://wordpress.org/support/topic/get-post-thumbnails-from-x-category-to-display-in-flexslider/)
    -  Started by: [drigo20](https://wordpress.org/support/users/drigo20/)
    - 2
    - 1
    -  [9 years, 11 months ago](https://wordpress.org/support/topic/get-post-thumbnails-from-x-category-to-display-in-flexslider/#post-7412379)
    -  [Clarion Technologies](https://wordpress.org/support/users/clarionwpdeveloper/)
 *  -  [Multiple queries on one page ?](https://wordpress.org/support/topic/multiple-queries-on-one-page-3/)
    -  Started by: [saadii](https://wordpress.org/support/users/saadii/)
    - 2
    - 1
    -  [10 years ago](https://wordpress.org/support/topic/multiple-queries-on-one-page-3/#post-7286408)
    -  Anonymous User 14379775
 *  -  [query_posts not working with post name and category](https://wordpress.org/support/topic/query_posts-not-working-with-post_id-and-category/)
    -  Started by: [Capobis](https://wordpress.org/support/users/ioweuiraosjfosj/)
    - 1
    - 0
    -  [10 years, 1 month ago](https://wordpress.org/support/topic/query_posts-not-working-with-post_id-and-category/)
    -  [Capobis](https://wordpress.org/support/users/ioweuiraosjfosj/)
 *  -  [Need to display blog posts and custom post type using one loop](https://wordpress.org/support/topic/need-to-display-blog-posts-and-custom-post-type-using-one-loop/)
    -  Started by: [Niki](https://wordpress.org/support/users/nsebastino/)
    - 1
    - 1
    -  [10 years, 1 month ago](https://wordpress.org/support/topic/need-to-display-blog-posts-and-custom-post-type-using-one-loop/#post-7175305)
    -  [Niki](https://wordpress.org/support/users/nsebastino/)
 *  -  [Exclude excerpt from wp_query](https://wordpress.org/support/topic/exclude-excerpt-from-wp_query/)
    -  Started by: [sepika](https://wordpress.org/support/users/sepika/)
    - 2
    - 2
    -  [10 years, 2 months ago](https://wordpress.org/support/topic/exclude-excerpt-from-wp_query/#post-7128731)
    -  [sepika](https://wordpress.org/support/users/sepika/)
 *  -  [query_posts is preventing viewing page2](https://wordpress.org/support/topic/query_posts-is-preventing-viewing-page2/)
    -  Started by: [Pete](https://wordpress.org/support/users/perthmetro/)
    - 3
    - 6
    -  [10 years, 1 month ago](https://wordpress.org/support/topic/query_posts-is-preventing-viewing-page2/#post-6966321)
    -  [lxxiii](https://wordpress.org/support/users/lxxiii/)
 *  -  [Operation on all custom posts](https://wordpress.org/support/topic/operation-on-all-custom-posts/)
    -  Started by: [DimitrisL](https://wordpress.org/support/users/dimitrisl/)
    - 3
    - 3
    -  [10 years, 3 months ago](https://wordpress.org/support/topic/operation-on-all-custom-posts/#post-6953391)
    -  [swayam.tejwani](https://wordpress.org/support/users/swayamtejwani/)
 *  -  [Better way to do a custom loop?](https://wordpress.org/support/topic/better-way-to-do-a-custom-loop/)
    -  Started by: [onewayticket](https://wordpress.org/support/users/onewayticket/)
    - 2
    - 4
    -  [10 years, 4 months ago](https://wordpress.org/support/topic/better-way-to-do-a-custom-loop/#post-6935961)
    -  [onewayticket](https://wordpress.org/support/users/onewayticket/)
 *  -  [How to query specific bbPress topics](https://wordpress.org/support/topic/how-to-query-specific-bbpress-topics-and-show-them-as-a-loop/)
    -  Started by: anonymized-13749270
    - 2
    - 1
    -  [10 years, 4 months ago](https://wordpress.org/support/topic/how-to-query-specific-bbpress-topics-and-show-them-as-a-loop/#post-6912219)
    -  [James Huff](https://wordpress.org/support/users/macmanx/)
 *  -  [[Genesis Grid] query_posts in genesis_before_loop breaking column generation](https://wordpress.org/support/topic/query_posts-in-genesis_before_loop-breaking-column-generation/)
    -  Started by: [Chris Fritz](https://wordpress.org/support/users/chrisvfritz/)
    - 2
    - 2
    -  [10 years, 6 months ago](https://wordpress.org/support/topic/query_posts-in-genesis_before_loop-breaking-column-generation/#post-6736720)
    -  [Chris Fritz](https://wordpress.org/support/users/chrisvfritz/)
 *  -  [query_posts in theme file](https://wordpress.org/support/topic/query_posts-in-theme-file/)
    -  Started by: [zacorehawa](https://wordpress.org/support/users/zacorehawa/)
    - 2
    - 2
    -  [10 years, 7 months ago](https://wordpress.org/support/topic/query_posts-in-theme-file/#post-6636558)
    -  [zacorehawa](https://wordpress.org/support/users/zacorehawa/)
 *  -  [Injecting Custom Post Types within Category query](https://wordpress.org/support/topic/injecting-custom-post-types-within-category-query/)
    -  Started by: [qco](https://wordpress.org/support/users/qco/)
    - 1
    - 0
    -  [10 years, 8 months ago](https://wordpress.org/support/topic/injecting-custom-post-types-within-category-query/)
    -  [qco](https://wordpress.org/support/users/qco/)
 *  -  [Variable on query_posts isn't working](https://wordpress.org/support/topic/variable-on-query_posts-isnt-working/)
    -  Started by: [Famke__](https://wordpress.org/support/users/famke_/)
    - 2
    - 6
    -  [10 years, 8 months ago](https://wordpress.org/support/topic/variable-on-query_posts-isnt-working/#post-6496469)
    -  [Famke__](https://wordpress.org/support/users/famke_/)
 *  -  [how to use query_posts in theme loop with no wp_query present](https://wordpress.org/support/topic/how-to-use-query_posts-in-theme-loop-with-no-wp_query-present/)
    -  Started by: [kenbowen](https://wordpress.org/support/users/kenbowen/)
    - 1
    - 1
    -  [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-use-query_posts-in-theme-loop-with-no-wp_query-present/#post-6355671)
    -  [kenbowen](https://wordpress.org/support/users/kenbowen/)
 *  -  [Exclude Posts from "Recent Posts" Section](https://wordpress.org/support/topic/exclude-posts-from-recent-posts-section/)
    -  Started by: [cjv17](https://wordpress.org/support/users/cjv17/)
    - 3
    - 11
    -  [10 years, 9 months ago](https://wordpress.org/support/topic/exclude-posts-from-recent-posts-section/#post-6336817)
    -  [Craig Ralston](https://wordpress.org/support/users/craig-ralston/)
 *  -  [Return Post ID using query for meta_key and meta_value within an echo](https://wordpress.org/support/topic/return-post-id-using-query-for-meta_key-and-meta_value-within-an-echo/)
    -  Started by: [Ben Kaeding](https://wordpress.org/support/users/benkaeding/)
    - 3
    - 4
    -  [10 years, 11 months ago](https://wordpress.org/support/topic/return-post-id-using-query-for-meta_key-and-meta_value-within-an-echo/#post-6220175)
    -  [Ben Kaeding](https://wordpress.org/support/users/benkaeding/)
 *  -  [Archive Page 404 problem](https://wordpress.org/support/topic/archive-page-404-problem/)
    -  Started by: [GuerrillaCode](https://wordpress.org/support/users/guerrillacode/)
    - 1
    - 0
    -  [11 years ago](https://wordpress.org/support/topic/archive-page-404-problem/)
    -  [GuerrillaCode](https://wordpress.org/support/users/guerrillacode/)
 *  -  [Pagination: posts limited only on first page](https://wordpress.org/support/topic/pagination-posts-limited-only-on-first-page/)
    -  Started by: [odie2](https://wordpress.org/support/users/odie2/)
    - 2
    - 3
    -  [10 years, 9 months ago](https://wordpress.org/support/topic/pagination-posts-limited-only-on-first-page/#post-5988565)
    -  [odie2](https://wordpress.org/support/users/odie2/)
 *  -  [[Relevanssi - A Better Search] Not working with lovecraft theme](https://wordpress.org/support/topic/not-working-with-lovecraft-theme/)
    -  Started by: [sashzah](https://wordpress.org/support/users/sashzah/)
    - 2
    - 3
    -  [11 years, 1 month ago](https://wordpress.org/support/topic/not-working-with-lovecraft-theme/#post-5962581)
    -  [Mikko Saari](https://wordpress.org/support/users/msaari/)
 *  -  [front page query_posts limit posts only on first page](https://wordpress.org/support/topic/front-page-query_posts-limit-posts-only-on-first-page-1/)
    -  Started by: [odie2](https://wordpress.org/support/users/odie2/)
    - 2
    - 2
    -  [11 years, 1 month ago](https://wordpress.org/support/topic/front-page-query_posts-limit-posts-only-on-first-page-1/#post-5959698)
    -  [odie2](https://wordpress.org/support/users/odie2/)
 *   

1 [2](https://wordpress.org/support/topic-tag/query_posts/page/2/?output_format=md)
[3](https://wordpress.org/support/topic-tag/query_posts/page/3/?output_format=md)…
[33](https://wordpress.org/support/topic-tag/query_posts/page/33/?output_format=md)
[34](https://wordpress.org/support/topic-tag/query_posts/page/34/?output_format=md)
[35](https://wordpress.org/support/topic-tag/query_posts/page/35/?output_format=md)
[→](https://wordpress.org/support/topic-tag/query_posts/page/2/?output_format=md)

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics

## Feeds

 * [RSS Recent Posts](https://wordpress.org/support/forums/feed/)
 * [RSS Recent Topics](https://wordpress.org/support/topics/feed/)