Query_post not working properly??
-
I would like to select posts which belong to cat-83 AND cat-44. This is working. However the posts are listed in ASC order (lowest post-ID first). It seems that order and orderby are not working correctly.
<?php query_posts(array(‘category__and’=>array(83,44),’showposts’=>-1,’order’=>DESC )); ?>
<?php while (have_posts()) : the_post();?>Who can help me?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Query_post not working properly??’ is closed to new replies.