fyi in 3.1. RC4 Trunk this did not work anymore;
global $wp_query;
$wp_query->set('cat', '-14,-1172,-867');
$wp_query->set('posts_per_page', 12);
$posts = $wp_query->get_posts();fyi in 3.1. RC4 Trunk this did not work anymore;
global $wp_query;
$wp_query->set('cat', '-14,-1172,-867');
$wp_query->set('posts_per_page', 12);
$posts = $wp_query->get_posts();Confirmed. Investigating.
Even in 3.0, using this style is hit-or-miss. It completely circumvents parse_query().
for googlers: http://edward.de.leau.net/temporary-seeing-the-asides-20110212.html
closed
This topic has been closed to new replies.