WP 3.1 breaks posts order via category__not_in ?
-
After migration from WP3.0.6 to WP3.1.3 my posts order is no longer work as before. My code is very simple just a little custom query on index.php in my template folder.
<?php $args = array( 'orderby' => 'title', 'order' => 'ASC', 'category__not_in' => array ('7') ); $query = new WP_Query($args); if($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); the_title(); echo '<br>'; endwhile; endif; ?>
Please suggest. Thanks in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WP 3.1 breaks posts order via category__not_in ?’ is closed to new replies.