Alternative to query_posts for main loop? [duplicate]
This question already has answers here: Closed 9 years ago. Possible Duplicate: When to use WP_query(), query_posts() and pre_get_posts I just noticed today that the documentation for query_posts() mentions some “disadvantages” of using query_posts for altering the main Loop, notably: ’causes additional SQL queries’. This seems to imply that there’s another way / a better … Read more