Stopping the default loop query from executing
-
Is there any way to prevent the default loop query from being executed before the template is loaded?
Modifying query_posts causes a whole new query to be run, which results in 2 queries per index page (or where ever its being done). Wouldn’t deferring the execution of the loop query until have_posts() be more logical?
The topic ‘Stopping the default loop query from executing’ is closed to new replies.