difference between methods of query October 16, 2022 by Tarik Billa query_posts() is just a wrapper for WP_Query that sets the $wp_query global.