What I'm trying to achive, is to set 2 loops on one page. First one takes 11 latest posts and sort them in rand order. Second show the rest of posts ordered by date.
FIRST LOOP
$args = array('posts_per_page' => 11,'orderby' => 'rand' , 'order' => 'ASC');
$loop = new WP_Query($args);
$do_not_duplicate[] = $post->ID;
while ($loop-> have_posts()) : $loop->the_post();
$do_not_duplicate[] = $post->ID;
SECOND LOOP
$args2 = array('posts_per_page' => 22, 'paged' => $paged, 'post__not_in' => $do_not_duplicate, 'orderby' => 'date', 'order' => 'ASC', 'max_num_pages' => 5);
$loop2 = new WP_Query($args2);
while ($loop2-> have_posts()) : $loop2->the_post();
My problem is that the second loop should show the same posts in same order after every refresh, unfortunately it's not. Any advice?