Title: Why using query_posts?
Last modified: August 20, 2016

---

# Why using query_posts?

 *  [Pablo Pacheco](https://wordpress.org/support/users/karzin/)
 * (@karzin)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/why-using-query_posts/)
 * I liked your plugin but why don´t you use WP_Query or even get_posts to create
   your queries?
 * I am noticing that query_posts method can be bad…
    [http://wordpress.stackexchange.com/questions/1753/when-should-you-use-wp-query-vs-query-posts-vs-get-posts](http://wordpress.stackexchange.com/questions/1753/when-should-you-use-wp-query-vs-query-posts-vs-get-posts)
 * [http://wordpress.org/extend/plugins/advanced-custom-sort/](http://wordpress.org/extend/plugins/advanced-custom-sort/)

Viewing 1 replies (of 1 total)

 *  [duncanjbrown](https://wordpress.org/support/users/duncanjbrown/)
 * (@duncanjbrown)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/why-using-query_posts/#post-3477795)
 * Hi. Good spot! However, it doesn’t actually use query_posts: that’s just the 
   name of a method in the Acs class which uses WP_Query to get the posts . See 
   acs.php line 247 (v.1.2.2) for more details.

Viewing 1 replies (of 1 total)

The topic ‘Why using query_posts?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-custom-sort.svg)
 * [Advanced Custom Sort](https://wordpress.org/plugins/advanced-custom-sort/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-sort/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-sort/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-sort/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-sort/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [duncanjbrown](https://wordpress.org/support/users/duncanjbrown/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/why-using-query_posts/#post-3477795)
 * Status: not resolved