Exclude Category Returns Oldest Posts First??
-
When I exclude a category, the chronological order reverses, listing the oldest posts first.
get_posts('numberposts=-1&category=-57');
OR
$args('numberposts'=>-1, 'category'=>-57) get_posts(#args);
– query_posts returns the same result and I cannot use it on this page because I am also listing posts that include this category
– category__not_in returns the same result
– order and orderby args have no effectI’ve seen previous posts regarding this issue (http://wordpress.org/support/topic/exclude-category-from-loop-problems, http://wordpress.org/support/topic/query_posts-and-order-by-date) as far back as version 2.7.1 and while each instance presents a different solution, they have all identified it as a bug in WordPress.
Can anyone provide a fix or an alternative method to exclude categories? Using WordPress 3.1.2.
- The topic ‘Exclude Category Returns Oldest Posts First??’ is closed to new replies.