[theme-reviewers] Is query_posts strictly forbidden?

Rohit Tripathi rohitink at live.com
Tue Oct 29 16:17:40 UTC 2013


Hi Chip,
Thanks for letting me know. I was reading your post here:
http://make.wordpress.org/themes/2012/12/14/query_posts/
If it is striclty forbidden, why wasn't it added to the Theme Check as required stopper?

Date: Tue, 29 Oct 2013 12:11:51 -0400
From: chip at chipbennett.net
To: theme-reviewers at lists.wordpress.org
Subject: Re: [theme-reviewers] Is query_posts strictly forbidden?

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





_______________________________________________
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/903d5d24/attachment.html>


More information about the theme-reviewers mailing list