[theme-reviewers] Custom Queries

Edward Caissie edward.caissie at gmail.com
Thu Sep 2 16:11:40 UTC 2010

I wouldn't expect a 'query reset' to be needed if the author is continuing
with working from the $my_query variable. Although I would suggest a unique
prefix to better isolate the variable to the theme.


On Thu, Sep 2, 2010 at 12:04 PM, Chip Bennett <chip at chipbennett.net> wrote:

> If a Theme adds the following in, e.g., the sidebar, does a reset_query()
> need to be called?
> $my_query = new WP_Query
> Or is a reset not necessary, since the query is called via custom variable?
> Chip
> _______________________________________________
> 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/20100902/f55e7d15/attachment.htm>

More information about the theme-reviewers mailing list