query_posts() ordering
-
Hi
Im trying to use the
query_posts()
and send in an array of id:s. The problem is that I cant get out post in the same order I send them in, is that possible. There seem to bee no order option for this and the id:s seems to get some defaukt ordering?$args = array(
‘posts_per_page’ => 3,
‘post__in’ => array(1,32,2),
‘orderby’ => ‘none’
);query_posts($args);
I want my posts displayed in the sam order I send in the post_Id:s
regards // Johannes
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘query_posts() ordering’ is closed to new replies.