[wp-hackers] $wp_query Disappears after AJAX

Vinicius Massuchetto viniciusandre at gmail.com
Thu Apr 1 22:43:44 UTC 2010


On Thu, Apr 1, 2010 at 7:03 PM, scribu <scribu at gmail.com> wrote:
> On Thu, Apr 1, 2010 at 10:08 PM, Spencer <spencer.gurnk at gmail.com> wrote:
>
>> Then is there a way I can covert my array of arguments to a query string to
>> match the other format?
>>
>
> WP_Query accepts an array of arguments as well, so you don't need to convert
> it back to a query string.

If you want to _reload_ something to update or anything, so this is
the thing to do. Else, I would prefer to store an already "loaded"
object in a $_SESSION variable, if it's not too big.

You're welcome.
--
Vinicius Massuchetto
http://vinicius.soylocoporti.org.br


More information about the wp-hackers mailing list