WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Sort
Why using query_posts? (2 posts)

  1. Karzin
    Member
    Posted 1 year ago #

    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.org/extend/plugins/advanced-custom-sort/

  2. duncanjbrown
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic