[theme-reviewers] Is query_posts strictly forbidden?

Chip Bennett chip at chipbennett.net
Tue Oct 29 16:11:51 UTC 2013


Yes, query_posts() is strictly forbidden. Use a proper WP_Query call for
secondary loops, or pre_get_posts to modify the main query.


On Tue, Oct 29, 2013 at 12:05 PM, Rohit Tripathi <rohitink at live.com> wrote:

> Is the function query_posts () strictly forbidden or they can be used, if
> used as standalone independant of any other loops?
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20131029/328c2216/attachment.html>


More information about the theme-reviewers mailing list