why does not my wp_query work?
There are several issues here, starting with the first part: <?php $postnumcat = new wp_query (array( ‘post_status’ => ‘publish’, ‘post_type’ => ‘post’, ‘cat’ => ‘-1’, ‘posts_per_page’ => ‘-1′, )); Firstly, wp_query is misspelt, it’s WP_Query Some general notes too: Setting posts_per_page to -1 is bad for performance. Even if you don’t expect there to be … Read more